Past-paper question · 2023 May-June · Paper 21 · Q7

Question 7 2023 · May-June · Paper 21 · 0 marks

Original past-paper question for 7
Original past-paper question for 7
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 0478_s23_ms_21.pdf →

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

Topic relevance

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

Keep practising this topic