The following decision table shows a simplified car insurance policy relating to
ID: 3836611 • Letter: T
Question
The following decision table shows a simplified car insurance policy relating to driver age groups, premium increases, and when the insurance is cancelled. The top two rows describe conditions, the last three rows describe actions. i. Define the blocks for the two variables age and no. of claims. ii. Define base choice as (Age: > 25, No. Claims: 0, 1). How many combinations do you get for base choice coverage?? Determine a set of test cases that satisfies base choice coverage. iii. What is the Cartesian product of the blocks defined in ? Its cardinality? iv. Now add blocks for invalid values for both variables. What is the Cartesian product and its size? Again, using base choice coverage, what are the additional combinations?Explanation / Answer
i. The two variable ages are (a) <= 25 and (b) > 25. The number of claims also fall in two categories: (a) 0,1 and (b) 2-4 (i.e. 2, 3, 4). There is also a possibility of having No. of claims > 4, at which there is no increase in premium and insurance stands cancelled.
ii. Base Choice:
a. (Age: Z<= 25, No. Claims: 0,1)
b. (Age: Z<= 25, No. Claims: 2-4)
c. (Age: Z > 25, No. Claims: 0,1)
d. (Age: Z > 25, No. Claims: 2-4)
e. (Age: Z = Any, No. Claims > 4)
There are 5 combinations for base choice coverage. Test cases: (Age: Z<= 25, No. Claims: 0), (Age: Z<= 25, No. Claims: 1), (Age: Z<= 25, No. Claims: 2), (Age: Z<= 25, No. Claims: 3), (Age: Z<= 25, No. Claims: 4), (Age: Z > 25, No. Claims: 0), (Age: Z > 25, No. Claims: 1), (Age: Z > 25, No. Claims: 2), (Age: Z > 25, No. Claims: 3), (Age: Z > 25, No. Claims: 4), (Age: Any, No. Claims: >4)
iii. Cartesian product:
Age No. of claims
Age No. of Claims <=25 0 <=25 1 <=25 2 <=25 3 <=25 4 <=25 >4 >25 0 >25 1 >25 2 >25 3 >25 4 >25 >4Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.