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

Question 7(a) 2023 · May-June · Paper 23 · 6 marks

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 mark point, max six

Question 6

✓
correct Total column
✓
correct Value column
✓
correct Five1 column
✓
correct Five2 column
✓
correct Ten1 and Ten2 columns
✓
correct OUTPUT column
✓
Total
✓
Value
✓
Five1
✓
Five2
✓
Ten1
✓
Ten2
✓
OUTPUT
✓
0

Question 5

Question 1

Question 1

✓
0
✓
0.5
✓
Rejected

Question 50

Question 10

Question 10

Question 5

Question 5

Question 50

Question 52

Question 10

✓
10.4
✓
Rejected
✓
555
✓
111
✓
111

Question 55

✓
55.5
✓
Rejected

Question 57

Question 11

✓
11.4
✓
Rejected
✓
500
✓
100
✓
100

Question 50

Question 50

✓
550
  • 1
✓
550

Mark scheme 0478_s23_ms_23.pdf →

Show text version of question

Question 7

Part (a)

Question 7

The flowchart represents an algorithm.

An input of –1 will terminate the algorithm.

START

Total 0

INPUT Value

IS Yes Value =

  • 1 ?

No OUTPUT OUTPUT Total "Rejected" Five1 Value DIV 5

STOP Five2 Value / 5

No IS Five1 = Five2 ?

Yes

Ten1 Value DIV 10

Ten2 Value / 10

No IS Ten1 = Ten2 ?

Yes Total Total + Value

Question 7

Part (a)

Complete the trace table for the input data:

Total Value Five1 Five2 Ten1 Ten2 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_s23_qp_23.pdf

Keep practising this topic