Question 7 2023 · May-June · Paper 21 · 0 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 7
The flowchart represents an algorithm.
START
Pointer 1
INPUT Letter
IS No Word[Pointer, 1] Pointer Pointer + 1 = Letter ?
Yes
OUTPUT "Letter ", Letter, " is represented by ", Word[Pointer, 2]
OUTPUT "Another Letter? (Y or N)"
INPUT Choice
Yes IS No Choice = STOP 'Y' ?
Question 7
The table represents the two-dimensional (2D) array Word[] which stores the first half of the phonetic alphabet used for radio transmission. For example, Word[10,1] is ‘J’.
Index 1 2 1 A Alpha 2 B Bravo 3 C Charlie 4 D Delta 5 E Echo 6 F Foxtrot 7 G Golf
Why this question appears here
98% assigned-topic match · Algorithm design and problem-solving
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 0478_s23_qp_21.pdf
