What is the smallest number of test cases required to Provide 100% branch coverage?

If(x>y) x=x+1;

else y=y+1;

while(x>y)

{

y=x*y; x=x+1;

}

A. 1

B. 2

C. 3

D. 4



What is the smallest number of test cases required to Provide 100% branch coverage? If(x>y) x=..

Answer / toshimathur

B

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More Test Cases Interview Questions

Where can i find example or samples of testcases to improve my testcases documentation?

2 Answers  


can any one send sample test case documents in informatica with examples plz send documents to "mrlsurya@gmail.com"

2 Answers   IBM, TCS,


Can test case contains more than 50 steps in single test case?

4 Answers  


Can anybody post the format of a Requirement Traceability Matrix. And how to include this RTM in the reqirement document.?

1 Answers  


please give me different test scenario for uploading whatsapp status from gallery and camera

0 Answers   Next Step,






Explain the ramp testing?

0 Answers  


Write few functional & non-functional test cases for a payment gateway system

3 Answers  


How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

0 Answers  


What is the toughest moment you faced in your testing carrier in which everyone praised you?

0 Answers  


Can any body explain How to Install the QC9.0 on XP OS

0 Answers  


Write a test case of login window?

0 Answers  


If there are two document files, from one doc. file we want some text copy & peste into next doc. file. So which are the negative test cases for such scinario.

1 Answers   ABC,


Categories