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



Hai, Could anybody please let me know, how to calculate the number of test cases required to test ..

Answer / 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

More Test Cases Interview Questions

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

8 Answers  


write test case for banking application

1 Answers   Zeal Encore,


Who will take care of test cases and test plan?

2 Answers  


Explain how to develop a test plan and a test case.

0 Answers  


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.

0 Answers  






write the test case flipart.com

2 Answers   Satyam,


Hai can anybody give me an idea about writing automated test cases in qtp using VB scprit.please respond as quicky as possible.

2 Answers  


what is black box system in software development in system analysis and design?

0 Answers  


how can write testcase for admin role? can u tel me detail

1 Answers  


How should the test cases be framed to validate the excel sheet?

3 Answers   Avaya,


What are the Test Cases for an email id for username and password?

2 Answers  


HI i'm Ramu new join as manual tester plz send me test cases for web application testing i need basic idea's

1 Answers  


Categories