Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

WE WANT HEALTHINSURENE PROJECT FUNCTIONAL TEST CASES

0 Answers   Accenture,


what is not present in the test case? 1>requirment ID 2>test case ID 3>bug ID 4>objective

30 Answers   TCS,


IF A > B THEN C = A – B ELSE C = A + B ENDIF Read D IF C = D Then Print "Error" ENDIF A. 1 test for statement coverage, 3 for branch coverage B. 2 tests for statement coverage, 2 for branch coverage C. 2 tests for statement coverage. 3 for branch coverage D. 3 tests for statement coverage, 3 for branch coverage E. 3 tests for statement coverage, 2 for branch coverage

1 Answers   ISTQB,


can anyone please send me the sample testcases on how to write it into the testtemplates

3 Answers  


Please give me a test case scenario for search engine covering all the fuctionalities

2 Answers  


write a test case for student admission form

2 Answers  


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?

0 Answers  


Elaborate test plan and content availability in test plan.

0 Answers  


What is mean by Equal Partitioning

4 Answers   Infosys,


how can we write test cases with help of functional spec? is it not appropriate to write by using the application?

3 Answers  


What are semi-random test cases?

0 Answers  


how to search a Unix file system in Google search engine??? write the test cases foe that one???what will be the step

0 Answers  


Categories