# What is iteration

## iteration

A B C D E F G H I J K L M O P Q R S T U V W X Y Z

EDV-Lexikon - previous definition IT - next definition Year 2000 problem

- ← Iteration →
- (2009) Iteration is the term used to describe the repeated execution of a process. The number of executions (iterations) is either fixed beforehand or depends on whether a termination criterion has been met. An example of a fixed number of iterations is the FOR loop that is part of almost all programming languages. A criterion for terminating an iterative process with a previously unknown number of loop runs can be, for example, a sufficiently good approximation to a calculation result (example: search for a function's zero point). Occasionally both are combined and the iteration runs until either a certain result has been achieved or a predetermined number of loops has been processed. In contrast to recursion, an iterative function does not call itself.

The following table shows the calculation of the factorial of a natural number (greater than zero) once as an iteration and once as a recursion in an imaginary programming language:iteration Recursion Factorial = 1

FOR i = 1 to number:

Factorial = factorial * i

PRINT facultyFUNCTION factor (number):

IF number = 1

THEN factor = 1

ELSE factorial = number * factorial (number-1)

PRINT factorial (number)

Additional requests? Email to Martin Vogel or comment on the blog!

Already been there? Imprint | Martin Vogel's homepage | Vogel's perspective - the blog | Forum Building and Environment

- Has web marketing replaced your previous jobs
- Are Koreans allergic to alcohol
- How do web designers use JavaScript
- What is an empty verse poem
- Whose sons are Vali and Sugreeva
- How is Yo now in November 2014
- Which distributions are discrete
- Is UX design really a new discipline?
- Who developed Phonegap
- How long does meth hangover last
- But I was a taekwondo expert
- How can I be grounded
- What is health insurance in the US
- What is the worth of a junk car
- Where can I buy designer swimwear for men?
- What are some unpopular European languages
- Would you like to hit the jackpot
- Should I like Mondays
- Steven Spielberg lost his touch
- What is suppressed ovulation
- Should I make up with a deceitful ex
- What is Darwinian culture
- Is the best incontinence protection possible
- What is cDNA