Represent a combination of conditional statements in a tabular form.
When you have code that composes several conditional statements, it can often be hard to follow exactly what combinations of conditions lead to what outcomes.
A Decision Table improves understandability by representing the group of conditions as a table, where each column shows the outcome for a particular combination of conditions.
A decision table is divided into two sections: conditions and consequences. Each condition row indicates the state of that condition; for a simple two-value Boolean condition, each cell in the row will ...