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
how to write a test procedure & test log for login system
How should I maintain the test cases and Test Log for different versions/builds of the application.
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.
How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen
what is the test plan for ms-word
can one defect be mapped to more than one test script in manual testing
Explain the format of a requirement traceability
What is test environment? Elaborate with example.
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..
Some test case for mambo cms (only basically: graphic, function...) Thanks for answer.
Explain the concept of semi-random test cases?
What is gray box testing?
Hi Team, I have two scenarios ,only one step alone deference betweeen them and preconditions of Test scenarios are defferent . In the above sutuation , are we going divide test cases into two or can we club into them into a single. Regards seshu
Describe to me what you see as a process. Not a particular process, just the basics of having a process.
Write all test cases for Bus Pass Renewal