Professional Documents
Culture Documents
Assignment Software Quality Engineering Decision Table
Assignment Software Quality Engineering Decision Table
Decision Table
Assignment No 3
(Rules must not be more than 16. That will automatically limit causes and
effects to 4 with two possible values for causes)
Payroll system
(a) If the salary of a person is less than equal to Rs. 60,000 and expenses do not
exceed Rs. 30,000 then 10% tax is charged by IT department.
(b) If the salary is greater than Rs.50,000 and less than equal to Rs 2 lakhs and
expenses do not exceed Rs. 40,000 than 20% tax is charged by IT department.
(c) For salary greater than Rs 2 lakhs, 5% additional surcharge is also charged. (d) If
expenses are greater than Rs. 40,000 surcharges are 9%.
Causes
C1: Salary<=60,000
C2: Salary>60,000 and salary <=2 lacs
C3: Salary >2 lacs
C4: Expense<=30,000
C5: Expense<=40,000
C6: Expense>40,000
Effects
E1: 10% tax is charged
E2: 20% tax is charged
E3:(20% tax) +(5% surcharge) is charged
E4:(20% tax) +(9% surcharge) is charged
Decision Table
1 2 3 4
Condition / Cause C1 1 0 0 0
Condition / Cause C2 0 1 0 0
Condition / Cause C3 0 0 1 1
Condition / Cause C4 1 0 0 0
Condition / Cause C5 0 1 1 0
Condition / Cause C6 1 0 0 0
Action / Effect E1 X - - -
Action / Effect E2 - X - -
Action / Effect E3 - - X -
Action / Effect E4 - - - X
Test Cases
1. Salary = 20,000, Expenses = 2000.