Iteration
Definitions
1
Posts
1
Posters
351
Views
-
Iteration is the repetition of a function or process in a computer program. Iterations of functions are common in computer programming, since they allow multiple blocks of data to be processed in sequence. This is typically done using a while loop or for loop (see the examples below). These loops will repeat a process until a certain number or case is reached. Recursive functions also use iteration, though instead of repeating a process, the entire function repeats itself.
While loop: while (x
Explore More Definitions
Browse our collection of 300,000+ community-written definitions