adspace
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 / madhu
3 cases would be required
as we need to exercise both positive and negative scenarios
of the 2 branches
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the main use of preparing a traceability matrix?
could u pls anyone tel me .."which is the best instute that provides eficient practical knowledge and also real-time oriented knowldge to do a project in manual and automation testing..in hyd" pls send me to dis mail-id if u find any..? sinducute17@gmail.com
tell me 3 defects in FRS document, while doing FRS review which u have found in the last 3 years ? could u plz answer brahma412@yahoo.co.in
Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu
What is the difference between three tier and two tier application?
Hi Friends, I've to submit a presentation in my office about "Different bug tracking tools" ? Where can i find (or any site) the templates for the bug tracking tools.
You may undergone many projects. Do all the projects match up with customer’s expectations?
Hi Dear this urgent for me i have need of ROLTA India Ltd Mumbai Paper pattern for Testing Person , PLease Help me , if any body have any idea about it
iam having 2+yr sof exp in manual testing, at present working in chennai,want to relocte to hyd .if any openings let me know.my id : vaniramymail.com
1.what kind of testing have you done ?
What kind of testing to be done in client server application and web application? Explain
Did you ever worked with B.A's and when?
how to connect your project in database?
What is the big deal about ‘requirements’?
Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.