Examples for business, study, careers, love, and more...
Examples :: Language :: Example of Iteration

Example of Iteration

In common usage, iteration is literally repetition, based on achieving an objective. It can mean stating something in a series of repetitions, or repeating a performance. Iteration can also involve a series of repetitions in a progression of actions.

In computer language usage, iteration follows the grammatical context, referring to a process of repeated steps, but it's used as a single instruction. The iteration contains the instructions for repeating the steps in the execution of the instruction.

Examples of Iteration:

I've said, and will continue to say, that this won't work.
I will reiterate, again and again if I have to; it won't work.

Image Example of Iteration:

A pentagon iteration. Connecting alternate corners of a regular pentagon produces a pentagram which encloses a smaller inverted pentagon. Iterating the process produces a sequence of nested pentagons and pentagrams.