Process Logic Design
Process Specification Handouts
Structured English Assignment (payment processing) + Solution
Process Specification: simplified + an example
Age Count Problem
How does Gloria feel about John?
Unstructured Specifications from Everyday Speech
Unstructured Specifications in I.S.
United Airlines Menu - two Main Courses?!
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
Steps in program development
Structured programming
The Design Challenge
An introduction to algorithms and pseudocode
Program dataHow to write pseudocode
Meaningful names
The Structure TheoremDefining the problem
Designing a solution algorithm
Checking the solution algorithmThe selection control structure
Algorithms using selection
The case structureRepetition using the DOWHILE structure
Repetition using the REPEAT...UNTIL structure
Counted repetition constructsCombining All Three Control Structures
Eight solution algorithms
Classical Theory
The "Structured Program" Theorem (from wikipedia)
Judging (docx) Judging (pdf)