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?
Answer Posted / suchita mulkalwar
2 test cases are required. for this
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write test case for pen cap if it is not present?
can anyone please help me in writing Test cases for HRMS,ERP and for CRM Apllications...I am joined as a trainee.so i have to write test cases for these applications..Soo can anyone pls help me....mail id: bapuji.karyampudi@gmail.com....Please reply me guys.
Which of the following defines the expected results of a test? Test case specification or test design specification.
How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database
How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen
Can any one tell me how to write test data. i mean, to test each input, 2 test input(1 for +ve, & other for -ve) are given. so , for example, if i want to write test data for login form, how many test data should i write in test case?
Can any tell to create test data for SUM (calculation), Scenario is 0 to 9 digits are available as we see in the calculator, I want to certify that the sum of the two numbers are working fine by providing test data.
If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one
how to write test cases for online restaurant table booking system?
please give me different test scenario for uploading whatsapp status from gallery and camera
test cases for friend finder system using gps?
Can anybody help me out to write test cases for booking train ticket online???
what is black box system in software development in system analysis and design?
explain end to end scenario's for online Money transfer in Banking Domain?
Pls tell me test cases for pepper grinder