Decision Table - Program Embedded Decision Tables

Program Embedded Decision Tables

Decision tables can be, and often are, embedded within computer programs and used to 'drive' the logic of the program. A simple example might be a lookup table containing a range of possible input values and a function pointer to the section of code to process that input.

Static decision table
Input Function Pointer
'1' Function 1 (initialize)
'2' Function 2 (process 2)
'9' Function 9 (terminate)

Multiple conditions can be coded for in similar manner to encapsulate the entire program logic in the form of an 'executable' decision table or control table.

Read more about this topic:  Decision Table

Famous quotes containing the words program, embedded, decision and/or tables:

    The twelve Cells for Incorrigibles ... are also carved out of the solid rock hill. On the walls of one of the cells human “liberty” is clearly inscribed, with the “liberty” in significant quotation marks.
    —Administration in the State of Ariz, U.S. public relief program (1935-1943)

    The idea of feminine authority is so deeply embedded in the human subconscious that even after all these centuries of father-right the young child instinctively regards the mother as the supreme authority. He looks upon the father as equal with himself, equally subject to the woman’s rule. Children have to be taught to love, honor, and respect the father.
    Elizabeth Gould Davis (b. 1910)

    Concision in style, precision in thought, decision in life.
    Victor Hugo (1802–1885)

    All my life I have said, “Whatever happens there will always be tables and chairs”—and what a mistake.
    Elizabeth Bowen (1899–1973)