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);
- (A)Reads two numbers and prints the first number
- (B)Reads two numbers and prints the smaller number
- (C)Reads two numbers and prints the first number if it is larger than the second number
- (D)Reads two numbers and prints the first number if it is smaller than the second number
More practice: the rest of this paper · more Representing Algorithms questions · all CSEC Information Technology past papers