CTAL-TA_SYLL2019 · Question #50
The following decision table shows the conditions/actions that are handled by the current system regarding taking credit cards for reservations. The customer has decided that credit cards are too…
The correct answer is D. 8. A decision table is a technique that shows the possible combinations of conditions and actions for a given problem. To achieve 100% coverage of the decision table, all the combinations of conditions must be tested. The decision table has four conditions: debit card valid, PIN…
Question
The following decision table shows the conditions/actions that are handled by the current system regarding taking credit cards for reservations. The customer has decided that credit cards are too high risk and wants to change to accepting only debit cards. Debit cards have to be valid and also require a valid PIN in order to be accepted. Debit cards require purchase amount approval in order to be accepted. Given these changes, how many test cases will be needed to provide 100% coverage of the decision table?
Exhibit
Options
- A5
- B6
- C7
- D8
How the community answered
(35 responses)- A17% (6)
- B9% (3)
- C3% (1)
- D71% (25)
Explanation
A decision table is a technique that shows the possible combinations of conditions and actions for a given problem. To achieve 100% coverage of the decision table, all the combinations of conditions must be tested. The decision table has four conditions: debit card valid, PIN valid, amount approved, and dates available. Each condition has two possible values: yes or no. Therefore, the number of test cases for the decision table is 2^4 = 16. However, some of these test cases are invalid or redundant, as they do not reflect the logic of the problem. For example, if the debit card is not valid, then the PIN and the amount are irrelevant. Similarly, if the PIN is not valid, then the amount is irrelevant. Therefore, these test cases can be eliminated from the decision table. After eliminating the invalid or redundant test cases, only eight test cases remain, as shown in the table below: Debit card valid Reject reservation Reject reservation Reject reservation Reject reservation Reject reservation Reject reservation Reject reservation Prompt for lower purchase Prompt for lower purchase Prompt for different date Create reservation ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst1, page 2 Decision tables - IBM2, section "Decision table overview"
Topics
Community Discussion
No community discussion yet for this question.
