Computer Science (9618) · May/June 2025 · Question paper 12

Cambridge Computer Science (9618) question paper for paper 12, May/June 2025 — 9618/12/M/J/25, file 9618_s25_qp_12.pdf.

Advertisement
Loading the paper…
Text of this paper

* 0000800000001 *

,

,

Cambridge International AS & A Level
¬OŠ. 4mHuOªEŠ`z6€W
¬jšzQ¨§š]yw«aœ9n‚
¥eeUu5eue E •¥5EU

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

COMPUTER SCIENCE
Paper 1 Theory Fundamentals

9618/12
May/June 2025
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 or correction fluid.
●
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 (WW/SG) 341016/3
© UCLES 2025

[Turn over

(a) The table has six statements about the Von Neumann model for a computer system.
Three of the statements are incorrect.

Statement number

Statement

1

The Program Counter (PC) stores the next instruction to be fetched from
memory.

2

The Arithmetic and Logic Unit (ALU) performs mathematical and logical
operations.

3

The Control Unit (CU) sends signals to other components on the data bus.

4

The Memory Data Register (MDR) transfers data to the memory address
stored in the Memory Address Register (MAR).

5

The MAR stores an address from memory.

6

The Accumulator (ACC) stores the result of calculations.

Complete the table by writing the three incorrect statement numbers and the corrected
statements.
Incorrect
statement number

Corrected statement

DO NOT WRITE IN THIS MARGIN

1

,

DO NOT WRITE IN THIS MARGIN

2
,

DO NOT WRITE IN THIS MARGIN

* 0000800000002 *

DO NOT WRITE IN THIS MARGIN

© UCLES 2025

ĬÍĊ®Ġ´íÈõÏĪÅĊÝü¸þ×
ĬêĜùÔĤģðÖĈāĈęĢßāöĂ
ĥõµÕµÕĥĕĕÅÕąąÕąõĥÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

[3]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000003 *

3
,

,

(b) Registers that are used in the Fetch-Execute (F-E) cycle include the PC, MAR, MDR and the
ACC.
Identify one other register and describe its role in the Fetch-Execute (F-E) cycle.
Register
Role

[2]
(c) Explain how an interrupt from an input device will be detected and handled in the F-E cycle.

[4]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

© UCLES 2025

ĬÏĊ®Ġ´íÈõÏĪÅĊÝú¸þ×
ĬêěúÜĦğĀãòðÁ½ĚûāĆĂ
ĥõÅĕõµąõąµąąąµĥµõÕ

9618/12/M/J/25

[Turn over

2

,

(a) Convert the denary integer 558 into 12-bit binary and hexadecimal.

Binary
Hexadecimal
[2]
(b) (i)

Convert the two’s complement binary integer 11100010 into denary.

[1]

(ii)

Write the smallest and the largest two’s complement binary integers that can be
represented in 8 bits.

DO NOT WRITE IN THIS MARGIN

4
,

DO NOT WRITE IN THIS MARGIN

* 0000800000004 *

Largest
[2]
(c) Give one application where Binary Coded Decimal (BCD) is used and justify its use.
Application
Justification

© UCLES 2025

ĬÍĊ®Ġ´íÈõÏĪÅĊßü¸Ā×
ĬêěûÜĠčĉØð÷Êğ¶ÙđîĂ
ĥÅĕĕµµąÕĥĕõąÅµÅµĥÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[2]

DO NOT WRITE IN THIS MARGIN

Smallest

DO NOT WRITE IN THIS MARGIN

* 0000800000005 *

5
,

3

,

A computer program uses a digital camera to read the words on an item.
The program can read the words that are written on the item, translate the words to a chosen
language and then output the words as audio. For example, when used in a supermarket, the
program can output the words written on the labels on products.
The program uses Artificial Intelligence (AI).

DO NOT WRITE IN THIS MARGIN

(a) Explain how AI is used in the computer program described.

DO NOT WRITE IN THIS MARGIN

[4]
(b) State two social benefits of the use of AI in the computer program described.
1

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

2

[2]

© UCLES 2025

ĬÏĊ®Ġ´íÈõÏĪÅĊßú¸Ā×
ĬêĜüÔĪđùáĊĊÿ»¾ýđþĂ
ĥÅĥÕõÕĥµõĥåąÅÕåõõÕ

9618/12/M/J/25

[Turn over

6
,

,

(c) The computer program is released under a commercial software licence.
(i)

Describe the features of a commercial software licence.

DO NOT WRITE IN THIS MARGIN

* 0000800000006 *

[3]
(ii)

Explain the reasons why an open source software licence might not be appropriate for
the computer program described.

DO NOT WRITE IN THIS MARGIN

[3]
4

(a) Write the logic expressions for the following logic circuit.
R

X

S

T
Y

U

X =
Y =
[2]
© UCLES 2025

ĬÑĊ®Ġ´íÈõÏĪÅĊÞúµþ×
ĬêěüÏĤùóéýûöÛ¶Ġ¹îĂ
ĥĕÅÕõõĥĕµąąąąÕąµåÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

7
,

,

(b) Complete the truth table for the logic expression:
X = NOT (A AND (B XOR C))
A

B

C

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

Working space

X

[2]

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

* 0000800000007 *

© UCLES 2025

ĬÓĊ®Ġ´íÈõÏĪÅĊÞüµþ×
ĬêĜû×ĦõăÐûóÿ¾¼¹þĂ
ĥĕµĕµĕąõåõÕąąµĥõµÕ

9618/12/M/J/25

[Turn over

8
,

5



,

An online game has a database that stores data about users and the characters each user
creates in the game. Each user can create multiple characters and purchase multiple items for
each character.
The normalised database has the following design:
USER(Username, Password, DateOfBirth)

DO NOT WRITE IN THIS MARGIN

* 0000800000008 *

ITEM(ItemName, MinimumLevel, Cost)
CHARACTER_ITEM(CharacterID, ItemName)
(a) Explain the purpose of the table CHARACTER_ITEM in the database.

DO NOT WRITE IN THIS MARGIN

CHARACTER(CharacterName, CharacterID, Username, Level, Money)

[2]
(b) Underline the attribute, or attributes, that form the primary key in each of the tables.
USER(Username, Password, DateOfBirth)
CHARACTER(CharacterName, CharacterID, Username, Level, Money)
ITEM(ItemName, MinimumLevel, Cost)
[2]

© UCLES 2025

ĬÑĊ®Ġ´íÈõÏĪÅĊàúµĀ×
ĬêĜú×ĠćĆëõý¼ÝĢĚéöĂ
ĥåĥĕõĕąÕÅÕåąÅµÅõåÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

CHARACTER_ITEM(CharacterID, ItemName)

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000009 *

9
,



,

(c) A Database Management System (DBMS) provides data security.
(i)

Identify two methods the DBMS can use to protect the data in the table USER from
unauthorised access.
Explain how each method protects the data.
Method 1

Method 2
Explanation

[4]
(ii)

DO NOT WRITE IN THIS MARGIN

The DBMS also supports data integrity.
Give two ways that a DBMS can support data integrity.
1

2

[2]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Explanation

© UCLES 2025

ĬÓĊ®Ġ´íÈõÏĪÅĊàüµĀ×
ĬêěùÏĪċöÎăôíùĚ¾éĆĂ
ĥåĕÕµõĥµÕåõąÅÕåµµÕ

9618/12/M/J/25

[Turn over

10
,

(d) (i)

,

Write a Structured Query Language (SQL) script to count the number of items purchased
by the user with the username "KAT123".

DO NOT WRITE IN THIS MARGIN

* 0000800000010 *

[3]
(ii)

The following changes need to be made to the character with the ID "0002":

•
•

level changed to 3
money changed to 10000.00

Write an SQL script to change the character’s data.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

© UCLES 2025

ĬÑĊ®Ġ´íÈõÏĪÅĊÝú·þ×
ĬêęúÎĞÿĔåîĆĒÁĤîđþĂ
ĥõąÕõĕåÕĥĥåÅÅĕÅõĕÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[3]

DO NOT WRITE IN THIS MARGIN

* 0000800000011 *

11
,

6

,

A company has multiple sites in different cities.
The company has drivers who deliver products to customers. Each driver can connect to the
company’s WAN (Wide Area Network) whilst out of the office using a smartphone.
(a) State two ways that a WAN is different to a LAN (Local Area Network).
1

DO NOT WRITE IN THIS MARGIN

2

[2]
(b) The smartphones use the cell phone network to connect to the WAN.
Explain how data is transmitted using the cell phone network.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[4]
(c) Devices that connect to the WAN have an IP address.
Complete the following description of IP addresses by writing the missing words.
IPv4 is displayed as four groups of 8-bit numbers separated by .
Each IPv4 address is 32 bits.
IPv6 is made of eight groups of 4 numbers separated by colons.
Multiple consecutive groups of can be replaced with a double colon.

DO NOT WRITE IN THIS MARGIN

Each IPv6 address is bits.
A IP address can change each time the computer connects to a
network.
A IP address can only be accessed by other devices in the same
LAN and is assigned by the router within the LAN.
[6]
© UCLES 2025

ĬÓĊ®Ġ´íÈõÏĪÅĊÝü·þ×
ĬêĚùÖĬăĤÔČû×ĕĜêđîĂ
ĥõõĕµõŵõĕõÅÅõåµąÕ

9618/12/M/J/25

[Turn over

12
,

,

(d) The main office for the company has four wired computers, one server, two printers, one
central switch and a device providing a single point of access for the internet. The network is
set up as a star topology.

[4]
(e) Describe the role of a switch in a network.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Draw the topology for the main office network. Label all devices.

DO NOT WRITE IN THIS MARGIN

* 0000800000012 *

[3]

© UCLES 2025

ĬÑĊ®Ġ´íÈõÏĪÅĊßú·Ā×
ĬêĚüÖĢñĥçĆôз¸ČāĆĂ
ĥÅåĕõõÅĕĕµąÅąõąµĕÕ

9618/12/M/J/25

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

DO NOT WRITE IN THIS MARGIN

* 0000800000013 *

,

© UCLES 2025
,

13

BLANK PAGE

ĬÓĊ®Ġ´íÈõÏĪÅĊßü·Ā×
ĬêęûÎĨíĕÒôýęģÀÐāöĂ
ĥÅÕÕµĕåõąÅÕÅąĕĥõąÕ

9618/12/M/J/25

[Turn over

Instruction

Explanation

Opcode

Operand

LDD

<address>

Direct addressing. Load the contents of the location at the given
address to ACC

LDM

#n

Immediate addressing. Load the number n to ACC

STO

<address>

Store the contents of ACC at the given address

ADD

#n/Bn/&n

Add the number n to the ACC

ADD

<address>

Add the contents of the given address to the ACC

INC

<register>

Add 1 to the contents of the register (ACC)

CMP

<address>

Compare the contents of ACC with the contents of <address>

CMP

#n

Compare the contents of ACC with number n

JPE

<address>

Following a compare instruction, jump to <address> if the compare
was True

JMP

<address>

Jump to the given address

END

Return control to the operating system

ACC denotes Accumulator
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The current contents of memory are:
Instruction

10

12

11

11

12

10

13

22

14

22

DO NOT WRITE IN THIS MARGIN

Address

…

© UCLES 2025

DO NOT WRITE IN THIS MARGIN

(a) The following table shows part of the instruction set for a processor. The processor has one
register: the Accumulator (ACC).

100

LDD 10

101

ADD 12

102

STO 11

103

CMP 14

104

JPE 107

105

INC ACC

106

JMP 101

107

STO 10

108

END
ĬÍĊ®Ġ´íÈõÏĪÅĊàû¶Ă×
ĬêĚùÏĪĂĝäöĊ¶¿ĕܱîĂ
ĥĥÕĕõõĥÕĥÕÕąÅÕŵÕÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

7

,

DO NOT WRITE IN THIS MARGIN

14
,

DO NOT WRITE IN THIS MARGIN

* 0000800000014 *

15
,

(i)

,

Trace the program currently in memory using the following trace table.
Instruction address

ACC

Memory address
10

11

12

13

14

12

11

10

22

22

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000015 *

[3]
(ii)

State the effect of changing instruction LDD 10 in address 100 to LDM #10

DO NOT WRITE IN THIS MARGIN

[1]
(iii)

Identify and describe one mode of addressing not given in the table of instructions in
part (a).
Mode of addressing
Description

DO NOT WRITE IN THIS MARGIN

[2]

© UCLES 2025

ĬÏĊ®Ġ´íÈõÏĪÅĊàù¶Ă×
Ĭêęú×ĠþčÕĄ÷óěĝ±þĂ
ĥĥåÕµĕąµõåąąÅµåõÅÕ

9618/12/M/J/25

[Turn over

,

(b) The table shows part of the instruction set for a processor. The processor has one register:
the Accumulator (ACC).

Opcode

Explanation

Operand

AND

#n/Bn/&n

Bitwise AND operation of the contents of ACC with the operand

AND

<address>

Bitwise AND operation of the contents of ACC with the contents of
<address>

XOR

#n/Bn/&n

Bitwise XOR operation of the contents of ACC with the operand

XOR

<address>

Bitwise XOR operation of the contents of ACC with the contents of
<address>

OR

#n/Bn/&n

Bitwise OR operation of the contents of ACC with the operand

OR

<address>

Bitwise OR operation of the contents of ACC with the contents of
<address>

(i)

DO NOT WRITE IN THIS MARGIN

<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
B denotes a binary number, e.g. B01001010
& denotes a hexadecimal number, e.g. &4A
The ACC currently contains the following binary value.
1

1

1

1

0

0

0

0

Write the result after the instruction OR B00001111 is run.

[1]
(ii)

The ACC currently contains the following binary value.
0

0

0

1

1

1

0

1

Write the result after the instruction XOR #30 is run.

DO NOT WRITE IN THIS MARGIN

Instruction

DO NOT WRITE IN THIS MARGIN

16
,

DO NOT WRITE IN THIS MARGIN

* 0000800000016 *

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 (UCLES) 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 the Cambridge
Assessment International Education 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 Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

© UCLES 2025

ĬÍĊ®Ġ´íÈõÏĪÅĊÞû¶Ą×
Ĭêęû×ĦðĜâþðü¹ÁÞáöĂ
ĥÕõÕõĕąĕĕąõąąµąõÕÕ

9618/12/M/J/25

DO NOT WRITE IN THIS MARGIN

[1]

Advertisement