Quelpr
1 markPaper 1 · Multiple choiceRepresenting Algorithms

CSEC Information Technology · May/June 2019 · Paper 1 · Question Q46

Consider the following algorithm. a = 7 b = 9 a = b - a b = a + b Write a, b The output of this algorithm is

  1. (A)2, 9
  2. (B)2, 11
  3. (C)7, 9
  4. (D)7, 11

The answer is shown once you've answered.

Practise this question

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