ECZ 2025 · O-Level Paper 2 · Question 5 — Computer and Calculator
Question from ECZ 2025 · O-Level Paper 2 · Question 5
(a) Study the following pseudocode. Start Enter r, θ IF r < 0 THEN Print "error, r must be positive" ELSE A = 12 * r * r * sin θ END IF Print A Stop Draw a flowchart corresponding to the pseudocode above.[5]
Verified working — step 1
Work down the pseudocode, one symbol per statement.(b) Show that the points R(2, 1), A(4, 7) and B(7, 16) are collinear.[5]
Verified working — step 1
Two segments with equal gradients through a shared point lie on one straight line.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