table which is not collapsed?

How many cases are required to test the tax system specification as described below, using a decision

table which is not collapsed?

Tax system A tax system needs to be updated due to new legislation. For a person with a salary of less than 20.000 and who is married, the tax needs to be recalculated. If the person also has more than two and less than five children, an additional 10% reduction is applicable.
A . 2
B . 4
C . 6
D . 8

Answer: D

Explanation:

A decision table is a technique that shows the possible combinations of conditions and actions for a given problem. A decision table that is not collapsed has one test case for each combination of conditions, regardless of whether the actions are the same or different. The tax system specification has three conditions: salary less than 20,000, married, and number of children between three and four. Each condition has two possible values: true or false. Therefore, the number of test cases for a non-collapsed decision table is 2^3 = 8.

Reference =

ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst1, page 2 Decision tables – IBM2, section “Decision table overview”

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments