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

Question 7(b) 2023 · May-June · Paper 21 · 1 mark

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

Official answer for Question 7

Part (b)

✓
(Linear) search

Question 1

✓
2210/21
✓
Cambridge O Level – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s23_ms_21.pdf →

Show text version of question

Question 7

Part (b)

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 (b)

Identify the type of algorithm used.

................................................................................................................................................... .............................................................................................................................................

[1]
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