ECZ 2016 · O-Level Paper 1 — Computer and Calculator

An incomplete pseudocode calculates and outputs the volume V of a cylinder given base radius r and height h (Begin; Enter …; V = …; Output V; End). Which statements complete the blanks?

Diagram for ECZ 2016 · O-Level Paper 1
  • A. Enter V ; V = πrh
  • B. Enter r, h ; V = 2πrh
  • C. Enter r, h ; V = πr²h
  • D. Enter r, h, V ; V = πr²

Verified working — step 1

The program must read the given quantities (Enter r, h) then compute the volume with its formula V = …

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

More Computer and Calculator questions from past papers