Decision tables
A checkout's rules depend on these conditions, and every combination of them can happen.
- Coupon: Valid, Expired, None
- Express delivery: Yes, No
- First order: Yes, No
Practice · Test design
Exam-style decision tables questions, generated fresh each time, with answers computed to the ISTQB Foundation Level v4.0 definitions (section 4.2.3). Every wrong answer tells you which mistake leads to it.
No answers yet
Decision tables
A checkout's rules depend on these conditions, and every combination of them can happen.
A decision table lists conditions as rows and combinations of their values as columns, with the resulting actions below. A full table has a column for every combination, so the number of columns is the product of the number of values each condition can take.
The coverage items are the columns that contain feasible combinations. 100% decision table coverage means every one of those columns has been exercised by a test.
Example 1
A checkout's rules depend on these conditions, and every combination of them can happen.
Answer: 12. A full table has a column for every combination: 3 × 2 × 2 = 12.
Try this one in the quiz: open example 1.
Example 2
A checkout's rules depend on these conditions. Only members can choose to pay by invoice: a guest paying by invoice can't happen.
Answer: 20. The full table has 3 × 2 × 2 × 2 = 24 columns. A guest paying by invoice is 1 of the 2 × 3 = 6 combinations of those two conditions, so 4 of the 24 columns are infeasible. 20 remain.
Try this one in the quiz: open example 2.
Example 3
A checkout's rules depend on these conditions, and every combination of them can happen.
Answer: 12. A full table has a column for every combination: 2 × 2 × 3 = 12.
Try this one in the quiz: open example 3.
These are not questions from any ISTQB exam, and this site has no connection with ISTQB or any exam provider. Older question banks often use definitions from before version 4.0, so if an answer here disagrees with one you’ve seen elsewhere, check which syllabus it was written for. How the questions are made explains how every answer is checked.
To see the technique applied, read the decision table generator.