Analyze the following highly simplified procedure:

Ask: "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"

ELSE

Say: "That will be £19:50"

ENDIF

ELSE

Say: "That will be £9:75"

ENDIF

Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given.

A. 3

B. 4

C. 5

D. 6






Answer / toshimathur

A

Is This Answer Correct ?    0 Yes 0 No

Post New Answer




More Test Cases Interview Questions

Apart from the normal functional test cases written, list out some out of the box test scenarios to test the 'Replace' dialog box in a Notepad

2 Answers  


how to prepare a test case for online restaurant table reservation system. plz give an answer ASAP, email at suja_rvndrn@yahoo.co.in

0 Answers  


If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


What is a test case?

7 Answers  


IN MY APPLICATION SOME WINDOW IS THERE IT CONSISTS OF SOME 25 LABLES IN THOSE FOR THE ALREADY SELECTED ONE IT WILL SHOW THE BACKGROUND COLOR IS YELLOW WHILE CHECKING IT SHOULD CHECK THE ALL LABLES WHICH ONE IS HAVING YELLOW COLOUR backcolor=SwfWindow("ALTAIR").SwfWindow("Load Wafer").SwfLabel(" ").GetROProperty("backcolor") SUPPOSE LIKE DS IT WILL BE THERE THEN FOR THAT SwfLabel(" ") inside this how to specify is my doubt because i have to check all the 25 labels plz explain it how to specify that

0 Answers   Accenture, HCL,


What are the processes / steps invovled in Defect Prevention meeting?

1 Answers  


An Excel sheet contains 2rows and 3 columns of data.I want to copy these data in to the another excell sheet. Write the possible positive and negative test cases?

0 Answers   IBM,


Who will take care of test cases and test plan?

2 Answers  


What are the properties of a good requirement?

4 Answers  


What is the smallest number of test cases required to Provide 100% branch coverage? If(x>y) x=x+1; else y=y+1; while(x>y) { y=x*y; x=x+1; } A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


testcases for waterbottle

4 Answers   L&T, Wipro,


i need Usability test case for home page?

4 Answers  




Categories