ECZ 2022 · O-Level Paper 2 · Question 4 — Computer and Calculator
A box contains identical cards and on each card a letter of the English alphabet is printed. A card is selected at random from the box and not replaced, and a second card is then selected.
(a) Study the flowchart. Write a pseudocode corresponding to the flowchart above.[5]

Verified working — step 1
Each flowchart shape becomes one pseudocode line: the terminals give Start and Stop, the parallelograms give t…(b(i)) A box contains identical cards each printed with a letter of the English alphabet. A card is selected at random and not replaced, then a second is selected. Find the probability that the two cards selected have vowels printed.[2]
Verified working — step 1
The alphabet has 26 lette…(b(ii)) Find the probability that one has a vowel and the other a consonant printed.[3]
Verified working — step 1
There are 5 vowels and 21 consonants.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