I'm taking the ISTQB Foundation Level Certification Exam this Friday and while going over the sample exam on the ASTQB website I stumbled upon this question:
"You have been given the following conditions and results from those condition combinations. You can only have one form of payment. A PIN is only needed for a debit card. Given this information, using the decision table technique, what is the minimum number of test cases you would need to test these conditions?"
Conditions:
Valid cash
Valid credit card
Valid debit card
Valid PIN
Bank accepts
Valid Selection
Item in Stock
Results:
Reject Cash
Reject Card
Error Message
Return Cash
Refund Card
Sell Item
Answers:
a. 7
b. 13
c. 15
d. 18
The answer is C. 15, but their explanation is simply a large decision table with all the combinations. This is great and all, but I don't have time to create a big, relatively complicated decision table with all 15 combinations/columns--I will only have 60 minutes to complete the 40 question test.
Is there an easier/simpler way to find how many combinations/columns/test cases would be needed to test these conditions?
Thanks!