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 will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?
Define performance and stress testing?
Give me sample test cases for smoke testing
need answer interviewer will ask me about all project which i mention in resume or presently i'm working??please reply tomorrow is my interview
what does 80hz refresh rate indicates?
what will be verification and validation test cases for yahoo login page (only functional test cases)? Please explain in details.
. Is any graph is used for code coverage analysis?
whta is compile module?
do we require any scripting languae to write test cases in test director? what for it is used?it is like back end?only database we can there?
What r the documents required for performance testing
What is CVS and why it is used?
What will be your approach if a particular script in Load Test fails?
Can you explain usability testing?
Can anyone please tell in detail about the Rally tool and how a tester is going to use it.
what is base time , how can we base time your doc"s ?