You are on page 1of 6

Decision Tables

Are used for process specification.


A table of rows and columns,
separated into four quadrants:
Conditions
Condition alternatives
Actions to be taken
Rules for executing the actions

9-1

Standard Format Used for Presenting


a Decision Table

9-2

Example :

Conditions Alternatives

conditions

Actions

9-3

Constructing a Decision Table for Deciding Which


Catalog to Send to Customers Who Order Only
from Selected Catalogs

Number of alternatives = 2 number of conditions


( in the above table we have 3 conditions so max number of rules (23 = 8 rules)
Y means that the condition is true(Yes)
N means that the condition is false (No)
X means to perform the action
9-4

Example :
Draw the suitable decision table for the following amount of
additions in the salary process description :
Employee
Manager
Not manager
Manager
Not manager
Manager
Not manager

salary
<=500
<=500
501 800
501 800
>800
>800

additions in salary
50 JD
30 JD
50 JD
50 JD
60 JD
60 JD

Optimal number of conditions : 4 (without repetition) :


(Manager , <=500 , 501-800 , >800)
Number of actions : 3 (without Repetition) :
(add 50JD , 30JD , 60JD)
9-5

Example : (cont.)
Conditions and
actions
Manager
Salary <=500
Salary 501 800
Salary >800
30 JD bonus
50 JD bonus
60 JD bonus

1 2
Y Y
Y
Y N N
N Y N
N N Y

Rules
3
4
5
N
N N
Y
N N
N
Y N
N
N Y

X
X

X
X

9-6

You might also like