Construct Definition
Program Constructs¶
Programs are designed using common building blocks, known as programming constructs. These programming constructs form the basis for all programs.
All programming language utilise program constructs.¶
| Construct | Definition |
|---|---|
| Sequence | Sequence is the order in which instructions occur and are processed |
| Selection | Selection determine which path a program takes when it is running |
| Iteration | Iteration is the repeated execution of a section of code when a program is running |
| Routine Invocation | Routine (or procedure) invocation is particular to imperative languages |