Process Specifications



index
Disabled back button Next Section
printable version




Section 0: Module Objectives or Competencies
Course Objective or Competency Module Objectives or Competency
The student will be able to employ appropriate systems design tools such as structure charts, process specifications, and dialog flow designers to design a system and its user interface. The student will be able to explain why process specifications are needed to supplement techniques learned previously.
The student will apply Structured English, decision tables, and decision trees to clearly explain the logic behind complex process specifications in order to provide a precise description of what must be accomplished.


Section 1: Definition

Process specifications are the methods available for documenting and analyzing the logic of structured decisions.

The basic aspects of a process specification:



Section 2: Justification

Process specifications reduce ambiguity by providing a precise description of the system in enough detail to guide programmers in developing the system, explaining exactly how each function is accomplished by defining what must be done in order to transform inputs into outputs, along with a detailed set of instructions outlining each business procedure.

Video: How To Write Data and Process Specifications



Section 3: Goals


Section 4: Scope

A process description is created for every functional primitive on a set of DFDs.

Relationship Between Process Specifications and DFDs

Relationship Between Process Specifications and DFDs

Process specifications link the process to the DFD and the data dictionary.



Section 5: Process Specification Format Information

The following information should be entered:



Section 6: Approaches

Approaches include

Guidelines



Section 7: Structured English

Structured English is a textual documentation tool that represents process specifications via simple English imperative verbs that give commands such as ADD, MULTIPLY, MOVE, and so on.

When to Use Structured English

Creating Structured English

Examples of Structured English Logic

Examples of Structured English Logic

Example

Problem Description: First, if the amount of the invoice is over $1,000, it cannot be paid until authorization is received from management, so the invoice appears on the cash requirements report. If the amount is less than $100, payment is authorized immediately, since it is costly to delay payment, only to process the invoice again in a few days. If the invoice amount is between $100 and $1,000, inclusive, payment is authorized unless it is 10 days old or less and there is no early payment discount. For the latter cases, payment is delayed since it will tie up capital without giving a return. Such invoices are set aside until the next time authorization is checked.

Structured English Description
FOR EACH VENDOR-INVOICE:
IF Case #1 TOTAL-INVOICE-AMOUNT is less than $100
Create PAYMENT-AUTHORIZATION
ELSE IF Case #2 TOTAL-INVOICE-AMOUNT is from $100 to $1000, inclusive
IF INVOICE-AGE is 10 days or less AND no early discount
Set VENDOR-INVOICE aside
ELSE
CREATE PAYMENT-AUTHORIZATION
ENDIF
ELSE IF Case #3 TOTAL-INVOICE-AMOUNT is greater than $1000
Put VENDOR-INVOICE on CASH-REQUIREMENTS-REPORT
ENDIF
ENDFOR

Advantages of Structured English


Video: Structured English



Section 8: Decision Trees

A decision tree is a graphic documentation tool that represents conditions and their resulting action.

Example of Decision Tree

Example of Decision Tree

Video Explanation

Video: Decision Trees - Example 1

When to Use Decision Trees

Creating Decision Trees with Example

Problem Description: First, if the amount of the invoice is over $1,000, it cannot be paid until authorization is received from management, so the invoice appears on the cash requirements report. If the amount is less than $100, payment is authorized immediately, since it is costly to delay payment, only to process the invoice again in a few days. If the invoice amount is between $100 and $1,000, inclusive, payment is authorized unless it is 10 days old or less and there is no early payment discount. For the latter cases, payment is delayed since it will tie up capital without giving a return. Such invoices are set aside until the next time authorization is checked.

How to Use a Decision Tree

Decision Tree Advantages


Another Example

Video: Decision Tree 1: how it works

Video: Decision Trees & Decision Tables



Section 9: Decision Tables

A decision table is a two-dimensional matrix representation of the logic of a decision that specifies the possible conditions for the decision and the resulting actions.

Decision tables provide a way to examine, describe, and document conditions and their resulting actions. They are used to

Decision tables are best used for complicated decision logic.

Video Explanations

Video: Decision Tables

Video: Decision Table Testing tutorial with examples


When to Use Decision Tables

Creating Decision Tables with Example

The text provides a pretty decent approach for creating decision tables (starting on page 267). The following approach is quite similar.

Example

Problem Description: First, if the amount of the invoice is over $1,000, it cannot be paid until authorization is received from management, so the invoice appears on the cash requirements report. If the amount is less than $100, payment is authorized immediately, since it is costly to delay payment, only to process the invoice again in a few days. If the invoice amount is between $100 and $1,000, inclusive, payment is authorized unless it is 10 days old or less and there is no early payment discount. For the latter cases, payment is delayed since it will tie up capital without giving a return. Such invoices are set aside until the next time authorization is checked.

Video: Simplifying Decision Tables

How to Use Decision Tables

Advantages of Decision Tables



Section 10: Flow Charts

Flow charts can also be used to specify the logic of processes.



Section 11: Practice Exercises


Section 12: Supplemental Materials

Supplemental Notes

Useful Recap

Video: Process Specs and Structure Charts