Can u any 1 please explain the below question and answer?
Given the following code, which statement is true about the
minimum number of test cases required for full statement and
branch coverage?
Read p
Read q
IF p q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF
a) 1 test for statement coverage, 3 for branch coverage
b) 1 test for statement coverage, 2 for branch coverage
c) 1 test for statement coverage, 1 for branch coverage
d) 2 tests for statement coverage, 2 for branch coverage
Answer Posted / chakkaravarthi
answer is B
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
what are the templates for daily,weekly and monthly reports? plz reply ASAP.
Does anyone have any good examples of some acceptance criteria for non-functional requirements?
through which phases a software ttester need to pass like as a junnior test engineer,team lead,project lead,etc.? which is the final stage of your promotion and how will u achieve?
Can list out some disadvantages of manual testing?
What is early testing?
HI, This question is Investment Banking domain related Question. I was asked in an Interview to tell the 5 test cases for Equity,Bond,Futures and options. Please help.. Pragya
Artifacts in design phase of SDLC ?
What is the main use of preparing a traceability matrix?
What is fuzz testing?
Do write a separate test case for regression testing? If it is yes, explain how to write the test case?
If date field is a text field write test cases to validate it?
How to write test cases for nevigating menus? Ex. Course -Topics -Subtopics
Do you use any automation tool for smoke testing?
can anyone tell me the scenarios for online banking transaction ?
How to do security implementation for any URL??