Warnier-Orr diagrams have 8 fundamental building blocks
Hierarchy The hierarchy operations breaks things into parts. The whole consists of Part 1 and Part 2 and Part 3. |
Complement Complement is the logical NOT. |
|
Begin/End Blocks The Begin block performs initialization and the End block performs termination. |
Sequence Sequence orders things. Job consists of first Task A followed by Task B, then Task C. |
|
Repetition Repetition provides looping. Job consists of first doing Task A 3 times followed by 3 to T repetitions of task B, then doing Task C one time. |
Recursion A recursive process contains itself as a sub-process. |
|
Selection Selection allows choices. Color consists of either red or green or blue. |
Concurrency Concurrency allows things to happen at the same time. Job consists of Task A and Task B at the same time; when bother are complete do Task C. |






