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

Please tell m all posiible tst cass for this--> A password of password field will expire in 45 days.It should send 1st reminder message to user whn 10 days are left and 2nd reminder message when 5 days are left and 3rd reminder mssage when 2 days are left.write all positive and negativ test cass for this.

3 Answers  


While doing export to Quality Center it always shows Excel file does not respond???? Please suggest as why it is happening??

1 Answers   TCS,


write the system testcase and functional testcase for the below scenario scenario: view the balance in online account

0 Answers  


(questions asked in interview)hi every one can any one please answer to this questions.these questions were asked in an interview.i have another interview next week . 1.when the time schedule is tight how will you approch the testing,and the relese is nearing and we need to finish testing how can we follow in that case.do we need to exicute all the test cases or can priortise and leave some to next relase. 2. when a new feature is added to the existing application we need to add new test cases but after that do we need to change all the existing test cases and while running do we need to exicute entire application test cases or only the new feature test cases and related new feature test cases. 3.do you have any situation where you have to write and exicute the test cases same time, how will you follow.does it happens in real time. 4.example of bug which is not reproducible.like tester say that there is bug and developer say no can some example of such bugs. 5.during regression testing some times do we need to add new some additional test cases to test that bug.

3 Answers  


ATM application ( scenarios ): Analysis and testcases

1 Answers   TCS,






Do you know mutation testing?

0 Answers  


testcases for waterbottle

4 Answers   L&T, Wipro,


If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date

0 Answers  


What is test environment? Elaborate with example.

0 Answers  


How does one write Test Cases?

7 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  


write down test cases for "x>=1"

6 Answers   Quexst,


Categories