Past-paper question · 2024 May-June · Paper 23 · Q5(a)

Question 5(a) 2024 · May-June · Paper 23 · 6 marks

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

Official answer for Question 5

Part (a)

✓
MP1
✓
Correct L column

Question 6

✓
MP2
✓
Correct S column
✓
MP3
✓
Correct T column
✓
MP4
✓
Correct A column
✓
MP5
✓
Correct Limit, Count and Value columns
✓
MP6
✓
Correct OUTPUT columns
✓
L
✓
S
✓
T
✓
A
✓
Limit
✓
Count
✓
Value
✓
OUTPUT
✓
0
✓
10000
✓
0
✓
0

Question 10

Question 1

Question 30

Question 30

Question 30

Question 2

Question 18

Question 18

Question 48

Question 3

Question 8

Question 8

Question 56

Question 4

Question 25

Question 81

Question 5

Question 12

Question 93

Question 6

Question 17

✓
110

Question 7

Question 2

Question 2

✓
112

Question 8

Question 50

Question 50

✓
162

Question 9

Question 15

✓
177

Question 10

Question 5

✓
182
✓
18.2

Question 11

✓
L = 50 S = 2
✓
T = 182 A = 18.2

Mark scheme 0478_s24_ms_23.pdf →

Show text version of question

Question 5

Part (a)

Question 5

The flowchart represents an algorithm.

START

L 0 S 10000 T 0

A
0

INPUT Limit

Count 1

INPUT Value

IS IS No No Value < S Value > L ? ?

Yes Yes

S Value L Value

T T + Value

IS No Count > Count Count + 1 Limit ?

Yes

A
T / Limit

OUTPUT "L = ", L, " S = ", S, " T = ", T, " A = ", A

STOP

Question 7

Part (a)

Complete the trace table for the input data:

L S T A Limit Count Value OUTPUT

[6]
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_s24_qp_23.pdf

Keep practising this topic