8.2 · Lesson 3 of 4

Two-dimensional arrays

Syllabus 8.2.1Syllabus 8.2.3

What this lesson covers

  • Declare and use 1D and 2D arrays
  • Read and write array values using iteration, including nested loops

Key vocabulary

2D array
An array with rows and columns, like a table.
Nested iteration
A loop inside another loop, used to process every element of a 2D array.
Row
The first index of a 2D array element in Cambridge pseudocode.
Column
The second index of a 2D array element.

Check your learning

  • Quick check: 4 questions
  • Key vocabulary test: 4 terms
  • Activity 1: Read the 2D array · 6 questions
  • Activity 2: Which index? · 6 questions
  • Activity 3: 2D arrays quiz · 8 questions
Loading Bits of Bytes…