Category:

# What Is a Decision Table?

Article Details
• Written By: Mark Wollacott
• Edited By: Amanda L. Wardle
2003-2018
Conjecture Corporation
 Research shows that when study participants watch other people feeling cold, their own body temperatures drop, too.  more...

 March 23 ,  1839 :  The word "OK" gained national re  more...
wiseGEEK Slideshows

A decision table offers a succinct way of organizing data and linking conditions and actions together. It is sometimes used as an alternative to flowcharts and switch-case statements. Decision tables may be simple or complex, and are often used to address complicated programming and business decisions by presenting the conditions and actions in a simple and elegant form.

The decision table is usually divided into at least four quadrants. The most basic example has two rows and two columns. The top left quadrant houses the conditions, while the top right is used to outline the condition rules and alternatives. The bottom left quadrant, meanwhile, contains the actions, and the bottom right the action rules. Decision tables vary quite a bit beside these four basic quadrants.

The conditions row is used to assess the situation. For example, a table may be used to diagnose a problem with a television. The first column in the top left section of the table may simply say ‘conditions,’ while the second column is sub-divided into different rows with one condition per row. Television related conditions could include: no signal, no picture, dim backlight, and no sound.

The action section, on the other hand, describes possible solutions to the problems outlined in the conditions. The first column will simply say ‘actions,’ while the second is sub-divided into rows containing actions the person can take. For the television this might include: checking the aerial cable, checking the plug, and adjusting the volume control.

A common addition to the table is the rules checklist. A simple checklist would contain Y for yes and N for no. There is one rule column for each of possible combinations of conditions. For example, if there are four conditions for the television, then there are 16 possible combinations of Y and N. If there are only three conditions, there will be eight possible combinations.

The person using the decision table will tick, circle, or mark the Ys from the conditions list to find which of the combinations is correct. Depending on which conditions are met, there will be Xs marked next to the actions that need to be taken. This means the decision table directly simplifies the decision-making process.

In order to develop a well balanced decision table, the creator needs to decide the most relevant conditions to list. There is no limit to the number of conditions that can be listed, but each additional one adds to the number of rule combinations used to decide what actions need to be taken. Rules should also be limited to the most relevant when compared to the listed conditions.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://www.wisegeek.com/what-is-a-decision-table.htm", "fetch_time": 1521820855000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2018-13/segments/1521257648313.85/warc/CC-MAIN-20180323141827-20180323161827-00226.warc.gz", "warc_record_offset": 504717383, "warc_record_length": 18440, "token_count": 597, "char_count": 2986, "score": 3.609375, "int_score": 4, "crawl": "CC-MAIN-2018-13", "snapshot_type": "latest", "language": "en", "language_score": 0.9036357998847961, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00047-of-00064.parquet"}