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 / 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 |
what do you mean by test case specification
write test cases for hospitality management system
What are the possible test cases for a palindrome.It must be starting with alphabet and its length is 100 .It should accept alphanumerics only.It should take only 100 numerics to the textbox
hi, please anyone write test case for "Print" screen
How to write test cases ?
Can any one please tell me what is the use of negative test cases when we are giving the invalid input in test data
test cases for black board test cases for pencil
How to write test cases on laptop???
0 Answers RAS Inforays Technologies,
This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4
What is the correct answer of basic types of test cases ?
What is the basis on which you can check a text box in a web page or application?
3 Answers HCL, IBM, R Systems,
is it necessary to write test cases in tabular form or will point wise will do.
3 Answers Google, Zycus Infotech,