Why arrays are used
An array stores many values of the same type under one name, so you need one array instead of many variables. An index reaches each value, and loops can process them all.
Understanding Why arrays are used in IGCSE Computer Science Paper 2
What it does: The array name Names plus the index 7 picks out exactly one stored value, so no separate variable name is needed. A FOR loop can use the index to visit every element, so one short block of code can handle all of the values. An array with a loop replaces 100 repeated statements with a few lines. Arrays make programs easier to change. You only update the bounds, not add many new variables. All the elements in an array must be the same data type. Related values of the same kind belong in one array under one meaningful identifier.
Common mistakes: A value is stored in an array element with the assignment arrow ←, not =. It should be Name[2] ← "Liam". An array name on its own does not reach one value. The index is needed so each pass of the loop displays one element: OUTPUT Name[i].
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 439–448) and word search (Modules 439–458).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
ARRAYFill in the Blanks
Spot the Error
Student with a class code? Join your class →