teach-ict.com logo

THE education site for computer science and ICT

Iteration

Iteration means a 'step'.

Each 'iteration' of something means changing by one step.

In computer programming 'iteration' is used to loop around and around a piece of code until a condition is met that ends the iteration.

For example:

FOR X=1 TO 10

PRINT DOCUMENT

NEXT

The computer code above will increase X by 1 with every iteration. On each iteration a document is printed. When X reaches 10, the iteration stops.

Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: Iteration

 

2020-10