ECZ 2026 · GCE Paper 1 — Computer and Calculator
In the answer space is an incomplete program written in pseudocode for calculating the volume (v) of a cylinder given the height (h) and radius (r): Start Enter …… v = …… Output v Stop Complete the program. [v = πr2h]
- A. Enter v; v = π × r2 × h
- B. Enter h, r; v = 2 × π × r × h
- C. Enter h, r; v = π × r2 × h
- D. Enter r; v = π × r2
Verified working — step 1
A program can only use values it has been given, so the Enter line must supply every letter the formula uses - but never the answer v itself.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