Quelpr

CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 4(a)

Construct a flow chart to represent the given algorithm calculating commission based on numDays and numItemsSold.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 4(b)Given the input data line '3 2 1 5 7 4', determine what the provided algorithm would print. Show your working.[3 marks]
  2. 4(c)Trace through the execution of the provided algorithm and draw the output exactly as generated, noting the definitions of printSpaces, print, and println.[10 marks]

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