Tell me 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
Answer Posted / santosh kumar singh
take p=70
and q=40
with this the full statement coverage
for the else part for branching
2 test cases for branches coverage.
take p=40
and q is same as above
with this the else part of both the block will be covered.
Santosh kumar Singh.
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.
Explain the scalability testing?
Explain the exactly meaning of test case?
How to write test cases for the following scenario: The system shall limit the search result display to 200 records. Do we need to write test data for it. How do we create a test data for it.
Write the test case for a login page?
write a test case for yahoo compose page?
Can you list down a few characteristics of a test case?
How to test Webservices and how can we write test cases for that
Which of the following defines the expected results of a test? Test case specification or test design specification.
plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...
What is the state testing?
Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.
Please guide me for Add new user test cases
Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?
Explain the syntax testing?