Loop Types

Test yourself on Iteration (Loops) with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Iteration (Loops)Get your flashcardsBuild my revision planTrack my progress

Loop Types

Loop Type Use When Checks Condition
FOR Know how many times to repeat Count-controlled
WHILE Repeat while condition is true (runs zero or more times) Before each iteration
UNTIL (REPEAT UNTIL on AQA, DO UNTIL on OCR) Always run at least once After each iteration

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.