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 1else statement 2fiif (Condition 2)then statement 3fi…………
Software Testing Exam from International Software Testing Qualifications Board (ISTQB)
(Continued from previous question...)
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 1else statement 2fiif (Condition 2)then statement 3fi…………
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 1else statement 2fiif (Condition 2)then statement 3fi…………
a. 2 Test Cases
b. 3 Test Cases
c. 4 Test Cases
d. Not achievable
Answer:
(Continued on next question...)
Other Interview Questions
