Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 2 of 8.
Decide which description fits each part of the task. The inputs are the facts you are given, the process is the calculation and the output is the result given to the user.
input → the height of the fence / the length of the fence [1]
process → The area of fence is calculated as 40 square metres. [1]
output → The amount of paint required is 40 square metres. [1]
The colour of the paint is not used.
▶ 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.