- Pseudocode to exemplify programming constructs
- Graphical to illustrate selection and iteration
- Other contemporary design notations:
Pseudocode
This is an informal text notation resembling a simplified programming language, it does not have a strict structure. Pseudocode is used to exemplify programming constructs
Example 1
1. set total to 0 2. set count to 0 3. While count less than 10 4. Get price from user 5. Add price to total 6. Add one to the count 7. end while 8. Display the average price
Example 2
1. set total to 0 2. for 10 items 3. get price from user 4. add price to total 5. next item 6. display total/10
Structure Chart
A Graphical design notation that is used to show the structure of a program and how it’s various parts (modules) are organised and how data flows between them.
Flow Chart
A Graphical design notation that are used in designing and documenting complex processes or programs. Like other types of diagrams, they help visualize what is going on and thereby help the people to understand a process, and perhaps also find flaws, bottlenecks, and other less-obvious features within it. Selection and Iteration can been seen in the example below.