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 / kajal
answer is a.4
1 test case to check if system can read a and c
2 to check if a<10
3 to check if c is > 100 and < 100
to check if a and c are printed
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Explain Single View Testing ?
What knowledge I must have as a 3 yrs. manual tester??
Describe Testing Decomposition?
How will you do beta testing?
How to write test cases for nevigating menus? Ex. Course -Topics -Subtopics
If anyone have attended interview with deloitte for the post of senior manual test engineer. Please share the interview process and the questions asked. How to prepare for the interview. Thanks in advance
Is Anyone attended the manual testing interview with capgemini in recent past. please let me know the type of questions they can ask. Thanks
Hi to all, im vaibhav i joined a MNC as a tester and i got a banking (HSBC) project can any one tell me as a fresher what kind of strategy i sholud use to perform better. thanx
What is deferred status in defect life cycle?
what is difference between win 98 and win 2000 poertating system?which is better one?
what is sanity test (or) build test?
how mapp the defect id in quality center?
You may undergone many projects. Do all the projects match up with customer’s expectations?
hi can anyone tell me about vision plus testing? and what about its future
What is an audit report? Whom is it done by?