Iteration
Repetition through the use of loops
Properties of a while loop (2)
- The expression is tested at the start of the loop
Difference between REPEAT UNTIL and WHILE
REPEAT UNTIL tests the expression at the end and is therefore always run at least once
Definite iteration
Iteration where the number of loops is known at the beginning (for)
Indefinite iteration
Iteration where the number of loops is not known and is reliant upon some condition (while)