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
what are the risks and contingencies u had in ur project?
What's the relationship between environment reality and test phases?
How do u prepare test environment for ur application?
There are some features to improve the performance of a Product. What are those factors?
How to do integration testing on duster......
what is the technical challange you faced in your module.please ans me the question i just want example can me any example please very important
what type of quetion may be asked for experienced person in manual tester of 1 year?
Can anyone tell me, What is wound fixing?
Iam new to testing field and i put lot of experiences so i want to get prepared for the interview in all the ways both in manual and Automation can any one help me how to answer there questions in real time. also can anyone send the top questions and answers to me plz its urget u can mail me at vaisu72@yahoo.com
You want a automation tool to be used for your project. How will you convince the client for the same. Please give me specific answer.
What are drawbacks in system development life cycle
what is the function generator?
write testcases for open dialogbox
what is fusion testing and impact analysis???
What makes a good software qa engineer?