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
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
Explain about PET Model?
What is bidirectional traceability ??? and how it is implemented
What are the main key components in Web applications and Client Server applications? and their differences?
What are the modules of quality center?
how to test ecg machine?
If client give you a project then which testing you will perform first
Write all combinations of test cases for calculater on + symbel
What is the difference between static testing and dynamic testing?
What is the difference between a defect and a failure?
What is the difference between code walkthrough and code review? What is the difference between walkthrough and inspection?
To specify the test artifacts involved in testing.
what is test case management?explain in brief.
1. what exactly is heuristic checklist approach for unit testing ?
What is unit level testing?