decision table Flashcards
1
Q
how to simplify decision table?
A
identify inputs w same outputs, find difference in inputs & change it to ‘-‘ (bc the difference in input X affect output) merge these two columns into one
2
Q
how does the conditions of decision table look like?
A
written such that its a func name, easily copy pasted into pseudocode (typical follow up question)
3
Q
how does decision table look like?
A
____________________| rules
conditions | cond1 | YYYYNNNN
___________| cond2 | YYNNYYNN
___________| cond3 | YNYNYNYN
actions____| action1| (X/-)
___________| action2 |
4
Q
advantages of decision table (not out yet)
A
- concise descriptions of logically complex situations
- easier to draw & change than flowcharts
5
Q
disadvantages of decision table (not out yet)
A
- large decision table can become incomprehensible & difficult to modify
- more difficult to understand compared to flowcharts