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 Posted / 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 View All Answers
I need GUI test case for home page?
Who will take care of test plan and test case?
Can any tell to create test data for SUM (calculation), Scenario is 0 to 9 digits are available as we see in the calculator, I want to certify that the sum of the two numbers are working fine by providing test data.
Can anybody help me out to write test cases for booking train ticket online???
Explain the load testing?
For how many days (or) weeks you will test a product or software?
What are the Test Cases Comes under Regression Suite?
How to write test case for android application,alarm clock,LCD display screen. And after seeting alarm mobile get switch off how to write test case..
What is the difference between test scenarios, test cases, and test script?
In any Hyderabd institute you can find these word commomly used by faculties ... Yes or no / Right or wrong so funny...
There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.
Explain the glass box testing?
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
test cases for bus transport (TNSTC)
Explain which test cases are written first black boxes or white boxes?