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
- (A)2, 9
- (B)2, 11
- (C)7, 9
- (D)7, 11
More practice: the rest of this paper · more Representing Algorithms questions · all CSEC Information Technology past papers