Computer Science 9618/12 May/June 2023: question paper and mark scheme
Cambridge AS & A Level Computer Science (9618), Paper 1 Theory Fundamentals, May/June 2023. Read both free below, or download them. Done the paper? Get it marked by AI against this mark scheme.
A company has a LAN (local area network).
(a) Give two benefits of connecting computers to a LAN.
1 ……
2 ……
[2]
(b) Give two characteristics of a LAN.
1 ……
2 ……
[2]
(c) One of the company’s offices has one server and four computers connected in a star topology.
Draw a diagram to show the layout of the office’s star topology.
[2]
(d) Computers can be connected using Ethernet.
Describe what is meant by Ethernet.
…… [3]
(e) The network runs as a thick‑client model.
Describe what is meant by a thick‑client model.
…… [2]
Mark scheme
1(a) 1 mark each to max 2 2
Allows the sharing of files/data // Allows communication between the
devices
Allows the sharing of resources e.g. hardware / software (applications)
Allows central management // by example, backup, security, etc.
1(b) 1 mark each to max 2 2
Covers a small geographical area
The infrastructure is privately owned // not controlled by external
organisations
1(c) 1 mark each to max 2 2
Each computer directly connected only to the server ...
... all components correctly labelled
Computer Computer 4
1 Server
Computer
Computer
1(d) 1 mark each to max 3 3
A protocol (suite)
For data transmission over standard / universal wired / cabled network
connections
Uses Carrier Sense Multiple Access / Collision Detection (CSMA/CD)
Data is transmitted in frames
… each frame has a source and destination (IP/MAC) address
... and error checking data (so damaged frames can be resent)
1(e) 1 mark each 2
The server performs minimal / some processing for the client
The clients also do most of their own processing/work independently //
most of the resources are installed locally
A horse riding school uses a database, Lessons, to store data about lesson bookings.
This database is created and managed using a Database Management System (DBMS).
(a) The table contains names and descriptions of DBMS features and tools.
Complete the table by writing down the missing names and descriptions.
Name Description
Data dictionary
Query processor
A model of a database that is not specific to one DBMS.
…… A software tool that allows the user to create items such as tables, forms and reports.
[4]
(b) Explain the reasons why referential integrity is important in a database.
…… [3]
(c) The database Lessons has the following tables:
HORSE(HorseID, Name, Height, Age, HorseLevel)
STUDENT(StudentID, FirstName, LastName, RiderLevel, PreferredHorseID)
LESSON(LessonID, Date, Time, StudentID, HorseID, LessonContent)
Dates in this database are stored in the format #DD/MM/YYYY#.
The fields RiderLevel and HorseLevel can only have the values: Beginner,
Intermediate or Advanced.
(i) Describe two methods of validating the field RiderLevel.
1 ……
2 ……
[2]
(ii) Write a Structured Query Language (SQL) script to return the names of all the horses that have the horse level intermediate or beginner.
…… [4]
(iii) The following SQL script should return the number of riders that have the rider level beginner and have a lesson booked on 09/09/2023.
SELECT SUM(STUDENT.RiderLevel) AS NumberOfRiders
FROM STUDENT, LESSON
WHERE StudentID = StudentID
OR Date = #09/09/2023#
AND STUDENT.RiderLevel = Beginner;
There are four errors in the script.
Identify and correct each error.
1 ……
2 ……
3 ……
4 ……
[4]
Mark scheme
2(a) 1 mark for each correct feature or description 4
Feature Description
Data dictionary Data about the data in the database // data
about the structure of the database //
metadata for a database
Query processor Software that allows the user to enter
criteria, then finds and returns the
appropriate result // software that
processes and executes queries written in
SQL
Logical schema A model of a database that is not specific
to one DBMS
Developer interface A software tool that allows the user to
create items such as tables, forms and
reports
2(b) 1 mark each to max 3 3
Referential Integrity makes sure data is consistent
Referential Integrity makes sure all data is up-to-date
Referential integrity ensures that every foreign key has a corresponding
primary key
Referential Integrity prevents records from being added / deleted /
modified incorrectly
Referential Integrity makes sure that if data is changed in one place the
change is reflected in all related records
Referential Integrity makes sure any queries return accurate and complete
results
2(c)(i) 1 mark each to max 2 2
Presence check to make sure that the (rider level) is entered
Look-up / Existence check to make sure the rider level is only Beginner,
Intermediate or Advanced
Length check to make sure the rider level entered is either 8 or 12
characters
Type check to make sure the rider level is alphanumeric
2(c)(ii) 1 mark each 4
SELECT field Name
FROM table HORSE
WHERE with Intermediate / Beginner
OR with Beginner / Intermediate
Example answer:
SELECT Name
FROM HORSE
WHERE HorseLevel = "Intermediate"
OR HorseLevel = "Beginner";
2(c)(iii) 1 mark each 4
SUM should be COUNT // SELECT COUNT(STUDENT.RiderLevel)
The WHERE statement needs the table names before each field name
// WHERE STUDENT.StudentID = LESSON.StudentID
The OR should be AND // AND Date = #09/09/2023#
Beginner is missing the speech marks // STUDENT.RiderLevel =
"Beginner";
A program is written in assembly language.
(a) The program is converted into machine code by a two‑pass assembler.
Draw one or more lines to identify the pass or passes in which each action takes place.
Action Pass
generates object code
first reads the source code one line at a time
removes white space second
adds labels to the symbol table
[3]
(b) Assembly language statements can use different modes of addressing.
Complete the following description of addressing modes.
…… addressing is when the operand holds the memory address of
the data.
…… addressing is when the operand holds a memory address that
stores the memory address of the data.
…… addressing is when the operand is the data.
[3]
Mark scheme
3(a) 1 mark for generates object code to second pass 3
1 mark for reads source code one line at a time to both boxes
1 mark for removes white space and adds labels to first pass
Action Pass
generates object code
first
reads the source code
one line at a time
removes white space second
adds labels to the
symbol table
3(b) 1 mark for each correct term 3
Direct addressing is when the operand holds the memory address of the data.
Indirect addressing is when the operand holds a memory address that stores
the memory address of the data.
Immediate addressing is when the operand is the data.
Data in a computer is stored in binary form.
(a) State the number of unique binary values that can be represented in 16 bits.
…… [1]
(b) Give the 8‑bit one’s complement representation of the denary number −120.
Show your working.
Working ……
Answer ……
[2]
(c) Convert the hexadecimal number A04 into denary.
Show your working.
Working ……
Answer ……
[2]
(d) Show the result of a 2‑place left logical shift on the binary number:
01001111
…… [1]
Mark scheme
4(a) 216 // 65536 1
4(b) 1 mark for working; 1 mark for answer 2
Working: +120 = 0111 1000
Answer: 1000 0111
4(c) 1 mark for working; 1 mark for answer 2
Working: A04 = (10 * 162) + 4
// A04 = (10 * 256) + 4
// A04 = 1010 0000 0100
Answer: 2564
4(d) 0011 1100 1
A student has purchased a new laptop.
(a) The laptop is designed using the Von Neumann model for a computer system.
Identify two types of signal that a control bus can transfer.
1 ……
2 ……
[2]
(b) Describe two ways the hardware of a laptop can be upgraded to improve the performance and explain how each upgrade improves the performance.
1 ……
2 ……
[4]
(c) Peripherals are connected to the laptop using ports.
(i) A printer is connected to a Universal Serial Bus (USB) port.
Describe how data is transmitted through a USB port.
…… [1]
(ii) A monitor is connected to the laptop using a different type of port.
Identify one other type of port that can be used to connect the monitor.
…… [1]
(d) The laptop has systems software.
(i) Describe how the Operating System (OS) manages processes in the computer.
…… [5]
(ii) Describe the purpose of utility software in a computer.
…… [2]
Mark scheme
5(a) 1 mark each to max 2 2
Examples:
Interrupt
Timing
Read
Write
5(b) 1 mark for description; 1 mark for corresponding explanation 4
Examples
Increase number of cores
Each core can independently carry out a process at the same time // so
that more instructions are performed in parallel
Increase RAM capacity
... allowing more applications to reside in memory at the same time,
saving disk access times
Increase cache memory
More data can be stored in fast access so less time is spent accessing
from RAM
Increase clock speed
More Fetch-Decode-Execute (FDE) cycles can run each second / per unit
time
5(c)(i) 1 mark for a correct answer 1
1 bit is transferred at a time
Can be synchronous or asynchronous
USB-3 is full duplex and earlier versions are half-duplex
5(c)(ii) 1 mark for identification of a suitable port 1
Examples
HDMI
DisplayPort
5(d)(i) 1 mark each to max 5 5
Manages the scheduling of processes // decides which order to run
processes
Manages which resources the processes require
… such as allocating memory
Enables processes to share data
Prevents interference between processes // resolution of conflicts
Handles the process queue
It allows multi-tasking / multi-processing
... by ensuring fair access, handling priorities and handling interrupts
5(d)(ii) 1 mark each to max 2 2
To help users to set-up / configure / analyse / optimise / maintain the
computer ...
... by for example, making memory allocation more efficient
... by for example, checking the system for faults
(a) Draw the logic circuit for this logic expression:
Z = (R XOR S) AND (NOT T NOR P)
R
S
Z
T
P
[2]
(b) Complete the truth table for this logic expression:
Z = (NOT P OR Q) XOR (R NOR Q)
Working space
P Q R Z
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
6(a) 1 mark for correct XOR and AND gates, with correct inputs 2
1 mark for correct NOT and NOR gates with correct inputs
6(b) 1 mark for first 4 rows 2
1 mark for last 4 rows
P Q R Working space Z
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
A software developer is working in a team writing a program for a client.
(a) The developer is writing a new program library to be used by the other team members.
(i) Define the term program library.
…… [2]
(ii) Explain two benefits to the developer of choosing to create a Dynamic Link Library (DLL).
1 ……
2 ……
[4]
(b) The development team needs to use a translator whilst writing the program for the client.
Identify whether an interpreter or a compiler would be more appropriate at this stage of the program development.
Justify your choice.
Translator ……
Justification ……
…… [3]
(c) The development team uses an Integrated Development Environment (IDE).
Complete the table by describing the typical features found in an IDE.
Feature Description
Breakpoints ……
Dynamic syntax checks ……
Context‑sensitive prompts ……
Single stepping ……
[4]
(d) One section of the program being developed will convert user’s speech into commands.
Explain how Artificial Intelligence (AI) can be used in this program.
…… [3]
Mark scheme
7(a)(i) 1 mark each to max 2 2
Set of pre-written / pre-compiled / pre-tested subroutines
... which can be called in other programs
... by installing/importing the library
7(a)(ii) 1 mark for each bullet point. Mark in pairs; 1 mark for a benefit and 1 mark for 4
an appropriate expansion
(main) memory requirements for program is reduced
... as dynamic link library is loaded only once / when required
the executable file size of the program using the DLL will be smaller
... because the executable does not contain (all) the library routines
maintenance not needed to be done by the programmer
... because the DLL is separate from program
no need to recompile the main program when changes are made to DLL
... because changes / improvements/ error correction to the DLL file code
are done independently of the main program
A single DLL file can be made available to several application programs
... Saving space in memory / easing the pressure on memory
7(b) No mark for choice. 1 mark each to max 3 for justification 3
Interpreter
Allows the developer to make real-time changes
… so the program can be debugged at each stage
... the effect of any changes made by the developer can be seen
immediately
The developer can test when incomplete
… so small parts can be tested without having to test the rest of the
program
… if one section does not work others can still be tested
To avoid dependent errors
Compiler
The developer can debug multiple errors simultaneously
Produces an executable file
… so that the developer can test the program multiple times without
recompiling
7(c) 1 mark each 4
Breakpoints:
Stop the code at a specific line to check the current progress / values
Dynamic syntax checks:
Highlight / underline / colour syntax errors as the code is entered
Context-sensitive prompts:
Suggest the code to add // automatically complete statements
Single stepping:
Run the code one line at a time so the values can be checked
7(d) 1 mark each to max 3 3
Uses speech recognition
... which identifies key phrases / words spoken
… and matches these to a database
... and generates the most likely sentence / command / word
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 May/June 2023 mark scheme?+
On this page, free: the mark scheme for AS & A Level Computer Science 9618/12, May/June 2023 (9618_s23_ms_12), and the question paper (9618_s23_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 May/June 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/M/J/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.