Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Data Structures/Arrays (up to 3 dimensions), records…

Arrays (up to 3 dimensions), records, lists and tuples

Arrays (of up to 3 dimensions), records, lists, tuples

1.4.2 Data Structures

Practise exam questions

Data Structures — Note 1 of 3

Candidates should be able to describe what is meant by arrays (up to 3 dimensions), records, lists and tuples. They are expected to be able recognise when they can be used and incorporate them in their programs to store data

What you need to know

Data structures organise related data so it can be processed efficiently. Arrays hold a fixed number of items of the same type; records group related fields of different types; lists are dynamic; tuples are fixed and cannot be changed.

What to know

  • A 2D array can be visualised as a table (board[row, col]); a 3D array adds a third index, e.g. sales[shop, month, product].
  • Static structures (arrays) have a fixed memory size, which can waste space but makes access fast and predictable. Dynamic structures (lists) can grow and shrink but need extra memory to manage.

Code examples

Arrays, records, lists and tuples in Python
python
grid = [[0] * 3 for _ in range(3)]      # 2D array (3 x 3)
grid[1][2] = 5

student = {"name": "Sam", "age": 17, "enrolled": True}   # record

scores = [12, 7, 9]                     # list (dynamic)
scores.append(15)

origin = (0, 0)                         # tuple (immutable)
# origin[0] = 5  would cause an error

Key terms

Array

A static (fixed size) data structure holding items of the same data type, accessed by index. OCR arrays are zero-indexed.

Record

A data structure that groups related fields, which can have different data types, e.g. a student record with name (string), age (integer) and enrolled (Boolean).

List

A dynamic data structure whose size can change as items are added or removed; items can be of different types in languages like Python.

Tuple

An ordered collection of items that is IMMUTABLE: once created, its items cannot be changed, added or removed.

Exam technique

  • Tip:Asked why an array beats separate variables? Say one identifier refers to every value, each reached by its index, so the values can be processed in a loop or passed as one parameter. Don't claim it saves much memory: the difference is tiny.
  • Tip:Choose a structure that suits the data, e.g. a tuple for values that must not change, such as the coordinates of a fixed point. An array holds ONE data type, so mixed data needs a record. Link each property you give to the scenario.
  • Tip:When writing code, use the sizes the question gives: array board[3,4], not just board = [], which loses marks. Set a record's fields by name, with quotes round strings only: student.name = "Sam" but student.age = 17.
  • Mistake:Treating a list as a linked list, or a record as a database record. Here a list is a dynamic ordered collection (a linked list is nodes joined by pointers), and a record is a programming structure that groups named fields of different types.

Past exam questions

  • June 2024Paper 1Q8(a)2marks
  • June 2024Paper 2Q7(a)2marks
  • June 2024Paper 2Q9(a)3marks
  • June 2023Paper 1Q2(c)(ii)2marks
  • June 2023Paper 1Q2(c)(iii)1mark
  • June 2022Paper 2Q3(a)1mark
  • June 2022Paper 2Q6(c)2marks
  • June 2019Paper 1Q5(a)1mark
  • June 2018Paper 2Q6(a)(ii)5marks
  • June 2018Paper 2Q6(a)(iii)3marks

Ready to test yourself?

Practise 1.4.2 questions
← Previous topicHow character sets (ASCII and UNICODE) are used to represent text1.4.1 Data TypesNext note →Linked list, graph, stack, queue, tree, binary search tree and hash table1.4.2 Data Structures

Back to Data Structures

Data Structures

Note 1 of 3

  1. 1Arrays (up to 3 dimensions), records, lists and tuples
  2. 2Linked list, graph, stack, queue, tree, binary search tree and hash table
  3. 3How to create, traverse, add data to and remove data from these data structures
Topic overview