Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can u any 1 please explain the below question and answer?
Given the following code, which statement is true about the
minimum number of test cases required for full statement and
branch coverage?

Read p
Read q
IF p q > 100 THEN
Print "Large"
ENDIF
IF p > 50 THEN
Print "p Large"
ENDIF

a) 1 test for statement coverage, 3 for branch coverage
b) 1 test for statement coverage, 2 for branch coverage
c) 1 test for statement coverage, 1 for branch coverage
d) 2 tests for statement coverage, 2 for branch coverage

Answer Posted / jyoti

Yeah , answer in D , since two question have been asked ,
and 2 branches we are covering , since statement coverage is
class, and Branch coverage that we are covering all if
statement and there are two if's

Please let me know if anybody finds this is wrong

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.

2128


Tell me some Adhoc testing scenarios of ebay (online auction product)?

3832


How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl

2475


I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?

2904


What are the uses of test plans? What is the need of test plans and explain their significance

1881


what are the testing appraoch that you have tested for Bread toaster

2348


For any web application, what are the possible login features that should be tested?

1322


Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu

1594


Actually by using severity you should know which one you need to solve so what is the need of priority?

1202


What is a defect age?

1085


Why testers wil prepare useracceptance testcases,system testcases and integration testcases,What is the differenece between all this test cases

2071


Which test cases are written first: white boxes or black boxes?

1278


What do you understand by usability testing?

1071


What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?

2381


Is an "A fast database retrieval rate" a testable requirement?

2079