Computer Science 9618/12 October/November 2023: question paper and mark scheme
Cambridge AS & A Level Computer Science (9618), Paper 1 Theory Fundamentals, October/November 2023. Read both free below, or download them. Done the paper? Get it marked by AI against this mark scheme.
A factory makes chocolate bars.
The factory uses a conveyor belt that moves the products from one stage of production to the next stage.
(a) An automated system counts the number of chocolate bars made at the end of production.
The system includes a sensor positioned above the conveyor belt.
Identify one appropriate type of sensor that can be used.
…… [1]
(b) A second automated system removes chocolate bars with an incorrect weight from the production line.
Describe the role of an actuator in this second system.
…… [2]
(c) The factory has many different machines with embedded systems.
(i) Identify two features of embedded systems.
1 ……
2 ……
[2]
(ii) Identify one drawback of embedded systems.
…… [1]
Mark scheme
1(a) 1 mark for: 1
• infra-red / proximity (sensor)
1(b) 1 mark for each bullet point (max 2) 2
• Actuator generates a signal / causes an action / converts electrical
energy into a mechanical force
• ... to push an arm // to open a trap door // to pick up the chocolate bar
with the incorrect weight
1(c)(i) 1 mark for each feature (max 2) 2
• Dedicated to a single task // limited number of functions
• Built into a larger system // integrated into a larger system
• An embedded system must contain a processor, memory and an I/O
capability // Dedicated hardware
1(c)(ii) 1 mark for each bullet point (max 1) 1
• Difficult to change / update the firmware by the user // Difficult to upgrade
devices to take advantage of new technology
• Cannot be easily adapted for another task
• Troubleshooting faults/upgrading is a specialist task
• Devices are often thrown away rather than repaired as difficult to upgrade
or repair
(a) State what is meant by the following terms in a relational database model.
Entity ……
Primary key ……
Referential integrity ……
[3]
(b) Authentication is one method a Database Management System (DBMS) can use to improve the security of a database.
Describe other methods that a DBMS can use to improve the security of a database.
…… [4]
(c) The following database table is not normalised.
StudentName DateOfBirth TutorGroup Subject SubjectCode
English, Maths,
Yuwei Chen 01/09/2004 SMH EN, MA, CS
Computer Science
Claudia Raj 23/02/2005 JMB Maths, Physics, Art MA, PY, AR
Art, Design, English
Aamil Akram 24/01/2005 KMB AR, DE, EN language
English language,
Areeba Faraz 21/12/2004 SMH EN, CH, DE
Chemistry, Design
Explain how to modify the table to put it into First Normal Form (1NF).
…… [4]
Mark scheme
2(a) 1 mark for each term (max 3) 3
Entity:
• An object about which data can be stored
Primary key:
• The unique attribute / combination of attributes used to identify the
record / tuple
Referential integrity:
• Makes sure that if data is changed in one place the change is reflected in
all related records - cascading update/delete
• Makes sure that data that does not exist cannot be referenced
• Ensures that every foreign key has a corresponding primary key
// A logical dependency of a foreign key on a primary key
• Ensures that the data in the database is consistent / up to date
• Prevents records from being added/deleted/modified incorrectly
• Makes sure any queries return accurate and complete results
2(b) 1 mark for each bullet point (max 4) 4
Max 2 if no descriptions
• Backup / recovery procedures
• … automatically takes copies of the database and store off site on a
regular basis / weekly, etc.
• ... so that the data can be recovered if lost
• Use of access rights
• … some users are given different access permissions to different tables
• ... read/write, read only, full access, etc.
• Views
• … different users are able to see different parts of the database
• ... only see what users need to see // by example
• Record and table locking
• … prevents simultaneous access to data
• ... so updates are not lost // data is not overwritten
• Encryption
• ... the data is turned into ciphertext
• ... so it cannot be understood without a decryption key
2(c) 1 mark for each bullet point (max 4) 4
• Identify repeating groups of attributes ...
• ... Subject and SubjectCode
• Ensure each field is atomic
• ... StudentName should be split into e.g. FirstName and LastName
• Identify the primary key for the table
(a) State one difference between a kibibyte and a megabyte.
…… [1]
(b) (i) Convert the denary value into a 12-bit two’s complement binary integer.
−196
Answer …… [1]
(ii) Convert the Binary Coded Decimal (BCD) into denary.
100001100101
Answer …… [1]
(iii) Convert the unsigned binary integer into denary.
000111010110
Answer …… [1]
(c) Identify one practical application of BCD and justify why BCD is used in this application.
Application ……
Justification ……
[2]
Mark scheme
3(a) 1 mark for: 1
Either
• kibibyte = 1,024 bytes // 210 bytes and
megabyte = 1000 kilobytes //1 000 000 bytes // 103 kilobytes // 106 bytes
Or
• kibi is binary prefix and mega is denary prefix
3(b)(i) 1111 0011 1100 1
3(b)(ii) 865 1
3(b)(iii) 470 1
3(c) 1 mark for a correct application 2
1 mark for a corresponding justification
• An application that performs financial / banking calculations
• ... because it is difficult to represent decimal values exactly in normal
binary and financial transactions use only two decimal places and must
be accurate, no accumulating errors
Or
• Electronic displays, e.g. calculators, digital clocks
• ... because visual displays only need to show individual digits
• ... because conversion between denary and BCD is easier
Or
• The storage of the date and time in the BIOS of a PC
• ... because conversion with denary is easier
(a) Write the Boolean expression that corresponds to the following logic circuit.
A
B
X
C
…… [3]
(b) Complete the truth table for the logic expression:
X = A XOR (B AND (A NAND B) AND NOT 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]
Mark scheme
4(a) 1 mark for each bullet point 3
• A NAND B
• NOT(B XOR C)
• Final NAND
X = A NAND B NAND (NOT(B XOR C))
4(b) 1 mark for each set of rows (shaded) 2
A B C X
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
(a) State the meaning of privacy of data.
…… [1]
(b) State the meaning of integrity of data.
…… [1]
(c) Describe the following threats to a computer system.
Phishing email ……
Spyware ……
[4]
Mark scheme
5(a) 1 mark for: 1
Either
• Ensuring data can only be accessed by / disclosed to authorised persons
Or
• Ensuring data cannot be accessed by / disclosed to unauthorised
persons
5(b) 1 mark for each bullet point (max 1) 1
• Ensuring the accuracy / completeness / consistency of data (during /
after processing)
• Ensuring the data is up to date
5(c) 1 mark for each bullet point. 4
Phishing email (max 2)
• The email pretends to be from an official body
• ... persuading individuals to disclose private information // by example
such as bank details
• ... or requesting authentication by redirecting to an unofficial/unauthorised
website // inviting a user to click a link
Spyware (max 2)
• Malware downloaded without the user’s knowledge
• ... which secretly records the user’s actions / keystrokes on the computer
• ... and sends logs of the actions to a third party
(a) A real-time video of a music concert needs to be streamed to subscribers.
Tick (✓) one box to identify the most appropriate type of compression and justify your answer.
Lossy Lossless
Justification ……
…… [3]
(b) Explain the impact of changing the sampling resolution on the accuracy of a sound recording.
…… [3]
(c) A bitmap image has a resolution of 2048 pixels wide and 1024 pixels high.
The image has a bit depth of 10 bits per pixel.
Estimate the file size of the bitmap image in mebibytes. Show your working.
Working ……
Estimated file size in mebibytes ……
[2]
Mark scheme
6(a) 1 mark for each bullet point (max 3) 3
Lossy compression (ticked)
• Loss of quality will not be noticed
• Needs to be viewed in real time so less bandwidth needed if file size
smaller
• Smaller file sizes will reduce buffering so the video will play more
smoothly
• Viewers may watch on different devices, so may not need high quality
resolution
Lossless compression (ticked)
• Original recording may not have been made in high resolution
• Could be streaming to high bandwidth devices
• The reduction in the file size is sufficient for the receiving device
• Viewers do not want any loss of quality
6(b) 1 mark for each bullet point (max 3) 3
Increase sampling resolution
• … the number of bits used for each sample is increased
• … there will be more values available to represent each sample // more
amplitudes can be represented
• ... each binary amplitude/note in the digital recording is closer to the
analogue amplitude/note
• … quantisation errors are reduced
• … the digital soundwave is closer to the original analogue soundwave
Decrease sampling resolution
• … the number of bits used for each sample is decreased
• … there will be fewer values available to represent each sample // fewer
amplitudes can be stored
• ... each binary amplitude/note in the digital recording is further from the
analogue amplitude/note
• … quantisation errors are increased
• … the digital soundwave is less like the original analogue soundwave
6(c) 1 mark for answer, 1 mark for working 2
Answer: 2.5 mebibytes
Working:
(2048 × 1024 × 10) / (8 × 1024 × 1024)
A Local Area Network (LAN) contains four devices:
• a router
• two laptop computers
• a server.
(a) The server has the IP address 192.168.3.2
Explain why this is not an IPv6 address.
…… [2]
(b) (i) The LAN is set up as a star topology.
Draw a diagram of the topology of the LAN.
[2]
(ii) Explain how data is transmitted between the two laptops in the LAN.
…… [2]
(iii) Subnetting can be used to separate a network into logical segments.
Describe two other reasons why subnetting is used in a network.
1 ……
2 ……
[4]
(c) State three tasks performed by devices to deal with collisions when using the Carrier Sense
Multiple Access / Collision Detection (CSMA/CD) protocol in a network.
1 ……
2 ……
3 ……
[3]
(d) The following incomplete table contains types of IP addresses and their descriptions.
Complete the table by writing the missing types of IP addresses and the missing descriptions.
Type of IP address Description
…… an IP address that is assigned to a device to allow direct access on the internet
static IP address
…… an IP address used for internal LAN communication only
dynamic IP address
[4]
Mark scheme
7(a) 1 mark for each bullet point (max 2) 2
• Only has four groups of digits // IPv6 has eight groups
• Uses dotted notation instead of colons
• Because it is a 32 bit / 4 byte address // IPv6 is 128 bits / 16 bytes
7(b)(i) 1 mark for server only connected to router 2
1 mark for two laptop computers connected only to router
7(b)(ii) 1 mark for each bullet point (max 2) 2
• The data from the sending laptop is transmitted to the router
• The data has address of recipient
• The router determines recipient’s destination address
• ... by using a routing table
• The router transmits data directly / only to recipient
7(b)(iii) 1 mark for each use (max 2) and 4
1 mark for corresponding expansion (max 2)
• To improve the security of the LAN
• … so that devices do not receive unintended data
• … so that a compromised device does not expose the whole network
• ... so not all devices can access all segments
• To make the network management easier
• … because faults can be isolated more efficiently
• ... by appropriate example
• To make the network easier to expand // For better control of network
growth
• … by allowing for greater range of IP addresses to be available
• To improve network performance
• To reduce network congestion
• … by localising network communications // by dividing data between
segments
• … so that devices are not flooded with data
• … because data sent between devices on the same subnet stays within
the subnet
7(c) 1 mark for each bullet point (max 3) 3
• To monitor the communications channel
• To send data only when there is no data being transmitted / the line is
quiet / idle
• To detect a collision and then stop transmissions of further data //
transmit a jamming signal
• To calculate a random wait time / back-off time
• ... then retransmit the data after that random wait time
• Increase random time if multiple collisions
7(d) 1 mark for each highlighted area 4
Type of IP address Description
an IP address that is assigned to a device
public IP address
to allow direct access on the internet
an IP address that is fixed / doesn’t
static IP address change each time a device re-joins a LAN
/ network
an IP address used for internal LAN
private IP address
communication only
an IP address that may be refreshed /
dynamic IP address changed each time a device re-joins a
LAN / network
A computer has an Operating System (OS).
(a) State one purpose of the Operating System.
…… [1]
(b) The Operating System has utility software.
The purpose of some utility software is to improve security.
Identify one example of utility software that is not intended to improve security.
Explain why this software is needed.
Utility software ……
Explanation ……
[3]
(c) An optical disc reader/writer is connected to the computer.
(i) Give the name of one port that can provide a connection for the optical disc reader/writer.
…… [1]
(ii) Describe the roles of the address bus, the data bus and buffers in the process of writing data to the optical disc reader/writer.
…… [3]
Mark scheme
8(a) 1 mark for each bullet point (max 1) 1
• To hide the complexities of the hardware from the user
• To provide a platform for software to run
• To provide a user interface
8(b) 1 mark for the name of the utility software 3
2 marks for the explanation
• Defragmentation software
• … because over time saving and deleting of small files fragments the disk
• ... the software makes (individual) files contiguous
• … so access time to the files is improved
• … because head movement is reduced
• Disk contents analysis/disk repair software
• … to identify and mark bad sectors
• ... to restore corrupted files
• ... to recover lost data (due to hardware failure)
• File compression
• … to reduce the size of files
• ... which saves storage and memory space // by example
• ... and reduces transmission time // by example
• Disk formatter
• … to prepare a disk for use // set up the file system
• ... to partition the disc
• ... to delete all the data from the disc
8(c)(i) 1 mark for each bullet point (max 1) 1
• USB / Universal Serial Bus
• HDMI
8(c)(ii) 1 mark for each component (max 3) 3
Buffers
• A buffer temporarily holds data until it is ready to be transmitted to the
device
Address Bus
• The address of the data to be written to the device (in RAM) is carried
on the address bus
Data Bus
• All data to be written to the device / buffer is carried on the data bus
The following table shows part of the instruction set for a processor. The processor has two registers, the Accumulator (ACC) and the Index Register (IX).
Instruction
Explanation
Opcode Operand
Direct addressing. Load the contents of the location at the given
LDD <address> address to ACC
Indexed addressing. Form the address from <address> +
LDX <address> the contents of the index register. Copy the contents of this calculated address to ACC
LDR #n Immediate addressing. Load the number n to IX
STO <address> Store the contents of ACC at the given address
ADD #n Add the denary number n to the ACC
JMP <address> Jump to the given address
INC <register> Add 1 to the contents of the register (ACC or IX)
CMP <address> Compare the contents of ACC with the contents of <address>
Indirect addressing. The address to be used is at the given
CMI <address> address. Compare the contents of ACC with the contents of this second address
Following a compare instruction, jump to <address> if the
JPE <address> compare was True
IN Key in a character and store its ASCII value in ACC
Output to the screen the character whose ASCII value is stored
OUT in ACC
END Return control to the operating system
<address> can be an absolute or a symbolic address
# denotes a denary number, e.g. #123
(a) The instructions in the processor’s instruction set can be grouped according to their function.
Identify the instruction group for each of the following opcodes.
IN ……
ADD ……
JPE ……
CMI ……
[4]
(b) The current contents of main memory and selected values from the ASCII character set are given on page 15.
Trace the program currently in memory using the trace table when the input is ‘1’.
Address Instruction Instruction Memory address Output
ACC IX
10 LDR #0 address 100 101 110 111
11 IN 0 0 51 65
12 STO 101
13 LDX 110
14 CMP 100
15 JPE 21
16 LDD 101
17 ADD #16
18 INC IX
19 STO 100
20 JMP 13
21 OUT
22 END
...
100 0
101 0
...
110 51
111 65
ASCII
Character value
49 1
50 2
51 3
[4]
52 4
...
65 A
66 B
67 C
68 D
Mark scheme
9(a) 1 mark for each bullet point 4
• IN - Input and output of data
• ADD - Arithmetic operations
• JPE - Unconditional and conditional instructions
• CMI - Compare instructions
9(b) 1 mark for each set of shaded rows 4
Instruction Memory address Output
ACC IX
address 100 101 110 111
0 0 51 65
10 0
11 49
12 49
13 51
14
15
16 49
17 65
18 1
19 65
20
13 65
14
15
21 A
22
Checked your answers against these? Let AI mark the whole paper, on your own working.
Examiners follow the generic marking principles at the front of the scheme, then each question's points: method (M), accuracy (A) and independent (B) marks, error carried forward where the scheme allows it, and positive marking, so you're credited for what you got right.
Check your answers against it
Done this paper? Upload your script and CIE Buddy's AI marker marks it question by question against this exact scheme, puts the ticks on your own working and says what each lost mark needed.
Where can I find the 9618/12 October/November 2023 mark scheme?+
On this page, free: the mark scheme for AS & A Level Computer Science 9618/12, October/November 2023 (9618_w23_ms_12), and the question paper (9618_w23_qp_12), to read or download, with each question's marking points written out underneath.
How many marks is 9618/12 out of?+
Computer Science 9618/12 for October/November 2023 is out of 75 marks, with 1 hour 30 minutes to answer it.
Can I get my 9618/12 answers marked?+
Yes. Upload your answers to 9618/12/O/N/23 as a PDF or photos, and CIE Buddy marks every question against this paper's official mark scheme, using Cambridge's marking rules. You get your score, each lost mark explained on your own script, and the topics to revise. It's a guide, not an official Cambridge grade.