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

Computer Science 9618/11 October/November 2024: question paper and mark scheme

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

9618_w24_qp_119618_w24_ms_119618/11/O/N/24

Paper
Paper 1 Theory Fundamentals
Total marks
75
Time
1 hour 30 minutes
Code on the paper
9618/11/O/N/24
9618_w24_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 17 marks

Question

(a) State one difference between a tebibyte and a gigabyte. …… [1] (b) (i) Convert the unsigned binary integer into hexadecimal. 110001100111 Answer …… [1] (ii) Convert the two’s complement binary number into denary. 100110010111 Answer …… [1] (iii) Convert the Binary Coded Decimal (BCD) into denary. 010101110011 Answer …… [1] (c) Subtract the denary number 23 from the two’s complement binary number 01001010 Perform this calculation using binary subtraction. Show your working. Working …… Answer …… [2] (d) State one reason why binary addition and subtraction can result in overflow. …… [1]

Mark scheme

1(a) 1 mark for: 1 • A tebibyte = 1024 gibibytes / 1 048 576 kibibytes / 240 bytes whereas a gigabyte = 1000 megabytes / 1 000 000 kilobytes / 109 bytes • Tebi is binary prefix giga is denary prefix 1(b)(i) 1 mark for: 1 C67 1(b)(ii) 1 mark for: 1 −1641 1(b)(iii) 1 mark for: 1 573 1(c) 1 mark for working 1 mark for answer. 2 Working Using the two’s complement and adding: 23 in binary = 00010111 so minus 23 is 11101001 0100 1010 + 1110 1001 (1)0011 0011 Direct subtraction: 0100 1010 – 0001 0111 0011 0011 Answer: 0011 0011 1(d) 1 mark from: 1 • The answer cannot be represented in the number of bits available • The answer is larger than the maximum positive number that can be stored in the register • The answer is smaller than the most negative number that can be stored in the register

Question 217 marks

Question

A shop repairs electronic devices, for example mobile phones and tablet computers. The shop owner stores the data about the repairs using a file-based approach. (a) Give one limitation of using a file-based approach to store the data and explain how a relational database addresses this limitation. Limitation …… Explanation …… [3] (b) The shop owner creates a relational database called FIXIT. The database stores data about the customers and the devices for repair. Some devices need new parts that are ordered from suppliers. The database FIXIT is designed to include the following tables: PART(PartID, Description, Price, SupplierID) CUSTOMER(CustomerID, FirstName, LastName, ContactNumber) REPAIR(RepairNumber, StartDate, EndDate, CustomerID, Device) REPAIR_PART(PartID, RepairNumber, Quantity) (i) Complete the entity-relationship (E-R) diagram for the given tables. REPAIR_PART PART REPAIR CUSTOMER [3] (ii) The table shows sample data for the table REPAIR_PART. PartID RepairNumber Quantity ACD128SA 0022 3 PPOR543DWW 0022 1 TR453 0023 1 PPOR543DWW 0023 2 WED5 0024 5 Write a Structured Query Language (SQL) script to define the table REPAIR_PART. Include constraints (restrictions) on the data that can be entered into each field where appropriate. …… [5] (iii) Suppliers send invoices to the company for the parts that are used. A new table, INVOICE, stores the data about each invoice and whether it has been paid or not. The design for the table INVOICE is shown: INVOICE(InvoiceID, SupplierID, AmountDue, Paid, DatePaid) The table shows sample data for the table INVOICE. InvoiceID SupplierID AmountDue Paid DatePaid 000001 JK675 22.50 TRUE 01/01/2024 000002 WR443 358.99 FALSE 000003 JK675 10.21 FALSE Write an SQL script to return the total amount due to the supplier with the ID of JK675 for all the invoices that have not currently been paid. …… [3] (c) Complete the table by writing a definition for each of the database terms. Term Definition Referential integrity Candidate key Tuple [3]

Mark scheme

2(a) 1 mark for limitation and 2 marks for corresponding explanation 3 e.g. Data redundancy // data duplication • Separate linked tables are used • Data items are stored once so reduces data duplication / data redundancy Data inconsistency / Poor data integrity • Data changed once in one place will automatically update elsewhere • Linked data cannot be entered differently in two tables • Referential integrity can be enforced The data structure used depends on the application • Changes to the data structure are managed by the DBMS • … and queries are not dependent on the structure of the data • … and changes to the data do not require programs to be re-written 2(b)(i) 1 mark for each correct relation 3 2(b)(ii) 1 mark for each bullet point 5 • Create table REPAIR_PART with opening and closing brackets, all statements inside the brackets • PartID and RepairNumber as varchar (or equivalent) • Quantity as integer • At least 1 appropriate constraint • Dual primary key For example: CREATE TABLE REPAIR_PART( PartID VARCHAR(20) NOT NULL, RepairNumber VARCHAR(4) NOT NULL, Quantity INT NOT NULL, PRIMARY KEY (PartID, RepairNumber) ); 2(b)(iii) 1 mark for each bullet point 3 • Select SUM of AmountDue • From the correct table and one correct condition • Second correct condition SELECT SUM(AmountDue) FROM INVOICE WHERE SupplierID = "JK675" AND Paid = FALSE; 2(c) 1 mark for each correct definition 3 Database Term Definition All duplicate entries of data between tables are Referential Integrity consistent // all foreign keys are matched to an appropriate primary key A field that could be a primary key but is not // an Candidate Key attribute or smallest set of attributes in a table where no tuple has the same value A row / record in a table // one instance of an entity in Tuple a table

Question 316 marks

Question

A computer system has a dual-core Central Processing Unit (CPU). (a) State the purpose of the system clock and the Control Unit (CU) in a CPU. System clock …… CU …… [2] (b) (i) The number of cores in the processor affects the performance of the computer system. Identify one other feature of a processor that can affect the performance of a computer system and state why it affects the performance. Feature …… Reason …… [2] (ii) A solid state (flash) memory drive is automatically recognised by the computer when it is plugged into a port in the computer. Identify an appropriate type of port to connect the solid state memory drive to the computer. Explain how this port provides an automatic connection. Port …… Explanation …… [3] (c) Identify two disadvantages of using Dynamic RAM (DRAM) instead of Static RAM (SRAM) in a computer system. 1 …… 2 …… [2] (d) The computer system is used to store data received from a temperature sensor every five seconds. The data is stored on an optical disc using an optical disc reader/writer. (i) Describe the principal operation of an optical disc reader/writer. …… [4] (ii) The computer uses a buffer when writing data to the optical disc. Explain the use of a buffer when writing data to the optical disc. …… [3]

Mark scheme

3(a) 1 mark for system clock and 1 mark for Control Unit 2 System clock • To synchronise operations • ... by creating and transmitting timing signals on the control bus Control Unit • Sends/receives control signals along control bus • Reads an instruction from the contents of the memory location whose address is stored in PC • Coordinates/synchronises the activity of other components in the CPU • Manages the execution of instructions • Controls communication between the components in the CPU 3(b)(i) 1 mark for the feature, 1 mark max for the matching reason 2 e.g. Feature: clock speed • Higher clock speed means that more F-E cycles are executed per second // Higher clock speed results in more throughput Feature: bus width • Larger bus width means that more data transferred at the same time 3(b)(ii) 1 mark for correct port. 2 marks for explanation 3 Port: USB / Universal Serial Bus Explanation: • A voltage change occurs when the drive is plugged in • The computer detects this voltage change • The code of the device is transferred to computer • … the OS finds the code of the device in the list of devices • … and loads the appropriate device driver 3(c) 1 mark for each bullet point (max 2) 2 e.g. • DRAM requires constant refresh cycles unlike SRAM • DRAM has lower access speed than SRAM 3(d)(i) 1 mark for each bullet point (max 4) 4 • The disc is spun at high speed • A laser is shone onto the disc to read / write • … using optical head to move it into position • … it follows the spiral track from the centre outwards • When writing the laser burns pits to represent the data • When reading the laser reflects from pits and lands • The reflection from a pit and a land is different • ... the differences are interpreted as 1 or 0 3(d)(ii) 1 mark for each bullet point (max 3) 3 • The computer and optical disc reader/writer send and receive at different speeds • A buffer allows temporary storage of the data • … so that the computer can transfer data to the buffer at the higher speed • ... and is not held up waiting for data to transfer // so the computer can carry on with other tasks • ... so the optical disc reader/writer is not overloaded • … and so that data is transferred to optical disc reader/writer from the buffer at the slower rate

Question 417 marks

Question

A student uses a laptop to write a program that is saved as a text file. (a) The laptop has utility software and an Operating System (OS). (i) Describe the file management tasks carried out by an OS. …… [2] (ii) Explain the need for back-up software. …… [2] (b) The student compresses the file before it is emailed to their teacher as an attachment. (i) Explain the benefits to the teacher of the attachment being a compressed file. …… [3] (ii) Describe one lossless method of compressing a text file. …… [3] (c) The student used a program library when writing their program. Explain the benefits to the student of using library files when writing a program. …… [3] (d) The program code is written using an Integrated Development Environment (IDE). (i) One presentation feature found in a typical IDE is prettyprint. Identify and describe one other presentation feature found in a typical IDE. Feature …… Description …… [2] (ii) One debugging feature found in a typical IDE is single stepping. Identify and describe one other debugging feature found in a typical IDE. Feature …… Description …… [2]

Mark scheme

4(a)(i) 1 mark for each bullet point (max 2) 2 e.g. • Secondary storage space is divided into file allocation units • Space on secondary storage is allocated to particular files • Maintains/creates directory structures • Specifies the logical method of file storage e.g. FAT or NTFS • Provides file naming conventions • Controls user access // implements access rights //implements password protection // Makes file sharing possible • Controls access to the file by other software • Specifies tasks that can be performed on a file e.g. open, close, delete, copy, create, move, etc • Allows searching for a file 4(a)(ii) 1 mark for each bullet point (max 2) 2 • To allow data to be retrieved / restored when lost • To automatically make a duplicate copy of data… • …so the user does not have to remember to backup data • To make regular duplicate copies of data 4(b)(i) 1 mark for each bullet point (max 3) 3 e.g. • Less of the teacher’s storage space is used • ... so more student work can be stored • Transmission time is reduced • … so the teacher does not have to wait as long for it to arrive • Bandwidth usage is reduced • … so other transmissions are not adversely affected • Less data allowance is used on the teacher’s email system 4(b)(ii) 1 mark for each bullet point (max 3) 3 • Run-Length Encoding // RLE • Repeated sequences of the same characters are replaced by • ... a single copy of the character • ... and a count of the number of characters 4(c) 1 mark for each bullet point (max 3) 3 e.g. • It saves development time for the student • … by using pre-written code • There is less testing to do // the routines are more likely to work correctly • … because they have already been tested and are error-free • It results in a more robust program • Subroutines can be used that they do not have the skill to write • … which enables a more complex program to be written 4(d)(i) 1 mark for correct name, 1 mark for matching description 2 • Expand/collapse code blocks… • … sections of source code that are part of the same block can be expanded to see the content or collapsed so that the overall code is seen • Auto-indentation // auto-formatting... • ... automatically indents/formats code as the user types so that the structure is clear // aids readability 4(d)(ii) 1 mark for correct name, 1 mark for matching description 2 • Breakpoints … • … stops the code running on a set line to view the current status/variable contents/program flow • Report window // variable watch window … • … shows the values in variables/data structures and how they change when each line is run

Question 56 marks

Question

A security system has both a floodlight (very bright light) and an audio alarm. The data from multiple sensors is analysed and used to: • turn on the floodlight • sound the audio alarm. Sensors can be used to detect: • if doors are open • the external daylight level • if people are detected within a set distance. (a) Complete the table to identify the most appropriate type of sensor for each scenario. Scenario Type of sensor A door is open. The external daylight level is below a set amount. A person is detected within 2 metres. [1] (b) The floodlight (X) and audio alarm (Y) operate according to the following criteria: Parameter Description of parameter Binary value Condition 1 Low A external daylight level 0 High 1 Open B front door 0 Closed 1 Detected C person is within 2 m 0 Not detected 1 Open D back door 0 Closed 1 Switched on E security system 0 Switched off The floodlight turns on (X = 1) if: • the security system is switched on and • the external daylight level is low and • a person is detected within 2 m. The audio alarm turns on (Y = 1) if: • the security system is switched on and • one or more doors are open, or a person is detected within 2 m. Write logic expressions for the security system. X = …… Y = …… [2] (c) Explain whether the security system is an example of a monitoring system or a control system. …… [3]

Mark scheme

5(a) 1 mark for all 3 appropriate sensors 1 Scenario Type of sensor A door is open. Pressure sensor // Infra-red The external daylight-level is below a set Light sensor amount. A person is detected within 2 metres. Infra-red 5(b) 1 mark for each correct expression 2 X = E AND A AND C Y = E AND (B OR C OR D) 5(c) 1 mark for each bullet point (max 3) for a correct justification 3 No marks for the identification of the system Monitoring system • There is no use of feedback // The light and the alarm are just warnings • The output of the floodlight or the audio alarm does not affect the input of data from the sensors • The system does not have any actuators

Question 64 marks

Question

A car park system uses a camera to record the registration number of each car as it enters and leaves the car park. Explain how artificial intelligence is used in the car park system to identify the car’s registration number. …… [4]

Mark scheme

6 1 mark for each bullet point (max 4) 4 e.g. • It uses image recognition • The pixels of each image from the camera are stored • … and matched to the expected shape/size/colour of registration number • It uses optical character recognition • The pixels within the registration number area identified are analysed • … and compared to expected characters/letters/numbers

Question 74 marks

Question

Software is distributed with a licence. (a) Give two benefits of distributing software using a shareware software licence. 1 …… 2 …… [2] (b) Give two benefits of distributing software using a commercial software licence. 1 …… 2 …… [2]

Mark scheme

7(a) 1 mark for each bullet point (max 2) 2 • The user can test/trial the program before purchasing to see whether it meets needs • There is no initial cost • Users who try the software may spread the word so the developer gets more custom • The developer can get feedback to improve the program 7(b) 1 mark for each bullet point (max 2) 2 • The owner/developer can earn a fee • Comprehensive support is usually offered so problems can be easily solved • The software is usually well tested so few bugs

Question 84 marks

Question

A computer designed using the Von Neumann model for a computer system contains general purpose registers and special purpose registers. (a) Describe the purpose of the Status Register (SR). …… [2] (b) Identify two differences between general purpose registers and special purpose registers. 1 …… 2 …… [2]

Mark scheme

8(a) 1 mark for each bullet point (max 2) 2 • To store the value of flags/bits • … that can be changed/set/cleared after arithmetic / logical operations • To allow flags to be checked • … to change instruction sequence 8(b) 1 mark for each bullet point (max 2) 2 • Special purpose registers have a specified role in the machine whereas general purpose registers can be used for all purposes defined by the programmer • Special purpose registers hold the state of the program’s execution while general purpose registers hold the program’s data during operations

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 October/November 2024 mark scheme?

On this page, free: the mark scheme for AS & A Level Computer Science 9618/11, October/November 2024 (9618_w24_ms_11), and the question paper (9618_w24_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 October/November 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/O/N/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.