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

what are the possible test cases of an VOIP phone

2 Answers   Adobe,


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


what is the process of testing

2 Answers   TCS,


While creating test data for testing an application, where exactly test data should be crated as in excel file or can we crate test data in database ?

2 Answers   Satyam,


If there are 10 steps for a test case. and for this test case there are 6 expected results. should I write 6 exp. results in the Expected Result column for a single tes case

4 Answers  






What is ramp testing?

0 Answers  


What is the role of a tester in the test plan preparation? What elements tester physically develops in the test plan document.& what exactly this document contains?

4 Answers   Blue Star,


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

1 Answers   ISTQB,


what is the technology used in financial applications?

0 Answers   ADP,


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

0 Answers   TCS,


Write a test case for telephone?

0 Answers  


write a test case for student admission form

2 Answers  


Categories