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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how does decision table look like?

A

____________________| rules
conditions | cond1 | YYYYNNNN
___________| cond2 | YYNNYYNN
___________| cond3 | YNYNYNYN
actions____| action1| (X/-)
___________| action2 |

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

advantages of decision table (not out yet)

A
  • concise descriptions of logically complex situations
  • easier to draw & change than flowcharts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly