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

Section B

  1. (a)Write an algorithm to input three different numbers, and then output the largest number. Use either pseudocode or a flowchart.[4]
  2. (b)Give two sets of test data to use with your algorithm in part (a) and explain why you chose each set. Test data set 1 Reason Test data set 2 Reason[4]

Mark scheme

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

  1. [1] Input three numbers
  2. [1] Attempt to select largest number
  3. [1] Working method
  4. [1] print out largest number
  5. [1] for each data set and 1 mark for the matching reason.

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, 8 marks.
Source
O-Level Computer Science, May/June 2017 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