Hi, Below is a question on white box testing. Kindly help
me in answering it. How many test cases are needed to
obtain 100% branch coverage. This question was asked in
ISTQB foudation level exam - Dec21 2008.
Read(A,C)
If(A<10) then Print A;
Endif
If(C>100) then Print C is greater then A
else if(C<100) then print only C
Endif else
Options -
a. 4
b. 3
c. 2
d. 1
Kindly answer with explanation so that it would be easy to
understand
Answer Posted / ravo
two tests are required
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Define what is a critical bug.
What is test driver and test stub?
What type of questions will be asking for 2 years experience candidate in manual testing?
what is test scenario and test condition?
What is Dynamic Binding and Dynamic Loss?
whar are the contents in db testing test case template
Explain the difference between alpha testing and beta testing.
A form has four mandatory fields to be entered before you submit. How many numbers of test cases are required to verify this? And what are they?
What is Test Design ?( Urgent) and Test Design for Printer?
What are the interview question on insurance domain in manual testing
send the senario template
What is smoke testing and user interface testing ?
How quickly we need to fix the bug? Or how soon the bug should get fixed?
What is six sigma?
What is bug priority?