Past paper – A Level Computer Science (9618)
Cambridge International AS & A Level · 9618
Computer Science · Paper 11
May/June 2025 · 9618/11/M/J/25
Answer on paper, open each mark scheme and give yourself marks, then open the Summary.
Question text
1
(a) Write the logic expressions for the following logic circuit.
P
X
Q
R
Y
S
X = …
Y = …
[2]
ĬÕĊ®Ġ´íÈõÏĪÅĊßù¸þ×
,
,
(b) Complete the truth table for the following logic circuit.
A
B
X
C
A
B
C
Working space
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[2]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊßû¸þ×
Question text
2
Programmers in a software development company take part in live video conferences to discuss
their work.
The live video conferences take place using real‑time bit streaming. The video is compressed
before it is transmitted.
(a) Explain how data is transferred using real‑time bit streaming.
…
…
…
…
…
…
…
… [4]
(b) (i)
Explain the reasons why a video is compressed before it is transmitted using real‑time
bit streaming.
…
…
…
…
…
…
…
… [4]
ĬÕĊ®Ġ´íÈõÏĪÅĊÝù¸Ā×
,
,
(ii)
Identify whether the lossy or lossless compression method is more appropriate for
real‑time bit streaming. Justify your answer.
Compression method …
Justification …
…
…
…
…
…
[3]
(c) The video conference is accessed over the internet.
Complete the table by stating how modems and dedicated lines are used when data is
transmitted over the interne
Question text
3
A computer stores images and text files.
(a) One of the images is a bitmapped image.
Complete the table by writing the answer for each statement.
Statement
Answer
the term for the smallest
element that makes up
an image
the largest number of
different colours that can
be represented with a bit
depth of 8 bits
the term for the dots per
inch (dpi) when an image
is displayed
[3]
(b) The text in the files is stored using the Unicode character set.
(i)
Give two advantages of using the Unicode character set instead of using the ASCII
character set.
1 …
…
2 …
…
[2]
The Unicode character '❮' has the binary value: 0010
0111 0110 1110
(ii)
Convert the binary value for the character '❮' into denary.
… [1]
(iii)
The Unicode character '⅀' has the hexadecimal value 2140
Convert the hexadecimal code for the character '⅀' into denary.
… [1]
ĬÙĊ®Ġ´íÈõÏĪÅĊàûµþ×
Question text
4
A shop installs a new system that allows users to purchase items without going through a manual
checkout.
The new system:
•
identifies customers when they enter the shop and matches them to their account
•
prevents a customer from walking through the automatic barriers if they do not have an
account
•
automatically detects the items that a customer has taken from a shelf and charges these to
the customer’s account.
(a) The new system uses digital cameras and Artificial Intelligence (AI) to identify the customers.
Explain how the new system uses AI to identify each customer.
…
…
…
…
…
…
…
…
…
… [4]
(b) The new system uses sensors to identify the items taken from a shelf.
Identify one type of sensor that can be used in this new system.
State how the sensor can be used to identify the items taken from a shelf.
Sensor …
Use …
…
[2]
ĬÛĊ®Ġ´íÈõÏĪÅĊàùµþ×
Question text
5
A company builds and sells furniture to customers. The company stores data about customers,
their payment cards and their furniture orders in a database.
The database, FURNITURE, has the following tables:
CUSTOMER(CustomerID, Name, Phone)
CUSTOMER_CARD_DATA(CardID, CustomerID, CardType, CardNumber, EndDate)
ORDER(OrderID, CustomerID, TotalCost, Paid, OrderDate, Complete)
ORDER_ITEM(OrderItemID, OrderID, Type, Height, Width, Depth, Details)
The primary keys are underlined in each table.
The attribute Complete in the table ORDER stores the Boolean value TRUE if the order has been
built and FALSE if the order has not been built.
(a) Complete the entity‑relationship (E‑R) diagram for the database.
CUSTOMER
CUSTOMER_CARD_DATA
ORDER
ORDER_ITEM
[3]
(b) Identify one attribute in the table CUSTOMER_CARD_DATA that could be a candidate key.
… [1]
(c) Identify two tables in the database that contain one or more foreign keys.
Give one attribute that is a foreign key in each table.
Table
Foreign key
1
2
[2]
ĬÙĊ®Ġ´íÈõÏĪÅĊÞûµĀ×
,
,
(d) Explain the reasons why the data in the table ORDER_ITEM cannot be stored in the table
ORDER
…
…
…
…
…
… [3]
(e) Write an Structured Query Language (SQL) script to output the customer ID, the customer’s
name and the total cost of the customer’s orders that have not been paid.
The output of the total cost must have an appropriate title.
…
…
…
…
…
…
…
… [4]
ĬÛĊ®Ġ´íÈõÏĪÅĊÞùµĀ×
Question text
6
A programmer is buying a new computer.
(a) The programmer is considering the following two computers:
Quad‑core 2.2 GHz processor
16‑bit architecture
Computer 1
1 GB Random Access Memory (RAM)
500 GB magnetic hard disk
Dual‑core 3.8 GHz processor
32‑bit architecture
Computer 2
2 GB RAM
500 GB solid state drive (SSD)
(i)
Computer 1 has a magnetic hard disk.
Complete the description of the principal operation of a magnetic hard disk by writing
the missing words.
The magnetic hard disk has one or more … that can be
magnetised. These are mounted on a … and rotate at
high speed.
A … is moved across the surface on an arm.
When data is read, the changes in the … produce
a change in the electric current.
[4]
(ii)
The two computers have different amounts of RAM.
Explain how different amounts of RAM affect the performance of a computer.
…
…
…
…
…
… [3]
ĬÙĊ®Ġ´íÈõÏĪÅĊßû·þ×
,
,
(iii)
The two computers have different bus widths.
Explain how different bus widths affect the performance of a computer.
…
…
…
… [2]
(b) Both computers have an Operating System (OS).
Describe the purpose of an OS in a computer.
…
…
…
…
…
…
…
…
…
Question text
7
A banker stores personal data on their work computer.
(a) The banker needs to transfer confidential data across the internet.
Identify and describe one method of restricting the risks posed by an unauthorised person
intercepting the data whilst it is being transferred across the internet.
Method …
Description …
…
…
…
…
[3]
(b) The banker receives confidential data across the internet. The data includes a digital
signature.
Explain how a digital signature can make sure the data has not been changed during
transmission.
…
…
…
…
…
…
…
…
…
… [5]
ĬÙĊ®Ġ´íÈõÏĪÅĊÝû·Ā×
,
,
(c) The data that is transferred can also be verified using a checksum.
Explain how data can be verified using a checksum.
…
…
…
…
…
… [3]
ĬÛĊ®Ġ´íÈõÏĪÅĊÝù·Ā×
Question text
8
(a) The following table shows part of the instruction set for a processor. The processor has two
registers: the Accumulator (ACC) and an Index Register (IX).
Instruction
Explanation
Opcode
Operand
LDM
#n
Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the given
LDD
<address>
address to ACC
Indirect addressing. The address to be used is at the given
LDI
<address>
address. Load the contents of this second address to ACC
INC
<register>
Add 1 to the contents of the register (ACC or IX)
STO
<address>
Store the contents of ACC at the given address
ADD
#n/Bn/&n
Add the number n to the ACC
DEC
<register>
Subtract 1 from the contents of the register (ACC or IX)
JMP
<address>
Jump to the given address
CMP
<address>
Compare the contents of ACC with the contents of <address>
Following a compare instruction, jump to <address> if the
JPE
<address>
compare was True
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:
address
Instruction
80
10
8
81
80
82
83
81
...
LDD 81
200
INC ACC
201
STO 83
202
LDI 82
203
CMP 83
204
205
JPE 209
206
LDD 83
207
ADD #10
208
JMP 210
209
DEC ACC
210
STO 81
211
END
Trace the program currently in memory using the following trace table.
Memory address
Instruction address
ACC
80
81
82
83
10
8
80
81
[4]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊÞü¶Ă×
,
,
(b) The table shows part of the instruction set for a processor. The processor has one register:
the Accumulator (ACC).
Instruction
Explanation
Opcode
Operand
Bitwise AND operation of the contents of ACC with the
AND
#n/Bn/&n
operand
Bitwise AND operation of the contents of ACC with the
AND
<address>
contents of <address>
Bitwise XOR operation of the contents of ACC with the
XOR
#n/Bn/&n
operand
Bitwise XOR operation of the contents of ACC with the
XOR
<address>
contents of <address>
Bitwise OR operation of the contents of ACC with the
OR
#n/Bn/&n
operand
Bitwise OR operation of the contents of ACC with the
OR
<address>
contents of <address>
Bits in ACC are shifted logically n places to the left.
LSL
#n
Zeros are introduced on the right‑hand end
Bits in ACC are shifted logically n places to the right.
LSR
#n
Zeros are introduced on the left‑hand end
<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
ĬÕĊ®Ġ´íÈõÏĪÅĊàú¶Ą×
,
,
(i)
Write the bit manipulation instruction that can be used to set the least significant bit to 1
in an 8‑bit register. All other bits must remain unchanged.
The instruction needs to work on a register that contains any 8‑bit binary number.
… [1]
(ii)
The ACC currently contains the following binary value.
0
1
0
1
0
1
0
1
Write the result after the instruction XOR &FE is run.
[1]
(iii)
The ACC currently contains the following binary value.
0
1
1
0
1
0
1
1
Write the result after the instruction LSR #5 is run.
[1]
Ĭ×Ċ®Ġ´íÈõÏĪÅĊàü¶Ą×
,
,
Permission to reproduce items where third‑party owned material protected by copyright is included has been sought and cleared where possible. Every
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 i