Can u any 1 please explain the below question and answer?
Given the following code, which statement 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, 2 for branch coverage
Answer Posted / jyoti
Yeah , answer in D , since two question have been asked ,
and 2 branches we are covering , since statement coverage is
class, and Branch coverage that we are covering all if
statement and there are two if's
Please let me know if anybody finds this is wrong
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.
Tell me some Adhoc testing scenarios of ebay (online auction product)?
How would you do the ollowing Security Testing for web application? 1) Authentication. 2) Authorization. 3) cookies. 4) penetration testing. 5) session testing. 6) encryption and decryption testing pls give examples give example i can't understand so pl
I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?
What are the uses of test plans? What is the need of test plans and explain their significance
what are the testing appraoch that you have tested for Bread toaster
For any web application, what are the possible login features that should be tested?
Hello can anybody list out supported and unsupported browsers for Window OS,Android OS,MAC OS Ubuntu
Actually by using severity you should know which one you need to solve so what is the need of priority?
What is a defect age?
Why testers wil prepare useracceptance testcases,system testcases and integration testcases,What is the differenece between all this test cases
Which test cases are written first: white boxes or black boxes?
What do you understand by usability testing?
What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?
Is an "A fast database retrieval rate" a testable requirement?