ECZ 2019 · GCE Paper 1 — Computer and Calculator
An incomplete program in pseudocode reads: Start; Enter ……; m = ……; Output m; Stop. The program calculates the mean (m) of 10 numbers whose sum is S. Which statements correctly fill the two blanks?

- A. Enter m; m = S × 10
- B. Enter S; m = 10S
- C. Enter S; m = S10
- D. Enter 10; m = S + 10
Verified working — step 1
The program needs the sum S as its input, and the mean of 10 numbers is their sum divided by 10. So the blanks are “Enter S” and “m = …The full step-by-step working and final answer are included with Premium — checked against ECZ marking standards.
Original examination question © Examinations Council of Zambia. Worked solution and commentary © G12 Titan — not to be reproduced without permission.
Have a different question?
Search it — if it is from a past paper or a school mock, chances are we have it worked out, or one that uses the same method.
Search any past-paper question