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

Answer Posted / toshimathur

B

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This was asked to me recently in Microsoft interview How would you do DOS copy command testing

2547


How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

1984


write the test cases for facility module

1731


Suppose a job should be executed for every two hours? Write test case for this?

1232


What is the domain testing?

1293


"search"test cases on Linkedin website and how will you write test cases on it?

6544


Explain the soak testing?

1233


can one defect be mapped to more than one test script in manual testing

2568


Explain the scalability testing?

1216


Test a file replication service that copies files from one net location to another

2600


how to test stand alone programs?

2739


Explain the format of a requirement traceability matrix. And how to include this rtm in the requirement document?

1306


what is the technology used in financial applications?

3571


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

6873


explain end to end scenario's for online Money transfer in Banking Domain?

2050