ECZ 2021 · GCE Paper 2 · Question 6 — Computer and Calculator

Pseudocode given: Start; Enter length; If length < 0 THEN display error message 'length must be positive'; Else enter height; If height < 0 THEN display error message 'height must be positive'; Else volume = 13* length3 * height; End if; Display volume; Stop.

(a) Express 22x - 1- 33x - 1as a single fraction in its simplest form.[3]

Verified working — step 1

Combine over common denominator (2x-1)(3x-1):

(b) Draw a corresponding flowchart for this pseudocode.[5]

Diagram for part (b)

Verified working — step 1

Draw the flowchart using standard symbols as follows:

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