2.2.3

Program Flow 2

Test yourself

Iteration

Iteration allows a group of statements to be repeated multiple times. Iteration statements are often called loops.

Illustrative background for Indefinite iterationIllustrative background for Indefinite iteration ?? "content

Indefinite iteration

  • A block of code will repeat while a specified condition is true.
Illustrative background for Definite iterationIllustrative background for Definite iteration ?? "content

Definite iteration

  • A block of code will repeat a known number of times.
Illustrative background for Flow diagramIllustrative background for Flow diagram ?? "content

Flow diagram

  • A flow diagram for iteration uses the diamond shape.

Jump to other topics

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms and Programming

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson