Computer Science (9618) · Oct/Nov 2025 · Mark scheme 31

Cambridge Computer Science (9618) mark scheme for paper 31, Oct/Nov 2025 — 9618/31/O/N/25, file 9618_w25_ms_31.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge International AS & A Level
COMPUTER SCIENCE

9618/31

Paper 3 Advanced Theory

October/November 2025

MARK SCHEME
Maximum Mark: 75

Published

This mark scheme is published as an aid to teachers and candidates, to indicate the requirements of the
examination. It shows the basis on which Examiners were instructed to award marks. It does not indicate the
details of the discussions that took place at an Examiners’ meeting before marking began, which would have
considered the acceptability of alternative answers.
Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report f or
Teachers.
Cambridge International will not enter into discussions about these mark schemes.
Cambridge International is publishing the mark schemes f or the October/November 2025 series f or most
Cambridge IGCSE, Cambridge International A and AS Level components, and some Cambridge O Level
components.

This document consists of 15 printed pages.
© Cambridge University Press & Assessment 2025

[Turn over

9618/31

October/November 2025
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED
Generic Marking Principles

These general marking principles must be applied by all examiners when marking candidate answers. They should be applied alon gside the
specific content of the mark scheme or generic level descriptions for a question. Each question paper and mark scheme will also comply with these
marking principles.
GENERIC MARKING PRINCIPLE 1:
Marks must be awarded in line with:
•
•
•

the specific content of the mark scheme or the generic level descriptors for the question
the specific skills defined in the mark scheme or in the generic level descriptors for the question
the standard of response required by a candidate as exemplified by the standardisation scripts.

GENERIC MARKING PRINCIPLE 2:
Marks awarded are always whole marks (not half marks, or other fractions).
GENERIC MARKING PRINCIPLE 3:
Marks must be awarded positively:
•
•
•
•
•

marks are awarded for correct/valid answers, as defined in the mark scheme. However, credit is given for valid answers which go beyond
the scope of the syllabus and mark scheme, referring to your Team Leader as appropriate
marks are awarded when candidates clearly demonstrate what they know and can do
marks are not deducted for errors
marks are not deducted for omissions
answers should only be judged on the quality of spelling, punctuation and grammar when these features are specifically assess ed by the
question as indicated by the mark scheme. The meaning, however, should be unambiguous.

GENERIC MARKING PRINCIPLE 4:
Rules must be applied consistently, e.g. in situations where candidates have not followed instructions or in the application of generic level
descriptors.

© Cambridge University Press & Assessment 2025

Page 2 of 15

9618/31

October/November 2025
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

GENERIC MARKING PRINCIPLE 5:
Marks should be awarded using the full range of marks defined in the mark scheme for the question (however; the use of the fu ll mark range may
be limited according to the quality of the candidate responses seen).
GENERIC MARKING PRINCIPLE 6:
Marks awarded are based solely on the requirements as defined in the mark scheme. Marks should not be awarded with grade thre sholds or
grade descriptors in mind.

© Cambridge University Press & Assessment 2025

Page 3 of 15

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Annotations guidance for centres
Examiners use a system of annotations as a shorthand for communicating their marking decisions to one another. Examiners are trained during the
standardisation process on how and when to use annotations. The purpose of annotations is to inform the standard isation and monitoring
processes and guide the supervising examiners when they are checking the work of examiners within their team. The meaning of annotations and
how they are used is specific to each component and is understood by all examiners who mark the component.
We publish annotations in our mark schemes to help centres understand the annotations they may see on copies of scripts. Note that there may
not be a direct correlation between the number of annotations on a script and the mark awarded. Similarly, the use of an annotation may not be an
indication of the quality of the response.
The annotations listed below were available to examiners marking this component in this series.
Annotations
Annotation

Meaning
Correct
Incorrect
To indicate where a key word/phrase/code is missing.
Not relevant or used to separate parts of an answer.
Indicates a part of the answer that is incorrect.

Highlighter

To draw attention to a particular aspect or to indicate where parts of an answer have been combined.
Too vague.
Repetition
No examples or not enough.

© Cambridge University Press & Assessment 2025

Page 4 of 15

October/November 2025
www.dynamicpapers.com

9618/31
Annotation

Cambridge International AS & A Level – Mark Scheme
PUBLISHED
Meaning
Benefit of Doubt.
Not Answered Question.

Indicates that work or a page has been seen including blank answer spaces and blank pages.
Follow through.
Ignore

© Cambridge University Press & Assessment 2025

Page 5 of 15

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question

Answer

Marks

1(a)(i)

DECLARE Member1 : ClubMember

1

1(a)(ii)

One mark for each correct answer

2

Guidance

Example answer
Member1.Code  984632
Member1.FeesPaid  TRUE
1(b)(i)

One mark per mark point (Max 2)
MP1
TYPE Activity=
MP2
(Badminton, Football, Golf, Snooker, Swimming, Tennis)

2

Example answer
TYPE Activity = (Badminton, Football, Golf, Snooker, Swimming,
Tennis)
1(b)(ii)

1

DECLARE Choice : Activity

Question
2(a)

Answer

Marks

One mark per mark point (Max 2)
MP1
Correct mantissa
MP2
Correct exponent

2

Mantissa
0

1

1

1

0

© Cambridge University Press & Assessment 2025

1

0

Exponent
1

1

0

1

0

1

Page 6 of 15

0

0

1

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
2(b)

Answer

Marks

One mark per mark point (Max 4)
MP1
correct method to find the binary number
MP2
additional working towards binary number
MP3
correct use of exponent
MP4
correct answer in the space provided

Guidance

4

Two from:
e.g.
76.1875 = 64+8+4+0.125+0.0625
(0)1001100.0011
–76.1875 = –128+32+16+2+1+0.5+0.25+0.0625
10110011.11 01
One mark
movement of binary point by 7 places // 1.011001111 01 x 27
One mark
Mantissa
1

0

1

1

0

0

1

Exponent
1

1

1

0

1

0

1

1

1

Question

Answer

3(a)

One mark per mark point (Max 2)
MP1
Protocols set a standard for communication // Protocols establish a standard set
of rules for communication
MP2
Protocols enable compatibility between devices from different
manufacturers/platforms
MP3
Two devices wouldn’t be able to communicate/send messages to each other if
they were using different protocols

© Cambridge University Press & Assessment 2025

Marks

Page 7 of 15

2

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
3(b)

Answer

Marks

One mark for a protocol and one mark for a description (Max 4)

Guidance

4

Example answers:
SMTP [1] a protocol used to send emails between mail servers // a protocol used to
send emails from a computer to a mail server [1]
IMAP [1] allows users to access/read their emails from any device without removing
the message from the mail server // synchronises emails on any device [1]
3(c)

Two marks for each description mark as 2 x 2 (Max 4)

4

Example answers:
Packets checked at receiving end / on arrival [1]
… if packets arrive damaged or don’t arrive at all, a re-send request is sent [1]
Packets routed through different paths / sent individually [1]
… if a route is blocked, the packet is sent through a different route to ensure it arrives [1]
If the packet’s hop count is exceeded [1]
… the packet will be retired, which can generate a re-send request [1]

Question
4(a)

Answer

Marks

One mark per scheduling routine (Max 2) from:
• Round robin
• Shortest job first
• First come first served
• Shortest remaining time

2

© Cambridge University Press & Assessment 2025

Page 8 of 15

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
4(b)

Answer

Marks

One mark for identification and one mark for a description (Max 4)

Guidance

4

Two from:
Provision of a User Interface // Provision of a Graphical User Interface [1]
Allows the user to interact with the computer in a more intuitive way // Icons and menus
are used to control devices by simply ‘pointing and clicking’ [1]
Use of device drivers [1]
Makes it easier to control peripherals such as printers within the operating system of the
computer rather than on the separate device itself [1]
Device mapping [1]
Different devices (physical and virtual) are easy to identify on the network, check their
status, or use [1]
The user interacts only with the Application / top layer (of the TCP/IP protocol suite) [1]
leaving the lower layers and their complexities hidden from the user [1]

Question
5(a)

Answer

Marks

Two from:
• Name of certificate holder // Subject
• Serial number
• Version number
• Expiration date // Start date // Validity (not before/not after)
• Certificate holder’s public key // Subject public key
• Subject digital signature
• Certificate Issuer // Digital signature of CA

© Cambridge University Press & Assessment 2025

Page 9 of 15

2

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question

Answer

5(b)

One mark per mark point (Max 3)
MP1
A digital certificate provides a public key
MP2
… which validates the private key used to create the digital signature
MP3
It makes a digital signature virtually impossible to spoof // Provides evidence of
signer identity that the document was not altered and the signatures are valid
MP4
Non repudiation.

Question

Answer

6(a)

Marks

3

Working space
A

B

C

P

Q

R

S

Z

0

0

0

1

1

1

1

0

0

0

1

1

0

1

0

0

0

1

0

1

1

1

1

1

0

1

1

1

0

1

1

1

1

0

0

0

1

1

1

0

1

0

1

0

0

0

1

0

1

1

0

0

1

1

1

1

1

1

1

0

0

1

1

1

© Cambridge University Press & Assessment 2025

3

Marks

One mark for working, (all four columns P, Q, R and S)
One mark for first four rows of column Z
One mark for second four rows of column Z

Page 10 of 15

Guidance

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
6(b)(i)

Answer
Two marks if no errors present
One mark if only one error present
BC

01

11

10

0

0

0

1

1

1

0

1

0

1

One mark for each correct loop (Max 2)
BC

6(b)(iii)

2

00

01

11

10

0

0

0

1

1

1

0

1

0

1

A

Guidance

2

00

A

6(b)(ii)

Marks

One mark for each mark point (Max 2)
• One correct Boolean term with a + / OR sign
• All Boolean terms and operators correct and no other terms present

2

A.B + B.C + A.B.C

Question
7(a)

Answer

Marks

One from:
• A* algorithm
• Dijkstra’s algorithm

© Cambridge University Press & Assessment 2025

1

Page 11 of 15

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question

Answer

Marks

7(b)

One mark for each mark point (Max 5)
MP1
Deep learning is a branch of machine learning
MP2
It makes use of artificial neural networks
MP3
… to work in a similar manner to the human/biological brain // … neural
networks can be trained to process data
MP4
It is a structure consisting of many interconnected layers
MP5
… input, hidden and output // the input layer feeds the first hidden layer, the last
hidden layer feeds the output
MP6
… gradually breaking down and analysing the data to find (hidden) patterns
MP7
Deep leaning’s feature extraction/learning involves how to detect
features/categories from data
MP8
… and can involve different types of supervision
MP9
It works well with large data sets
MP10 Deep learning uses back propagation of errors to adjust parameters/weightings
to refine its results / improve its accuracy.

Question

Answer

5

Marks

8(a)

One mark per mark point (Max 2)
MP1
To convert the high-level source code / program into a sequence of tokens
MP2
… that can be sent to the parser for syntax analysis
MP3
To create a symbol table
MP4
To remove the unnecessary white space and comments from the code

2

8(b)

One mark 2 6 –
One mark 13 7 + * 5 /

2

Complete answer
2 6 – 13 7 + * 5 /

© Cambridge University Press & Assessment 2025

Page 12 of 15

Guidance

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
8(c)

Answer

Marks

One mark per ring (Max 4)

4

12

5

9(a)(i)

6

6

6

18

5

5

5

Question

90

15

15

9

90

90

90

10

Answer

Marks

One mark for each correctly completed line (Max 5)

5

FUNCTION Pop() RETURNS STRING
DECLARE DataItem : STRING
DataItem  ""
IF Top > –1 // Top >= Base THEN
DataItem  StackArray[Top]
Top  Top – 1
ELSE
DataItem  "You cannot remove data; the stack is empty"
ENDIF
RETURN DataItem // StackArray[Top + 1]
ENDFUNCTION
© Cambridge University Press & Assessment 2025

Guidance

Page 13 of 15

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question

Answer

Marks

9(a)(ii)

OUTPUT "The data removed from the stack is ", Pop()

1

9(b)

One mark per mark point (Max 3)
MP1
A recursive algorithm must call itself / have a general case
MP2
It must have a base case / have a stopping condition
MP3
It must change its state and move towards the base case

3

Question
10

Answer

Marks

One mark per mark point (Max 2)
MP1
Exception handling is a process that responds to unwanted / unexpected
events when a program runs
MP2
… to prevent the program / computer from stopping unexpectedly
One mark for example (Max 1)
MP3
Programming errors
MP4
User errors
MP5
Hardware failure // losing connection to a device such as a printer

© Cambridge University Press & Assessment 2025

Page 14 of 15

3

Guidance

Guidance

October/November 2025
www.dynamicpapers.com

9618/31

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

Question
11(a)

Answer

Marks

One mark per mark point (Max 6)
MP1
LDM #100 seen
MP2
Correct use of STO with labelled address (constant or answer)
MP3
Correct use of LDD 632
MP4
Correct use of SUB with labelled address (constant)
Opcode

6

Operand

LDM #100
STO Constant
LDD 632
SUB Constant
STO Answer

MP5
MP6

Storing 100 at a labelled address away from the code
Labelling both addresses away from the code.
Label
Constant:

Contents
100

Answer:
11(b)

–55

© Cambridge University Press & Assessment 2025

1

Page 15 of 15

Guidance

Advertisement