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
pls i want test cases for oss? whts the process of oss testing
How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent
Suppose a job should be executed for every two hours? Write test case for this?
Can you list down a few characteristics of a test case?
Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com
how to write a test cases for Quick links like Feedback/Suggestions Advertise with us Contribute Invite a Friend FAQs Make HomePage RSS Feed Buzz Words Email Privacy Statement Terms & Conditions Copyright Disclaimer Download Forgot Password
i am preparing for interviews in real time job what test cases we have to prepare please explain with example?
Explain the acceptance testing?
"search"test cases on Linkedin website and how will you write test cases on it?
How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?
What is the state testing?
Explain the component testing?
plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...
What is the syntax testing?
Explain the system testing?