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 / dhruv
if p=55 and q=40 then?
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
What is showstopper defect?
where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME
how we write test cases to brs,srs,hlds,llds
If automating - what is your process for determining what to automate and in what order
How can software qa processes be implemented without stifling productivity?
what exactly is heuristic checklist approach for unit testing?
What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?
Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position
wat is meant by frontend and backend testing
How do you know the code has met specifications?
What and why is api testing?
what is sanity test (or) build test?
What is back to back testing?
hai friends i need a general test cases for check box,drop down button and radio butoon can anybody reply me plz..........thanks in advance
About Testing