Assignment-II: (1) ATM (Automated Teller Machine) System
Assignment-II: (1) ATM (Automated Teller Machine) System
Assignment-II
Q. Draw decision table and decision tree for each of the following software systems.
DECISION TREE
DECISION TABLE
Q. Consider the following requirements for a software to be developed for controlling a
chemical plant. The chemical plant has a number of emergency conditions. When any
of the emergency condition occurs, some pre-specified actions should be taken. The
different emergency conditions and the corresponding actions that need to be taken
are as follows:
a. If the temperature of the chemical plant exceeds T1, then the water shower
should be turned ON and the heater should be turned OFF.
b. If the temperature of the chemical tank falls below T2, then the heater should
be turned ON and the water shower should be turned OFF.
c. If the pressure of the chemical plant is above P1, then the valve V1 should be
opened.
d. If the chemical concentration of the tank rises above M, and the temperature
of the tank is more than T3, then the water shower should be tuned ON.
e. If the pressure rises above P3, and the temperature rises above T1, then the
water shower should be turned ON, valves V1 and V2 are OPENED, and the
alarm bells sounded.
DECISION TREE
DECISION TABLE