Cambridge O Level Computer Science 2210 · 8.1 Programming concepts

Q38 · 2210/23/O/N/25 Q1

Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.

Q382210/23/O/N/25original Q1Structured · 3 marks
Question 1 from 2210/23/O/N/25

Worked solution

Write any three ways:

Use meaningful identifiers (names that say what the variable does) [1]

Add comments to explain the code [1]

Use procedures and functions to split the program into small parts [1]

KEY IDEAMeaningful names, comments and procedures or functions make code easier to read and change.
TOTAL 3 marks

Official mark scheme

Mark scheme for 2210/23/O/N/25 question 1
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.