ECZ 2016 · O-Level Paper 1 — Computer and Calculator
In the answer space below is an incomplete simple program pseudocode for calculating and outputting the volume of a cylinder V, given the base radius r and the height h. Which statements complete the blank spaces?

- A. Enter V ; V = πrh
- B. Enter r, h ; V = 2πrh
- C. Enter r, h ; V = πr2h
- D. Enter r, h, V ; V = πr2
Verified working — step 1
The program can only use what has been entered, so the Enter line must collect everything the VOLUME formula needs.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