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...


Given the following code, which 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, 3 for branch coverage

E. 2 tests for statement coverage, 2 for branch coverage



Given the following code, which is true about the minimum number of test cases required for full sta..

Answer / toshimathur

B

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Test Cases Interview Questions

are the test cases stored in database nowadays? pls tell me... then give clear details about test case preparation and test case execution

1 Answers   ME,


tell testcase where it is taken and tell the title of the testcase? pls any answer the question?

1 Answers   IBM,


What are the Test Cases for an email id for username and password?

2 Answers  


Please can anybody tell me some good ideas to write test case for fan and test case for chair?

6 Answers   TCS,


Elaborate test plan and content availability in test plan.

0 Answers  


Anyone can please inform me about how to write test cases for any mathematical calculations. Say for example, we have a formula in a given scenario for calculating the interest. The given formula for interest is: (principle * 5)/(12 * 100) In this case, the principle amount may vary. Would like to know how many test cases can be written for this scenario and how can we decide over this. I will be very thankful for the answer....

3 Answers  


What are the processes / steps invovled in Defect Prevention meeting?

1 Answers  


A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using boundary value analysis?

0 Answers  


wirte the test cases for triangle by using testing techniques

8 Answers   Blue Star, George Mason, HP,


What are all the companies are doing manual testing till now ?

0 Answers  


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?

0 Answers   Nike,


Tell me about your Roll and your Team Lead's Role

4 Answers  


Categories