ECZ 2022 · O-Level Paper 2 · Question 4 — Computer and Calculator
Question from ECZ 2022 · O-Level Paper 2 · Question 4
(a) Study the flowchart below. Write a pseudocode corresponding to the flowchart above.[5]

Verified working — step 1
Read the flowchart top to bottom, one pseudocode line per symbol:(b) 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. Find the probability that the two cards selected
(b(i)) have vowels printed,[2]
Verified working — step 1
The alphabet has 26 letters, 5 of them vowels, drawn WITHOUT replacement.(b(ii)) one has a vowel and the other a consonant printed.[3]
Verified working — step 1
5 vowels and 21 consonants. "One of each" happens two ways: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