Past-paper question · 2025 February-March · Paper 22 · Q7(a)

Question 7(a) 2025 · February-March · Paper 22 · 5 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 correct column

Question 5

✓
Answer
✓
Value1
✓
Operator
✓
Value2
✓
OUTPUT
✓
Continue?
✓
−2
✓
Y

Question 7

✓
S

Question 9

✓
Continue?
✓
Y

Question 5

✓
M

Question 12

Question 60

✓
Continue?
✓
Y

Question 25

✓
D

Question 5

Question 5

✓
Continue?
✓
N

Mark scheme 0478_m25_ms_22.pdf →

Show text version of question

Question 7

Part (a)

Question 7

This flowchart represents an algorithm.

START

OUTPUT "Continue?"

INPUT Answer

No IS Answer = Yes 'Y' ?

INPUT STOP Value1

INPUT Operator

Yes IS Operator = INPUT 'A' ? Value2 OUTPUT Value1 + No Value2

Yes IS Operator = 'S' ? OUTPUT Value1 – No Value2

Yes IS Operator = No 'M' ? OUTPUT OUTPUT Value1 * Value1 /

Value2 Value2

Question 7

, ,

Part (a)

Complete the trace table for the input data:

Y, 7, S, 9, Y, 5, M, 12, Y, 25, D, 5, N, 10, A, 6

Answer Value1 Operator Value2 OUTPUT

[5]
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_m25_qp_22.pdf

Keep practising this topic