Process Logic Design

 

Process Specification Handouts

Process Specification Summary

Structured English Assignment (payment processing) + Solution

Process Specification: simplified + an example

Age Count Problem

 

Decision Tables/Trees

Decision Table Assignment

Wikipedia article on decision tables

A history of decision tables

Examples of decision tables: 1 2 3 4 5 6 7

 

Written by fan or foe?

How does Gloria feel about John?

Unstructured Specifications from Everyday Speech

Unstructured Specifications in I.S.

United Airlines Menu - two Main Courses?!

A warning ... But to whom?!

Draw Bridge

The agent in charge of executing your instructions (the computer) can perform only the following tasks:
i. for each designated variable, receive data one value at a time as input
ii. assign a value to a variable
iii. compare two variables and select one of two alternative actions
iv. perform arithmetic operations
v. repeat a group of actions
vi. output the resulting information

 

 

 

 

 

The following material are based on chapters from Simple Program Design by Lesley Anne Robertson

Program Design

Steps in program development
Structured programming
The Design Challenge
An introduction to algorithms and pseudocode
Program data

Pseudocode

How to write pseudocode
Meaningful names
The Structure Theorem

Developing an Algorithm

Defining the problem
Designing a solution algorithm
Checking the solution algorithm

Selection Control Structure

The selection control structure
Algorithms using selection
The case structure

Repetition Control Structure

Repetition using the DOWHILE structure
Repetition using the REPEAT...UNTIL structure
Counted repetition constructs

Combining All Three Control Structures

Eight solution algorithms

Flowcharting

A primer on flowcharts

 

Classical Theory

The "Structured Program" Theorem (from wikipedia)

 

Judging (docx) Judging (pdf)