QuestionQ13

Test Analysis and Test Design

A tax system must be updated because of new legislation. For a person who is married and has a salary of less than 20.000, the tax must be recalculated. If the person also has more than two and fewer than five children, an additional 10% reduction applies.

How many input classes can be identified when applying equivalence partitioning to the “Tax System” specification?

Explanation

The specification has two salary partitions, two marital-status partitions, and three child-count partitions. The child-count boundaries create the classes of two or fewer children, more than two but fewer than five children, and five or more children, for a total of seven input classes.

Community Discussion

No comments yet. Be the first to start the discussion!