Quelpr

Other parts of this question

  1. 4(b)Trace through the execution of the given algorithm and draw the exact output generated, using a dash '-' to represent spaces printed by printSpaces(n).[11 marks]
  2. 4(c)(i)Write an algorithm that uses iteration to print the sum of ALL multiples of 11 (integers) between 0 and 5 000, inclusive.[8 marks]
  3. 4(c)(ii)Indicate whether 'bounded' or 'unbounded' iteration was used in your response for 4(c)(i) and state ONE reason for its use.[3 marks]

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