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

What is a test case?

7 Answers  


How to perform a stress test on an ATM machine? (Note ATM is a Bank ATM say Citibank, IICICI etc)

7 Answers  


How to write testcases for username creation?Given requirements are min 6characters,atleast one alphabet,alpha,alphanumric

2 Answers  


How does one write Test Cases?

7 Answers  


Explain the ramp testing?

1 Answers  


Test case for flight reservation system

1 Answers  


Write all Possible (+ve and -ve) Test Cases for a Date Object (DD/MM/YYYY) which is entered manually?

8 Answers  


Explain the load testing?

1 Answers  


Give me 10 test cases on library management system

8 Answers  


In general, how do you see automation fitting into the overall process of testing?

1 Answers   ABC,


write a test case for employee income caculation it is awindows aplication when window is opened all options should be disabled except empno when user enter 3 charcters empname,empdes,basic should be displayed but they should be inactive,HRA,DA are active enter these two gross is displayed,enter tax then net income is displayed.all inputs must be integers and min is 1 and max is 4 charcters for all text boxes.gross =basic+HRA+DA and netincome= gross- tax

1 Answers  


I need GUI test case for home page?

1 Answers   Wipro,


Categories