Skip to main content
O-LevelComputer ScienceAlgorithm design and problem-solving2210/22 · May/June 2025 · Q23 Marks

A fence measuring 2 metres in height and 20 metres in length needs painting. The area of the fence needs to be calculated so that enough paint for the job is purchased. After the task is decomposed, there are three component parts: input, process and output. Three component parts and four example descriptions are shown. Draw one line from each component part to the most appropriate relevant description. Not all descriptions will be used. Component part process output input Description the height of the fence the length of the fence The amount of paint required is 40 square metres. the colour of the paint The area of fence is calculated as 40 square metres.

  1. A fence measuring 2 metres in height and 20 metres in length needs painting. The area of the fence needs to be calculated so that enough paint for the job is purchased. After the task is decomposed, there are three component parts: input, process and output. Three component parts and four example descriptions are shown. Draw one line from each component part to the most appropriate relevant description. Not all descriptions will be used. Component part process output input Description the height of the fence the length of the fence The amount of paint required is 40 square metres. the colour of the paint The area of fence is calculated as 40 square metres.[3]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (May/June 2025). The mark or mark type is shown in brackets.

  1. [1] One mark for each correct line, max three
  2. process -> The area of fence is calculated as 40 square metres.
  3. output -> The amount of paint required is 40 square metres.
  4. input -> the height of the fence // the length of the fence

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Algorithm design and problem-solving, O-Level Computer Science (syllabus 2210). Structured question, 3 marks.
Source
O-Level Computer Science, May/June 2025 Paper 2 Variant 2, question 2.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep