Past-paper question · 2025 October-November · Paper 23 · Q7(a)

Question 7(a) 2025 · October-November · Paper 23 · 5 marks

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)

Question 5

✓
One mark for each:
✓
1 S2 to S5 labelled
✓
2 Label A1 added to event from S1 to S2
✓
3 Event lines from S2 to S3 and S3 to S2 correctly labelled
✓
4 Events lines from S3 to S3 and event line from S3 to S4 all labelled
✓
correctly
✓
5 Event lines from S4 to S5 correctly and event line from S4 to S2 labelled
✓
correctly
✓
9618/23
✓
Cambridge International AS & A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2025
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_w25_ms_23.pdf →

Show text version of question

Question 7

Part (a)

Question 7

There are several different ways to express an algorithm during the design of a program.

Part (a)

One part of the program contains an algorithm which is represented by a state-transition

diagram.

The table shows the inputs, outputs and states for the algorithm:

Current state Input Output Next state S1 A1 S2

S2 A2 X4 S3 S3 A1 X1 S3 S3 A2 X1 S3 S3 A3 X3 S4 S3 A4 S2 S4 A3 X4 S5 S4 A4 X4 S5 S4 A1 S2

Complete the state-transition diagram to represent the information given in the table:

START S1

[5]

* 0000800000017 * DFD

Question 17

, ,

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Programming basics

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 9618_w25_qp_23.pdf

Keep practising this topic