A loop is an example of indefinite iteration.

A for loop is an example of iteration where the number of iterations is known in advance.

The condition of a while loop is checked before each .