Worked solution from the Programming Paper 2 Algorithms, Programming and Logic booklet, Part 1 of 3.
Give any three of these features, each with an example.
Feature: meaningful identifiers (names that say what they store) [1]
Example: use Total to store a running total [1]
Feature: comments that explain how the program works [1]
Example: // all values are zeroed before the next calculation [1]
Feature: procedures and functions for the tasks in the program [1]
Example: CalculateInterest(Deposit, Rate) [1]
▶ Whole paper
Video solution of the whole paper · by CS BY AQIB KHAN. 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.