Past-paper question · 2023 May-June · Paper 21 · Q7(a)

Question 7(a) 2023 · May-June · Paper 21 · 4 marks

Original past-paper question for 7(A)
Original past-paper question for 7(A)
Original past-paper question for 7(A)
Reveal official mark-scheme answer Official mark-scheme answer for 7(A)

Official answer for Question 7

Part (a)

✓
One mark per correct column, max four

Question 4

✓
Pointer
✓
Letter
✓
Choice
✓
OUTPUT

Question 1

✓
F

Question 2

Question 3

Question 4

Question 5

Question 6

✓
Letter F is represented by Foxtrot
✓
Another Letter? (Y or N)
✓
Y

Question 1

✓
D

Question 2

Question 3

Question 4

✓
Letter D is represented by Delta
✓
Another Letter? (Y or N)
✓
N

Mark scheme 2210_s23_ms_21.pdf →

Show text version of question

Question 7

Part (a)

Question 7

The flowchart represents an algorithm. START Pointer

Question 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 IS Yes 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

Question 1

Question 2

Question 1

A Alpha

Question 2

B Bravo

Question 3

C Charlie

Question 4

D Delta

Question 5

E Echo

Question 6

F Foxtrot

Question 7

G Golf

Question 8

H Hotel

Question 9

I India

Question 10

J Juliet

Question 11

K Kilo

Question 12

L Lima

Question 13

M Mike

Part (a)

Complete the trace table for the algorithm by using the input data: F, Y, D, N

Pointer Letter Choice OUTPUT

[4]

Question 8

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 2210_s23_qp_21.pdf

Keep practising this topic