ECZ 2023 · GCE Paper 2 · Question 5 — Computer and Calculator

Pseudocode given: Begin; Enter n; IF n < 0 THEN Display 'error n must be positive' ELSE sum = n2* [2*a + (n - 1)*d]; ENDIF; Display sum; End.

(a) Draw a corresponding flowchart for the information given above.[5]

Diagram for part (a)

Verified working — step 1

Flowchart:

(b) Solve the equation 8x2 - 9x + 2 = 0, giving your answers correct to 2 decimal places.[5]

Verified working — step 1

8x2 - 9x + 2 = 0

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