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




Answer Posted / toshimathur

B

Is This Answer Correct ?    0 Yes 0 No




Post New Answer   View All Answers


Please Help Members By Posting Answers For Below Questions

What is Initial Configuration?

996


test cases for friend finder system using gps?

178


pls i want test cases for oss? whts the process of oss testing

939


how to write a test cases for Quick links like Feedback/Suggestions Advertise with us Contribute Invite a Friend FAQs Make HomePage RSS Feed Buzz Words Email Privacy Statement Terms & Conditions Copyright Disclaimer Download Forgot Password

1550


How to test Webservices and how can we write test cases for that

1871


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

1267


How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?

996


how to test stand alone programs?

1131


how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

876


hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ

856


Describe to me what you see as a process. Not a particular process, just the basics of having a process.

4379


Positive and Negative test cases for the speedometer?(minimum 5 each)

528


hai im finished software testing course im technicaly strong but yet now no opportunities come to me.if any opportunities please send to my mail id my mail di is sumathi11685@gmail.com

840


Can any one tell me how to write test data. i mean, to test each input, 2 test input(1 for +ve, & other for -ve) are given. so , for example, if i want to write test data for login form, how many test data should i write in test case?

798


I want 100 test scenario for gmail

1531