Quelpr

CAPE Computer Science Unit 1 · 2010 · Paper 2 · Question 4(b)

Write an algorithm that uses iteration to find the sum of all multiples of 3 and all multiples of 4 between 3 (inclusive) and 150 (exclusive).

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 4(a)Trace through the execution of the given algorithm and draw the exact output generated.[11 marks]
  2. 4(c)A video club has purchased tracking software for DVD rentals, stock, and new titles to be used on two computers at one site. Briefly explain what the…[6 marks]

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