Computational constructs
Computational constructs are the basic building blocks used to write programs. They help control what the program does, how it repeats, and how it makes decisions.
Examples
- Sequence – running instructions in order
- Selection – making choices using conditions, like if and else
- Iteration – repeating actions using loops, like for and while
- Subprograms – breaking code into smaller parts, like functions and procedures