Computer Science (9618) · May/June 2026 · Question paper · Paper 32

Cambridge International AS & A Level Computer Science question paper for Paper 32, May/June 2026 — 9618/32/M/J/26, file 9618 Computer Science June 2026 Question Paper 32.pdf.

Advertisement
Loading the paper…
Text of this paper

DFD

* 0000800000001 *

,

,

Cambridge International AS & A Level
¬PŠ. 4mHuOªEŠ]z5€W
¬AYqVŸ˜r\st_ƒŽ–¡G‚
¥Uu•u5¥55U• u 5eU

* 1 8 9 0 2 7 2 1 2 7 *

COMPUTER SCIENCE

9618/32

Paper 3 Advanced Theory

May/June 2026
1 hour 30 minutes

You must answer on the question paper.
No additional materials are needed.
INSTRUCTIONS
●
Answer all questions.
●
Use a black or dark blue pen.
●
Write your name, centre number and candidate number in the boxes at the top of the page.
●
Write your answer to each question in the space provided.
●
Do not use an erasable pen. Do not use correction fluid or tape.
●
Do not write on any bar codes.
●
You may use an HB pencil for any diagrams, graphs or rough working.
●
Calculators must not be used in this paper.

INFORMATION
●
The total mark for this paper is 75.
●
The number of marks for each question or part question is shown in brackets [ ].
●
No marks will be awarded for using brand names of software packages or hardware.

This document has 16 pages. Any blank pages are indicated.
DC (SL/CT) 363142/2
© Cambridge University Press & Assessment 2026

[Turn over

2
,

1

,

A user-defined data type is required to store the types of animals in a children’s zoo.
(a) Write the pseudocode statement to declare a non-composite data type, Animals, that holds
the following data:
Alpaca, Chicken, Donkey, Duck, Goat, Pony, Sheep

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000002 *

[2]
State the type of user-defined non-composite data type created in 1(a).
[1]
(ii)

Give two features that would apply to any list used in the data type in 1(a).
1

2

[2]

2

Complete the following paragraph using the most appropriate words from the given list.

DO NOT WRITE IN THIS MARGIN

(b) (i)

DO NOT WRITE IN THIS MARGIN

application

controls

disconnects

four

interconnects

internet

link

lists

many

packets

seven

transport

The TCP/IP protocol suite consists of layers which can be thought of as
a stack. It is designed to send of data across the internet. It is also used

DO NOT WRITE IN THIS MARGIN

Some words are not used.

The lowest layer of the stack is the layer. This is the layer that
nodes in the network.

© Cambridge University Press & Assessment 2026
ĬÎĊ®Ġ´íÈõÏĪÅĊàü·þ×
ĬÁÛò×īĔĘãþĆÄ»ĨæÙ¿Ă
ĥąĥĕµÕåÕąĕÅÅąµĥõąÕ

9618/32/M/J/26

[4]

DO NOT WRITE IN THIS MARGIN

as a communications protocol to ensure accurate delivery of data over private networks.

DFD

DO NOT WRITE IN THIS MARGIN

* 0000800000003 *

3
,

3

,

Numbers are stored in a computer system using binary floating-point representation with:

•
•
•

12 bits for the mantissa
4 bits for the exponent
two’s complement form for both the mantissa and the exponent.

(a) Calculate the denary value of the given normalised binary floating-point number.

DO NOT WRITE IN THIS MARGIN

Show your working.
mantissa
1

0

1

1

0

1

0

exponent
0

0

1

1

0

0

1

1

0

working

DO NOT WRITE IN THIS MARGIN

denary value
[3]
(b) Describe one example of a situation that could cause underflow to occur and the
consequences of this underflow.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[2]

© Cambridge University Press & Assessment 2026
ĬÐĊ®Ġ´íÈõÏĪÅĊàú·þ×
ĬÁÜñÏĝĐĨÖüûąğĐòÙ¯Ă
ĥąĕÕõµÅµĕĥĕÅąÕąµĕÕ

9618/32/M/J/26

[Turn over

4
,

4

,

(a) State one example of where sequential file organisation could be used.

[1]
(b) Describe how records are organised in sequential files.

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000004 *

[2]
(c) Outline the process of sequential file access to find a record in a sequential file.

DO NOT WRITE IN THIS MARGIN

[3]
Explain what is meant by the term virtual machine.

DO NOT WRITE IN THIS MARGIN

5

DO NOT WRITE IN THIS MARGIN

[4]

© Cambridge University Press & Assessment 2026
ĬÎĊ®Ġ´íÈõÏĪÅĊÞü·Ā×
ĬÁÜôÏħĞġáöôþ½´ÔÉÇĂ
ĥµÅÕµµÅĕõÅĥÅÅÕåµąÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DFD

DO NOT WRITE IN THIS MARGIN

* 0000800000005 *

5
,

6

,

(a) Write this infix expression in Reverse Polish Notation (RPN).
16 + ((9 – 7) / (18 + 6))

DO NOT WRITE IN THIS MARGIN

[2]
(b) Write this RPN expression in infix form.
6

15 + 20

3 - - 27

9 * /

DO NOT WRITE IN THIS MARGIN

[3]
(c) The RPN expression
c a b - * b c + / d *

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

is to be evaluated, where:
a = 8, b = 2, c = 10 and d = 18.
Show the changing contents of the stack as the RPN expression is evaluated.

[4]

© Cambridge University Press & Assessment 2026
ĬÐĊ®Ġ´íÈõÏĪÅĊÞú·Ā×
ĬÁÛó×ġĢđØĄýËęÌĈÉ·Ă
ĥµµĕõÕåõĥµµÅŵÅõĕÕ

9618/32/M/J/26

[Turn over

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000006 *

6
,

This truth table represents a logic circuit.
OUTPUT

A

B

C

D

Z

0

0

0

0

0

0

0

0

1

1

0

0

1

0

0

0

0

1

1

0

0

1

0

0

1

0

1

0

1

1

0

1

1

0

1

0

1

1

1

1

1

0

0

0

0

1

0

0

1

1

1

0

1

0

0

1

0

1

1

0

1

1

0

0

1

1

1

0

1

1

1

1

1

0

1

1

1

1

1

1

(a) (i)

DO NOT WRITE IN THIS MARGIN

INPUT

DO NOT WRITE IN THIS MARGIN

7

,

Complete the Karnaugh map (K-map) for the given truth table.
AB
01

11

10

DO NOT WRITE IN THIS MARGIN

00

CD
00
01
11

[2]

© Cambridge University Press & Assessment 2026
ĬÒĊ®Ġ´íÈõÏĪÅĊßú¶þ×
ĬÁÜóÜīĊěÐćð²ù´ĥġÇĂ
ĥĥĕĕõõåÕåÕĕÅąµĥµÅÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

10

DFD

DO NOT WRITE IN THIS MARGIN

* 0000800000007 *

7
,

,

(ii)

Draw loop(s) around appropriate group(s) in the K-map to produce an optimal
sum-of-products.

(iii)

Write the Boolean expression from your answer to 7(a)(ii) as a
simplified sum-of-products.

[2]

DO NOT WRITE IN THIS MARGIN

[1]
(b) Simplify the following expression using De Morgan’s laws and Boolean algebra.
Show all the stages in your simplification.
X = A.B.C.D + A.D

[3]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

© Cambridge University Press & Assessment 2026
ĬÔĊ®Ġ´íÈõÏĪÅĊßü¶þ×
ĬÁÛôÔĝĆīéñā÷Ý̱ġ·Ă
ĥĥĥÕµĕŵµåÅÅąÕąõÕÕ

9618/32/M/J/26

[Turn over

8
,

8



,

(a) Describe the differences between symmetric key and asymmetric key cryptography.

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000008 *

[3]
(b) Outline the process that would allow a business to use encryption keys to send a verified
message to a group of people.

DO NOT WRITE IN THIS MARGIN

[4]
9

(a) State the subset of Artificial Intelligence (AI) which makes use of an artificial neural network.
[1]
(b) The A* and Dijkstra’s algorithms are used to perform searches on a graph.
(i)

Outline how the A* algorithm is different from Dijkstra’s algorithm.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[3]
© Cambridge University Press & Assessment 2026
ĬÒĊ®Ġ´íÈõÏĪÅĊÝú¶Ā×
ĬÁÛñÔħøĞÎïĊðÿĨēñ¿Ă
ĥÕµÕõĕÅĕÕąµÅÅÕåõÅÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DFD

DO NOT WRITE IN THIS MARGIN

* 0000800000009 *

9
,

(ii)



,

Calculate the best path between the Home node and each of the nodes in the diagram
using Dijkstra’s algorithm.
Show your working and write your answers in the table provided.
C
12

DO NOT WRITE IN THIS MARGIN

4
B

8
A

6

16

Home

7

8

6
DO NOT WRITE IN THIS MARGIN

D

3

3

F

E

working

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Answers:
A

B

© Cambridge University Press & Assessment 2026
ĬÔĊ®Ġ´íÈõÏĪÅĊÝü¶Ā×
ĬÁÜòÜġüĎëĉ÷¹ÛĐÇñ¯Ă
ĥÕÅĕµõåõÅõĥÅŵŵÕÕ

C

D

9618/32/M/J/26

E

F

[5]
[Turn over

10
,

,

10 (a) Two examples of searching algorithms are a linear search and a binary search.
Describe how increasing the number of data items in the file to be searched affects the time
efficiency of these search algorithms. Refer to Big O notation in your answer.

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000010 *

© Cambridge University Press & Assessment 2026
ĬÒĊ®Ġ´íÈõÏĪÅĊàú¸þ×
ĬÁÚñÙĥðüÔøāÖģĦ÷É·Ă
ĥąÕĕõĕĥĕõµµąÅõåõõÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[3]

DO NOT WRITE IN THIS MARGIN

DFD

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000011 *

11
,

,

(b) A temperature in degrees Celsius (°C) is recorded every minute for one day in a random
file, Temperatures.dat.
A function is required to find the temperature for a specific time in the day to check if it
was freezing. The position of each temperature in the file corresponds to the number
of minutes after midnight, for example, the temperature at 10:00 am would be stored at
position 600 (10 × 60).
Write the pseudocode to complete the algorithm to check a temperature stored in
Temperatures.dat, by passing its position in the file as a parameter and using file
handling commands to find the relevant data item. Once the temperature is found, it is
checked to see if it is above or below freezing, and an appropriate message is returned.
Some of the blank lines may not be used.
FUNCTION TempCheck(
DECLARE Temperature : REAL
DECLARE Response : STRING
OPENFILE

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

ENDFUNCTION

[6]

© Cambridge University Press & Assessment 2026
ĬÔĊ®Ġ´íÈõÏĪÅĊàü¸þ×
ĬÁÙòÑģôČåĂðē·ĎãÉÇĂ
ĥąåÕµõąõĥÅĥąÅĕŵĥÕ

9618/32/M/J/26

[Turn over

12
,

11

,

(a) Object-Oriented Programming (OOP) is used to design a class called Node.
A partial design of the Node class includes the STRING attribute Content and the INTEGER
attribute Pointer, together with their getters and setters.
The class also includes a constructor, with two parameters, to set the values of
these attributes.

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000012 *

DO NOT WRITE IN THIS MARGIN

Write pseudocode statements to declare the Node class, its attributes and the constructor.

© Cambridge University Press & Assessment 2026
ĬÒĊ®Ġ´íÈõÏĪÅĊÞú¸Ā×
ĬÁÙóÑĩĂýÒĀ÷Ĝĕ²āÙ¯Ă
ĥµõÕõõąÕąĥĕąąĕĥµõÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[5]

DO NOT WRITE IN THIS MARGIN

DFD

13
,

,

(b) Complete the table by filling in the missing OOP terms and descriptions.
OOP term

description

A method used to change values in private attributes in
a class.

An occurrence of a class during the execution of a program.

aggregation

inheritance

[4]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000013 *

© Cambridge University Press & Assessment 2026
ĬÔĊ®Ġ´íÈõÏĪÅĊÞü¸Ā×
ĬÁÚôÙğþíçúĊÍÁÊÕÙ¿Ă
ĥµąĕµĕĥµĕĕÅąąõąõĥÕ

9618/32/M/J/26

14
,

,

© Cambridge University Press & Assessment 2026
ĬÎĊ®Ġ´íÈõÏĪÅĊÝûµĂ×
ĬÁÙòÜġñąÕðýòĝēÑĩÇĂ
ĥĕąÕõõåĕõąÅÅŵ嵵Õ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

BLANK PAGE

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000014 *

DFD

15
,

,

BLANK PAGE

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000015 *

© Cambridge University Press & Assessment 2026
ĬÐĊ®Ġ´íÈõÏĪÅĊÝùµĂ×
ĬÁÚñÔħíõäĊô·¹īąĩ·Ă
ĥĕõĕµĕÅõĥõĕÅÅÕÅõåÕ

9618/32/M/J/26

16
,

,

Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (Cambridge University Press & Assessment) to trace copyright holders, but if any items requiring clearance
have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in our Copyright
Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live
examination series.
Cambridge International Education is the name of our awarding body and a part of Cambridge University Press & Assessment, which is a department of the
University of Cambridge.

© Cambridge University Press & Assessment 2026
ĬÎĊ®Ġ´íÈõÏĪÅĊßûµĄ×
ĬÁÚôÔĝÿô×Ĉû°ěÇçù¿Ă
ĥååĕõĕÅÕąÕĥÅąÕĥõµÕ

9618/32/M/J/26

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

BLANK PAGE

DO NOT WRITE IN THIS MARGIN

DFD

* 0000800000016 *

Advertisement