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 / guest
Answer is a
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is the difference between a defect and a failure?
Write UI Test case, Integration Test case, Functional Test case & Performance Test case for the File Menu for MS-Word?
What do you do (with the project staff) when the schedule fails?
Difference between Re-testing and Regression testing?
What are the different servers and difference between them?
What is the difference between a bug, a defect and an error?
Which testing model is best as per your understanding, and why?
What is ofx testing?
can u merge 10GUI map files into a single GUI map file in winrunner?
Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position
What is Web testing & which action we take at the time of Web Testing?
What do you think the role of test-group manager should be? Relative to senior management?
What are all the scenario for 1.google analytics 2.api 3.paypal
What is the difference between IE, Opera & Mozilla Firefox in web Testing and which brower will think that is much better?