Quelpr
1 markPaper 1 · Multiple choiceRepresenting Algorithms

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

Which of the following tasks does the following algorithm perform? Read (A, B) If A<B Then Print(A);

  1. (A)Reads two numbers and prints the first number
  2. (B)Reads two numbers and prints the smaller number
  3. (C)Reads two numbers and prints the first number if it is larger than the second number
  4. (D)Reads two numbers and prints the first number if it is smaller than the second number

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