Hai, Could anybody please let me know, how to calculate the
number of test cases required to test a program. Please
provide me the answer for the following question:

“What type of ticket do you require, single or return?”IF
the customer wants ‘return’Ask: “What rate, Standard or
Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That
will be $11:20”ELSESay: “That will be $19:50”ENDIFELSESay:
“That will be $9:75”ENDIFNow decide the minimum number of
tests that are needed to ensure that allthe questions have
been asked, all combinations have occurred and allreplies given.
a) 3
b) 4
c) 5
d) 6

Answer Posted / kannan r

The answer is 3

need to check like,

If == Return
{
If == Cheap-day
{
That will be &11
}
Else (means Return-Standard)
{
That will be $19
}
End If
Else (means Single)
{
That will be $ 9
}

1.One for Single (Single always come without Chead-day and
Standard)
2.One for Return with Cheap-day
3.One for Return with Standard

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database

1528


write a test case for telephone billing ?

3905


Explain the domain testing?

674


In a log in page what will be test procedure, test scenario, test description & test steps?

685


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.

2979






Explain the monkey testing?

676


Pls tell me test cases for pepper grinder

2915


How to write email id in world wide web

1439


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

1679


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

2204


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

1854


What is business validation test case?

697


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.

2053


WE WANT HEALTHINSURENE PROJECT FUNCTIONAL TEST CASES

2365


How to write the test cases for STP

5115