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

How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen

662


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

1612


How to write the test cases for STP

2663


How to write test cases on laptop???

1598


There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.

2025






how to write a test cases for courier offices?

2267


In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output Input: 1. software Testing Output: 1.software testing

411


test cases for friend finder system using gps?

236


Pls tell me test cases for pepper grinder

1882


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

2252


Can some body help to write possible test cases for a credit card at POS (point of sale)

1384


How would you do " Keeping two folders in sync testing"

1049


Write Test cases for the below scenario? scenario 1: Replace the current CSS software with TML software. Scenario 2: Provide the same reports for business as currently provided by CSS software. Not: CSS and TML are customized software.

1457


How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profileĀ 

636


Some test case for mambo cms (only basically: graphic, function...) Thanks for answer.

717