14. How many test cases are necessary to cover all the possible sequences of
statements (paths) for the following program fragment? Assume that the two
conditions are independent of each other : -
…………
if (Condition 1)
then statement 1
else statement 2
fi
if (Condition 2)
www.istqb.guru
then statement 3

a. 2 Test Cases
b. 3 Test Cases
c. 4 Test Cases
d. Not achievable

Please explain this how to solve?



14. How many test cases are necessary to cover all the possible sequences of statements (paths) for..

Answer / suchita mulkalwar

2 test cases are required. for this

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Test Cases Interview Questions

Can you list down a few characteristics of a test case?

0 Answers  


wirte the test cases for triangle by using testing techniques

8 Answers   Blue Star, George Mason, HP,


what are the different Test case Formats posted by aperson the answer is IEEE or IEE_894 wht is this actuly

4 Answers  


What is the difference between test scenarios, test cases, and test script?

0 Answers  


how to test a UI and aslo we need to check a log data fil which gets populated in the db.for this two scenarios give me test cases

0 Answers   IBM,






Can any one please tell me what is the use of negative test cases when we are giving the invalid input in test data

3 Answers  


Please guide me for Add new user test cases

0 Answers  


what is difference between GUI Map and GUI Map file

5 Answers   Incotec,


what are the testcases for square

4 Answers  


write the testcases for migrating data from one database to another database?

0 Answers   Wipro,


What is BRANCH COVERAGE Testing

1 Answers  


Explain the syntax testing?

0 Answers  


Categories