Iteration, Loops and Cycles
Iteration
Iteration involves the repetition of a sequence of
instructions and is a fundamental part of many algorithms.
It is characterised by
- a set of initial conditions,
- an iterative step and
- a continuation test.
Loops
a loop is a sequence of statements in a program that is
repeated.
Cycles
a cycle refers to one successful completion of the steps.