DECISION TABLE


Sometime It is very difficult to prepare a flowchart based on many decision blocks or conditions as such flowchart becomes very complex to draw.

We may represent such kind of problem solutions in table form and such tables are known as Decision Table.

A Decision Table mainly consists of four parts:

§  Conditions

§  Actions

§  Condition Entries

§  Action Entries

§  Return

Conditions:

·         It is known as Condition Stub

·         Condition lists the basis for preparation of Decision Table.

·         Conditions are actually representations of all forms of comparisons.

·         Conditions mainly resemble the inputs through which analysis is performed.

Actions:

·         It is known as Action Stub.

·         Actions list the actions to be taken along various program branches.

·         Actions are sort of outputs of program.

Condition Entries:

·         These lists the various columns that make the possible permutations of answer to the questions in the conditions.

Action Entries:

·         These list the columns corresponding to the answer for any particular combination of condition entry column.

 

Example of Decision Table for Allowing Credit Facility:

Components of Decision Table:

The Components of Decision Table are as follows:

§  Condition Statements: Statement which include the condition like Monthly Salary>10000

§  Condition Entries: Entries that complete the condition statement (Y or N)

§  Action Statements: Statements which gives the actions or output for conditions answers. Like Allow Credit Facility

§  Action Entries: Complete the action entries like (X)

§  Rules: Unique Combinations of conditions and actions.

§  Header: Title identifying the Table likes Allowing Credit Card Facilities.

§  Rule Identifiers: Identifying the rules of table like R1, R2 etc.

§  Conditions Identifiers: Identifying the conditions like C1, C2 etc.

§  Action Identifiers: Identifying the actions like A1, A2 etc.

Advertisements

Give A message for us

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s