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
how to find statement and branch coverage? Explain in brief?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Test Cases Interview Questions

Write all test cases for any credit card.

13 Answers   SIT,


What we do when the Requirements are continuously changed?

2 Answers   Infosys,


Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu

0 Answers   Wipro,


write the system testcase and functional testcase for the below scenario scenario: view the balance in online account

0 Answers  


is it necessary to write test cases in tabular form or will point wise will do.

3 Answers   Google, Zycus Infotech,






Explain the unit testing?

0 Answers  


Suppose an Application has been maintain from 4 years, we have written 5000 test cases for that. Now the functional flow has been changed for a Page. If I want to write test cases for that newly built page. How can I find what was there in that page 4 years back? How can we traced out? What is the best way to find test cases other than tracability?

4 Answers   GE, Genpact,


please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )

0 Answers   IBM,


Write a test case scenario for Web-based address book?

0 Answers  


how many test cases u write in day while testing yr application.and wat z ur role after u finished testing application plz do reply

9 Answers  


build 1 bug is raised and it was closed by developer and build 2 is released in build 2 also same bug raised what is the satus of that bug. 1>reopen 2>open 3>new 4>defered

14 Answers   Accenture,


How would you test a cup and or pencil?

2 Answers  


Categories