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
Post New Answer View All Answers
Do you write test plan and test case?
What are semi-random test cases?
Explain the integration testing?
write a test cases for WLAN
What is the difference between test scenarios, test cases, and test script?
write a test case flipkart login page
Explain the monkey testing?
Explain which test cases are written first black boxes or white boxes?
What is the state testing?
Explain the system testing?
I want 100 test scenario for gmail
Can any1 tell me how to do and Integration test design and test cases for Order Inventory system for use cases. ALso how is that going to differ from System Testing. The system is similar to amazon.com online ordering system and you can place order by calling customer call center.
write test case for pen cap if it is not present?
They were asking sily questions and definitions rather than practical experience related questions. More focused on Definitions.
how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?