Free until 14 Nov · 80% off for the first 100 · Pricing

Computer Science 9618/11 May/June 2024: question paper and mark scheme

Cambridge AS & A Level Computer Science (9618), Paper 1 Theory Fundamentals, May/June 2024. Read both free below, or download them. Done the paper? Get it marked by AI against this mark scheme.

9618_s24_qp_119618_s24_ms_119618/11/M/J/24

Paper
Paper 1 Theory Fundamentals
Total marks
75
Time
1 hour 30 minutes
Code on the paper
9618/11/M/J/24
9618_s24_ms_11.pdf

9618/11 mark scheme, question by question

Each question as it's printed, and the mark scheme's points for it, as text. Diagrams, tables and graphs are in the PDFs above.

Question 13 marks

Question

(a) Tick (✓) one box to identify the correct logic statement for this truth table. A B C X 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 0 NOT (A AND B AND C) (A XOR B) NOR C (A OR B OR C) NOR C NOT A AND NOT B AND NOT C [1] (b) Draw a logic circuit for the logic expression: X = NOT (NOT A AND (NOT B XOR C)) A B X C [2]

Mark scheme

1(a) 1 mark for: 1 (A XOR B) NOR C 1(b) 1 mark for NOT B XOR C 2 1 mark for NOT A and final AND plus NOT

Question 218 marks

Question

A video doorbell is attached to the front door of a house. The doorbell uses a motion sensor to detect when a visitor walks in front of the door. When the motion sensor is activated: • The digital camera in the doorbell starts recording a video. • A message is transmitted to a smartphone so that the person who lives in the house can watch the video. The doorbell also has a button that can be pressed. When the button is pressed, a message is transmitted to a smartphone to play the doorbell sound. The videos are stored on the doorbell’s internal secondary storage device and overwritten when the secondary storage device is full. (a) The video doorbell can be considered an example of an embedded system. Identify two characteristics of the doorbell that suggest it is an embedded system. 1 …… 2 …… [2] (b) State whether the video doorbell is a monitoring system or a control system. Justify your choice. Monitoring or control system …… Justification …… [2] (c) The video doorbell has both primary memory and secondary storage. (i) Identify two items of data that the video doorbell will store in primary memory. 1 …… 2 …… [2] (ii) The video doorbell has a solid state (flash) secondary storage device. Complete the table by writing the answer or answers to each statement about the principal operation of solid state (flash) memory. Statement Answer the two types of logic gate that 1 …… can be used to create solid state devices 2 …… the number of transistors contained in each cell the type of gate that can retain electrons without power the type of gate that allows or stops current from passing through [4] (iii) The video doorbell uses a buffer. Describe how the video doorbell will use the buffer. …… [2] (d) The digital camera has a microphone which is used to record the sound for the video. The user changes the sampling rate that the microphone uses from 44.1 kHz to 88.2 kHz. Describe how this change in sampling rate will affect the performance of the video doorbell. …… [3] (e) The video doorbell allows both real-time and on-demand bit streaming. (i) State what is meant by bit streaming. …… [1] (ii) Give two differences between real-time and on-demand bit streaming. 1 …… 2 …… [2]

Mark scheme

2(a) 1 mark each to max 2: 2 The doorbell only performs the specific tasks of motion detection/video recording/doorbell ringing The motion sensor and digital camera are built into the doorbell The CPU/memory/storage/software are all dedicated to this task only Only a dedicated microprocessor is required due to the limited processing requirements 2(b) No mark for identification of monitoring or control 2 1 mark each to max 2 for justification: Monitoring: The turning on of the digital camera does not affect the input to the sensor/button The transmission of the data/video does not affect the input to the sensor/button The ringing of the doorbell does not affect the input to the button Control: Video doorbell does not only store the values from the motion sensor The data is processed, generating a signal to start the digital camera recording Button pressed/motion detected causes a signal to be sent over a network to the smartphone 2(c)(i) 1 mark each to max 2: 2 Current reading/data from motion sensor Current/recent video Instructions being executed Start-up/BIOS/boot-up instructions 2(c)(ii) 1 mark for each row: 4 Statement Answer The two types of logic gate that can be used to create solid NAND state devices NOR The number of transistors contained in each cell 2 The type of gate that can retain electrons without power floating The type of gate that allows or stops current from passing control through 2(c)(iii) 1 mark each to max 2: 2 Captured video is transmitted to buffer … video is transmitted from buffer to smartphone Store recent data in a buffer for the user to rewind … instead of storing everything in secondary storage Store readings from motion sensor … until the microprocessor can process them Store video from digital camera … before moving it to secondary storage 2(d) 1 mark each to max 3: 3 Data transmission to user’s smartphone will take longer … because there is more data to transmit The secondary storage device will fill faster … fewer videos will be able to be stored long-term // videos are overwritten more often 2(e)(i) 1 mark for: 1 Continuous ordered flow of bits over a communication path 2(e)(ii) 1 mark each to max 2: 2 Real-time is direct from source whereas on-demand is pre- recorded/downloaded to view later Real-time cannot be re-watched, on-demand can be paused, re-watched etc. Real-time plays continually, on-demand downloads sections/blocks and cannot play until next section is downloaded

Question 35 marks

Question

A software developer is writing a computer program. (a) The developer uses an interpreter while writing the program code because it is easier for debugging. Explain one reason why it is easier to debug the program code using an interpreter instead of a compiler. …… [2] (b) The program is ready to be sold to customers. The developer uses a compiler because it creates an executable file. Explain the reasons why the need to create an executable file makes the complier the appropriate choice when the program is complete. …… [3]

Mark scheme

3(a) 1 mark each to max 2: 2 The interpreter will stop when an error is found ... so the error can be corrected in real-time, and the result of changes seen immediately Only one error is displayed at a time … so fewer errors to correct simultaneously and no dependent errors 3(b) 1 mark each to max 3: 3 Program can be distributed without source code ... so it cannot be edited/stolen/plagiarised Users do not require the translator to run the program … so time is not spent retranslating by user

Question 47 marks

Question

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 address. LDI <address> Load the contents of this second address to ACC Indexed addressing. Form the address from <address> + the contents LDX <address> of the Index Register. Copy the contents of this calculated address to ACC LDR #n Immediate addressing. Load the number n to IX ADD #n/Bn/&n Add the number n to the ACC ADD <address> Add the contents of the given address to the ACC SUB #n/Bn/&n Subtract the number n from the ACC SUB <address> Subtract the contents of the given address from the ACC INC <register> Add 1 to the contents of the register (ACC or IX) <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 (a) The current contents of memory are shown: Address Data 19 24 20 2 21 1 22 3 23 5 24 4 25 22 The current contents of the ACC and IX are shown: ACC 12 IX 1 Complete the table by writing the content of the ACC after each program has run. Program number Code ACC content LDD 20 1 ADD #2 2 LDX 22 LDI 25 3 INC ACC SUB 22 LDD 19 4 LDM #5 LDM #25 [4] (b) The processor includes these bit manipulation instructions: Instruction Explanation Opcode Operand AND #n/Bn/&n Bitwise AND operation of the contents of ACC with the operand Bitwise AND operation of the contents of ACC with the contents of AND <address> <address> XOR #n/Bn/&n Bitwise XOR operation of the contents of ACC with the operand Bitwise XOR operation of the contents of ACC with the contents of XOR <address> <address> OR #n/Bn/&n Bitwise OR operation of the contents of ACC with the operand Bitwise OR operation of the contents of ACC with the contents of OR <address> <address> <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 shown: Address Data 30 01110101 31 11111111 32 00000000 33 11001100 34 10101010 The current content of the ACC is shown: 1 0 0 1 1 0 1 0 Complete the table by writing the content of the ACC after each program has run. The binary number 10011010 is reloaded into the ACC before each program is run. Program number Code ACC content 1 AND 31 2 XOR B01001111 3 OR #30 [3]

Mark scheme

4(a) 1 mark for each correct answer: 4 Program Code ACC Number Content 1 LDD 20 4 ADD #2 2 LDX 22 5 3 LDI 25 1 INC ACC SUB 22 4 LDD 19 25 LDM #5 LDM #25 4(b) 1 mark for each correct answer: 3 Program Code ACC Content Number 1 AND 31 1001 1010 2 XOR B01001111 1101 0101 3 OR #30 1001 1110

Question 516 marks

Question

A bank allows customers to access their accounts using an application that they can download onto a device such as a smartphone. (a) The system that allows customers to access their accounts using the application is a client-server model. Describe the roles of the different devices in this model. …… [4] (b) The bank wants to protect the integrity of its data while transferring the data to other banks. Parity check is one example of data verification. Complete the description of parity check when Computer A is transmitting data to Computer B. Computer A and Computer B agree on whether to use …… parity. Computer A divides the data into groups of …… . The number of 1s in each group is counted. If the agreed parity is …… and the group has an even number of 1s, a parity bit of 1 is appended, otherwise a parity bit of 0 is appended. In a parity …… check the bytes are grouped together, for example in a grid. The number of 1s in each column (bit position) is counted. A bit is assigned to each column to make the column match the parity. These parity bits are transmitted with the data as a parity …… . [5] (c) The bank also needs to keep its customers’ data private and secure. (i) The bank’s network has a firewall. Explain how a firewall can help protect the customers’ data. …… [3] (ii) Customers need to use biometric authentication to access their accounts. One biometric authentication method is facial recognition. Facial recognition uses Artificial Intelligence (AI). Describe how AI is used in facial recognition. …… [4]

Mark scheme

5(a) 1 mark each: 4 Identification of server in the bank scenario Description e.g. Receives requests, processes the requests Identification of client in bank scenario Description e.g. Sends request to the server, waits and outputs the response 5(b) 1 mark for each correctly completed term: 5 odd or even 7-bits odd block byte Computer A and Computer B agree on whether to use odd or even parity. Computer A divides the data into groups of 7-bits. The number of 1s in each group is counted. If the agreed parity is odd and the group has an even number of 1s a parity bit of 1 is appended, otherwise a parity bit of 0 is appended. In a parity block check the bytes are grouped together, for example in a grid. The number of 1s in each column (bit position) is counted. A bit is assigned to each column to make the column match the parity. These parity bits are transmitted with the data as a parity byte. 5(c)(i) 1 mark each to max 3: 3 Compares all incoming and outgoing transmissions ... against set criteria/whitelist/blacklist Blocks all transmissions that do not meet rules Blocks data entering from specific ports Blocks unauthorised/unknown internal software transmitting data 5(c)(ii) 1 mark each to max 4: 4 e.g. Captures an image of the face Uses image recognition Trained to identify the features of a face in an image … using a large number of images Analyse images for facial features Uses the probability of a match

Question 615 marks

Question

A company is developing a website that will allow users to create an account and then play a quiz every day. The data about the users and the quizzes are stored in a database. A user must select a unique username and enter a valid email address to create an account. All users must be over the age of 16. A new quiz is given to the users every day. Each quiz is stored in its own text file. The database stores the filename of each quiz and the date it can be played. The user gets a score for each quiz they complete, which is stored in the database. The scores are used to give each user a rating, for example Gold. (a) Create a 3-table design for this database normalised to Third Normal Form (3NF). Give your table design in the format: TableName(PrimaryKey, Field1, Field2, …) …… [6] (b) The company is using a Database Management System (DBMS) to set up the database. Describe what is meant by the following DBMS features: Data dictionary …… Logical schema …… [4] (c) The company has another database, FARMING, for a different game. The database FARMING has a table named EVENT which is shown with some sample data. PlayerID EventID Category Points 000123 3 Build 100 000124 1 Grow 36 000123 4 Grow 22 000123 7 Create 158 000125 3 Grow 85 000125 4 Build 69 (i) The database FARMING has a second table created named PLAYER that has the primary key PlayerID. The field PlayerID in EVENT needs to be set up as a foreign key to link to PlayerID in PLAYER. Write a Structured Query Language (SQL) script to change the table definition for EVENT to link the foreign key to PLAYER. …… [2] (ii) Write an SQL script to return the number of events that each player has completed. …… [3]

Mark scheme

6(a) 1 mark each: 6 User table with the username as the Primary Key … containing at least email address, date of birth / age and rating Quiz table with Quiz ID or date or file name as the Primary Key. … containing at least the other field(s) not used as the PK A joining table with an appropriate name including at least fields for user identification, quiz identification and score … with an appropriate Primary Key ... and Foreign Keys matching the Primary Keys of the other two tables USER(Username, Email, DateOfBirth, Rating) QUIZ(QuizID, Date, Filename) USER_QUIZ(Username, QuizID, Score) 6(b) 1 mark each to max 2 for data dictionary and max 2 for logical schema: 4 Data dictionary: Data about the data in the database // metadata Identifies the characteristics of the data that will be stored Appropriate example e.g. field names, table name, validation rules, data types, primary / foreign keys, relationships etc. Logical schema: Conceptual design Platform/database independent overview of the database Is used to design the physical structure Appropriate example e.g. Design of entities / E-R diagram / views 6(c)(i) 1 mark for each correct clause: 2 Alter table EVENT Adding foreign key as PlayerID referencing correct table ALTER TABLE EVENT ADD FOREIGN KEY(PlayerID)REFERENCES PLAYER(PlayerID); 6(c)(ii) 1 mark each: 3 Selecting PlayerID from EVENT Counting EventID Grouping by the PlayerID Example: SELECT PlayerID, COUNT(EventID) FROM EVENT GROUP BY PlayerID;

Question 73 marks

Question

Complete the binary addition. Show your working. 10011110 01100001 +00011001 [3]

Mark scheme

7 1 mark each: 3 Working – carried values clearly indicted Correct answer 0001 1000 Overflow clearly indicated as overflow Example: 10011110 01100001 + 00011001 (1) 0 0 0 1 1 0 0 0 1 1 1 1 1 1 1........................(carries)

Question 88 marks

Question

A business is creating a local area network (LAN) in its office. (a) The business is deciding which topology to use. Tick (✓) one or more boxes in each row to identify the topology, or topologies, each statement describes. Statement Bus Star Mesh all devices connect to one central device all devices connect to a central cable multiple paths for the packets to travel along robust against damage because if any line fails, the rest of the network retains full functionality most likely to lose data through collisions [5] (b) The LAN will connect to the internet through a router. The router has a public IPv6 address. (i) State why the router has a public IP address. …… [1] (ii) One difference between an IPv4 and IPv6 address is that the numbers in an IPv4 address are separated by full stops and in an IPv6 address they are separated by colons. Identify two other differences between an IPv4 and IPv6 address. 1 …… 2 …… [2]

Mark scheme

8(a) 1 mark for each correct row: 5 Statement Bus Star Mesh all devices connect to one central device all devices connect to a central cable multiple paths for the packets to travel robust against damage because if any line fails, the rest of the network retains full functionality most likely to lose data through collisions 8(b)(i) 1 mark for: 1 to be visible to and accessible by other devices on the internet 8(b)(ii) 1 mark each: 2 IPv4 has 4 groups of digits whilst IPv6 has 8 groups IPv4 is usually represented in denary whilst IPv6 is usually represented in hexadecimal IPv4 groups are between 0 and 255 whilst IPv6 is between 0 and FFFF IPv4 is 32 bits whilst IPv6 is 128 bits

Checked your answers against these? Let AI mark the whole paper, on your own working.

Mark my 9618/11

How this paper is marked

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.

9618/11 in other series

Find another Computer Science paper

Every AS & A Level Computer Science mark scheme

Question papers and mark schemes © Cambridge University Press & Assessment. CIE Buddy is independent and not connected to Cambridge.

9618/11 questions

Where can I find the 9618/11 May/June 2024 mark scheme?

On this page, free: the mark scheme for AS & A Level Computer Science 9618/11, May/June 2024 (9618_s24_ms_11), and the question paper (9618_s24_qp_11), to read or download, with each question's marking points written out underneath.

How many marks is 9618/11 out of?

Computer Science 9618/11 for May/June 2024 is out of 75 marks, with 1 hour 30 minutes to answer it.

Can I get my 9618/11 answers marked?

Yes. Upload your answers to 9618/11/M/J/24 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.