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

In the answer space below is an incomplete program written in pseudocode for calculating the volume V of a cuboid, given the length, l, base, b, and the height, h. Complete the program by filling in the blank spaces with appropriate statements.

Diagram for ECZ 2019 · O-Level Paper 1
  • A. Enter V; l = Vb*h
  • B. Enter l, b and h; V = l + b + h
  • C. Enter l and b; V = l*b
  • D. Enter l, b and h; V = l*b*h

Verified working — step 1

The formula for the volume of a cuboid is:

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