OCR GCSE Computer Science · J277
Paper 2
Revise: Basic Programming ConstructsThe tested value must be able to change so that repetition can end. Here, removing the decrease would leave
energyat 3 forever, producing an infinite loop.
Loading…
GCSE Computer Science · key term
A loop that continues indefinitely because its stopping condition is never reached.
Used by OCR
Paper 2
Revise: Basic Programming ConstructsThe tested value must be able to change so that repetition can end. Here, removing the decrease would leave
energyat 3 forever, producing an infinite loop.
Create a free account to read GCSE Computer Science revision notes for your exam board and track your progress.