← All printables
IGCSE Computer Science Paper 2 · Modules 459–468

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

A free printable IGCSE Computer Science Paper 2 definitions worksheet with 10 key terms, built from the key terms of 8.2 Arrays (Modules 459–468) — Looping with a lower bound of zero, Reading values into an array with INPUT in a loop, Displaying every element with OUTPUT in a loop, Totalling the elements of an array, Counting elements that meet a condition, Finding the largest value in an array and more. Print it or save it as a PDF — the answer key starts on its own page. No login needed.

IGCSE Computer Science Paper 2 Definitions Worksheet: 8.2 Arrays (Modules 459–468)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
FOR Index ← 0 TO 29
2
INPUT Name[Index]
3
OUTPUT StudentNames[Index]
4
Total ← Total + Marks[Index]
5
IF Marks[Index] >= 50 THEN Count ← Count + 1
6
Largest ← Marks[1]
7
linear search
8
parallel arrays
9
trace table
10
2D array

Answer Key

IGCSE Computer Science Paper 2 · Modules 459–468 · Student wording will vary for definitions
1FOR Index ← 0 TO 29 — For ARRAY[0:29], the loop must start at the lower bound 0 and end at the upper bound 29. It then visits all 30 elements and never goes outside the array.
2INPUT Name[Index] — Inside a FOR loop, INPUT Name[Index] stores each value the user types into the next array element, because Index changes every time the loop repeats.
3OUTPUT StudentNames[Index] — Inside a FOR loop, this line displays every element of the array in order. Index changes on each pass, so each pass outputs the next element, from the lower bound to the upper bound.
4Total ← Total + Marks[Index] — Adds the current element to the running total on each loop pass. Set Total ← 0 before the loop first, or the answer will be wrong. Divide by the number of elements for the average.
5IF Marks[Index] >= 50 THEN Count ← Count + 1 — An IF inside the loop tests each element and adds 1 to Count when true. Set Count to 0 before the loop. A counter counts matches; a total adds up values.
6Largest ← Marks[1] — Start by assuming the first element is the largest, then compare every other element and replace Largest when a bigger one is found.
7linear search — A loop checks every element against the wanted value. On a match, set Found to TRUE and record the index. If Found is still FALSE at the end, OUTPUT a not found message.
8parallel arrays — Two or more arrays of the same size where the same index holds related data, e.g. StudentNames[3] and Marks[3] both describe the same student.
9trace table — A table that records the loop variable, index and array contents after each pass of a loop, so you can predict the final OUTPUT and spot errors such as off-by-one.
102D array — A table of rows and columns held in one variable. Each element needs two indexes: the first is the row (across), the second is the column (down), e.g. Marks[2, 3].

Modules this definitions worksheet covers

Every module has its own free printable worksheet with an answer key, and students can practise the same terms interactively on Cloodit.

Part of: IGCSE Computer Science 0478 — 8.2 Arrays

More IGCSE Computer Science Paper 2 printables

This printable is free — no login needed.

Free classroom tools, no account: Hangman · Random Team Generator · Random Name Picker Wheel · Seating Plan Maker

Make a free class, give it a journey, and you also get:

Create a free teacher account →

No credit card. No setup fee. Make a class and invite students in under three minutes.