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

Can anyone tell me the test cases for Operating System.

1 Answers  


what will be testcases for job portal such as naukri.com , monster.com (as existing user)

2 Answers   Unilog,


can anybody tell me that how many days required to complete 1000 test cases.And what would be the avg testcase perday for a tester.

2 Answers  


Can test case contains more than 50 steps in single test case?

4 Answers  


How to write test case on paper and pen.

5 Answers   TenXLabs, Wipro,






If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


Let me knw the testcases for opening an account and for billing in shopping malls..?/?/?

3 Answers   Semantic Space,


i am preparing for interviews in real time job what test cases we have to prepare please explain with example?

0 Answers  


Do you write test plan and test case?

0 Answers   FF Solutions,


Please can any one tel how to write the test cases for these Requirements:- 1.The applications sends the periodic data 2.The applications sends the alarm data 3.The Application stores the Periodic data and alarm data if it is unable to send 4.the application having the configure through GPRS or SMS

0 Answers  


Write all test cases for any credit card.

13 Answers   SIT,


my namjad . firefox doesn't open yahoo page but other page open so what is reason I'm again install but is not working

3 Answers   Wipro,


Categories