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

In the following diagram, ABCD is a trapezium. AB is parallel to CD and X is a point on CD such that AX is the perpendicular height of the trapezium. AB = a, CD = b and AX = h. In the answer space below is an incomplete program written in pseudocode for calculating the area (A) of the trapezium. Complete the program.

Diagram for ECZ 2024 · O-Level Paper 1
  • A. Enter a and b; A = a * b
  • B. Enter a, b and h; A = 12* (a + b) * h
  • C. Enter h; A = 12* a * b
  • D. Enter a, b and h; A = (a + b) * h

Verified working — step 1

The inputs needed are a, b and h.

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