Quelpr

CAPE Computer Science Unit 1 · 2011 · Paper 2 · Question 3(c)

By referring to the specific line number, identify and correct the errors in the given algorithm designed to print a table of squares of all even numbers between 1 and 100 inclusive.

This question uses a figure or table from the paper — you'll see it when you practise.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 3(a)Describe any THREE stages in the problem solving process.[6 marks]
  2. 3(b)Construct a flowchart to represent the given algorithm that finds the average age of a set of students.[11 marks]

More practice: the rest of this paper · more Algorithm Verification and Development questions · all CAPE Computer Science Unit 1 past papers