Quelpr

CSEC Information Technology · May/June 2013 · Paper 2 · Question 9(a)

Draw a flowchart to illustrate the following fragment of code: IF P > Q THEN PA = P - Q ELSE QA = Q - P

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 9(b)Complete the trace table using the code provided in (a).[8 marks]

More practice: the rest of this paper · more Representing Algorithms questions · all CSEC Information Technology past papers