ECZ 2022 · GCE Paper 2 · Question 6 — Probability

A bag contains 9 identical cards, 4 of which are Kuhanjika (K) cards, 3 Landa (L) cards and the rest are Bulela (B) cards. Two cards are selected at random from the bag one after the other and not replaced. Pseudocode given: Start; Enter R, r, l; IF r > R THEN Print 'Error the value of r is not valid' ELSE S = π * (R + r) * l; END IF; Print S; Stop.

(a(i)) Draw a tree diagram to show all the possible outcomes.[2]

Verified working — step 1

Bag has 9 cards: 4K, 3L, 2B.

(a(ii)) What is the probability that both cards selected are of the same type?[3]

Verified working — step 1

Same type means KK, LL, or BB.

(b) Construct a flowchart corresponding to the pseudocode above.[5]

Diagram for part (b)

Verified working — step 1

Flowchart (following standard symbols):

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 Probability questions from past papers