In: Computer Science
How do you make a decision table?
ANSWER :
Make a Decision Table
* Creating conditions and actions:
The first two buttons in the toolbar at the top of the Decision Table allows you to create conditions and actions respectively. By selecting an existing condition or action and click on the create button, a new condition/action will be inserted after the selected condition/action. Then, enter the description of condition/action. Alternatively, you can right click on a condition/action and add a new one after it via the popup menu.
Buttons to create conditions and actions |
* Creating rules:
The third button in the toolbar at the top of the Decision Table allows you to create rules. By selecting an existing rule and click on the create button, a new rule will be inserted after the selected rule. Find the conditions and actions that match your rule. Double click on the corresponding cell and place a mark on it. For example, enter "Y" to indicate "Yes". Alternatively, you can right click on a rule and add a new one after it via the popup menu.
Buttons to create conditions and rules |
* Reorder conditions, actions and rules:
To reorder conditions and actions, select them in the table and click on the Move Up/Down button in toolbar or right click on them and select Move Up/Down from the popup menu. To reoder rules, select and right click on them, select Move Left/Right from the popup menu.
* Delete conditions, actions and rules:
To delete conditions, actions and rules, select the rows or columns to delete, click on the Delete button in toolbar.