A Level Computer Science 9618 Paper 13, Oct/Nov 2024

Question paper and mark scheme75 marks9 questions

Solve it on ExamPal

Practise

Untimed. Write on the paper and check as you go.

Start

Exam

Timed, with a clock you set, like sitting the real paper.

Start

Opens full screen.

Papers open in

Opening the question paper

Read as textThe questions and the mark scheme as plain text. Easier to read on a phone.

Question paper

9618/13 · Oct/Nov 2024

Download PDF
1
Figure 1 of 2 for question 1
Figure 2 of 2 for question 1
a

Describe the operation of a 2-input XOR gate.

[1]
b

Write the logic expression for the following logic circuit. X =

[2]
c

Draw the logic circuit for the logic expression: X = ((NOT A AND (B AND C)) OR (B NAND C)) AND NOT A

[2]
2

A memory buffer uses Dynamic RAM (DRAM).

a

Identify two differences between DRAM and Static RAM (SRAM). Difference 1 Difference 2

[2]
b

Explain how a memory buffer is used when a computer is transferring data to its magnetic hard disk drive.

[4]
3

A car has an automatic braking system. A sensor is used to measure the distance to objects that are in front of the car. The car automatically brakes if an object is too close to the front of the car or the distance between the car and the object is decreasing too quickly. The closer the object is to the front of the car, the harder the car brakes so that the car slows down more quickly. Explain the reasons why the automatic braking system of the car is a control system.

[3]
4

A company makes ice cream and sells it to shops. The ice cream is made in batches: a large quantity of one type and flavour of ice cream that is then split into smaller quantities for sale. The company’s owner has designed a relational database, ICECREAM, to store data about their ice cream and customers. Some of the tables in the database are given. The database is not normalised. BATCH(BatchID, Type, Flavour, Size, SellingPrice, EndDate) CUSTOMER(CustomerID, CompanyName, EmailAddress, TelephoneNumber) SALE(SaleID, BatchID, CustomerID, Quantity, Date)

a

Identify two foreign keys in the table SALE and the table that each foreign key references. Foreign key 1 Table name 1 Foreign key 2 Table name 2

[2]
b

Write an SQL script to return the total quantity of ice cream sold to the customer with the ID of 0034E in the year 2023.

[3]
c(i)

The table definition for BATCH is repeated here: BATCH(BatchID, Type, Flavour, Size, SellingPrice, EndDate) Sample data for the table BATCH is given:

BatchIDTypeFlavourSizeSellingPriceEndDate
KIV12PlainVanilla12.2012/12/2024
RIC14PlainChocolate0.51.8012/12/2024
TYL1Non-dairyLemon0.52.1001/02/2025
FYV2Non-dairyVanilla0.251.5002/02/2025
BIV13PlainVanilla12.2002/02/2024

Write an SQL script to define the table BATCH. Include constraints (restrictions) on the data that can be entered into each field where appropriate.

[5]
c(ii)

The table BATCH is not normalised. Normalise the database table BATCH. Write the table definitions for your new tables. Identify any primary and foreign keys in your tables. Do not change or include the tables CUSTOMER and SALE.

[4]
d

Complete the following table by defining each database term.

Database termDefinition
Entity
Attribute
[2]
e

A Database Management System (DBMS) supports data integrity. Explain how a DBMS supports data integrity.

[3]
5

A computer programmer writes programs that are distributed with a software licence.

a

Complete the table by writing the type of software licence each statement describes.

StatementSoftware licence
A fee is charged for the software. The source code cannot be accessed. Users do not get a free trial.
Users can try the software before buying it. Users may not be able to access all features during the trial.
Software is usually free of charge. Users can access the source code and alter the program to their needs.
[3]
b

Explain the reasons why it is important for the computer programmer to join a professional ethical body.

[3]
6

A computer system stores text, images and sound.

a

A character set is used to represent characters in a computer. Identify and describe one character set. Character set Description

[2]
b(i)

The colour of each pixel in a bitmapped image is represented by 8 bits. State the largest number of different colours that can be represented by 8 bits.

[1]
b(ii)

State one drawback of increasing the number of bits that represents each pixel in the bitmap image.

[1]
b(iii)

A bitmap image can be compressed using lossy compression. Explain the reasons why lossy compression is often suitable for a bitmap image.

[2]
c(i)

Explain how an analogue sound wave is converted into digital data.

[2]
c(ii)

Describe one method of compressing a sound file using lossy compression.

[2]
7

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).

InstructionExplanation
OpcodeOperand
LDM#nImmediate addressing. Load the number n to ACC
LDD<address>Direct addressing. Load the contents of the location at the given address to ACC
LDI<address>Indirect addressing. The address to be used is at the given address. Load the contents of this second address to ACC
LDX<address>Indexed addressing. Form the address from <address> + the contents of the index register. Copy the contents of this calculated address to ACC
LDR#nImmediate addressing. Load the number n to IX
ADD#n/Bn/&nAdd the number n to the ACC
ADD<address>Add the contents of the given address to the ACC
SUB#n/Bn/&nSubtract 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)
DEC<register>Subtract 1 from 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:

AddressData
5054
5155
5250
5352
54100
5525
5650

The current contents of the ACC and IX are shown: ACC: 50 IX: 45 Complete the table by writing the content of the ACC after each program has run.

InstructionsACC content
1LDD 50<br>ADD #4<br>ADD 54
2LDI 53<br>DEC ACC<br>ADD 56
3LDM #55<br>SUB #5
[3]
b

The instruction set also includes these bit manipulation instructions:

InstructionExplanation
OpcodeOperand
AND#n/Bn/&nBitwise AND operation of the contents of ACC with the operand
AND<address>Bitwise AND operation of the contents of ACC with the contents of <address>
XOR#n/Bn/&nBitwise XOR operation of the contents of ACC with the operand
XOR<address>Bitwise XOR operation of the contents of ACC with the contents of <address>
OR#n/Bn/&nBitwise OR operation of the contents of ACC with the operand
OR<address>Bitwise OR operation of the contents of ACC with the contents of <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 Explain how bit manipulation can be used to clear the data in an 8-bit register. Write the bit manipulation instruction that will be used. Explanation Instruction

[3]
8
a

Convert the hexadecimal number 1FAB into denary. Working Denary value

[1]
b

Explain how to convert the two’s complement integer 10011111 into denary. Give the denary value after conversion. Explanation Denary value

[3]
c

Describe the difference between a right logical binary shift and a right arithmetic binary shift.

[2]
9

A computer is connected to a Local Area Network (LAN) that connects to a Wide Area Network (WAN).

a

Describe the characteristics of a WAN.

[2]
b

Copper cable can be used to transmit data in a network. Complete the table by identifying and describing two other transmission media that can be used to transfer data in the WAN.

Transmission mediumDescription
[4]
c

The computer on the LAN is used for real-time video conferences, where people connected to the internet communicate in real-time using video and audio. Explain how bit streaming is used in a real-time video conference.

[4]
d(i)

The LAN has a router. The router has a public IP address and a private IP address. State the purpose of a public IP address and a private IP address. Public IP address Private IP address

[2]
d(ii)

The LAN uses subnetting. Describe the purpose of subnetting in a network.

[2]

Mark scheme

9618/13 · Oct/Nov 2024

Download PDF

1a · 1 mark

  • 1 mark

    Output is only 1 if one input is 1 and the other is 0 // Output is only 1 if both inputs are different // Output is only 0 if both inputs are the same

1b · 2 marks

  • 1 mark

    ((A NOR B) AND (A OR B))

  • 1 mark

    NAND (B AND C)

1c · 2 marks

  • 1 mark

    NOT gate, 2 correct AND gates and the NAND gate

  • 1 mark

    OR gate and the final AND gate

2a · 2 marks

  • 1 mark

    DRAM requires constant refreshing, but SRAM does not need to be constantly refreshed

  • 1 mark

    DRAM generally has greater capacities per chip, but SRAM generally has lower capacities per chip

2b · 4 marks

  • 1 mark

    The computer and the hard disk drive transmit and receive at different speeds // The computer transfers data faster than the HDD can receive

  • 1 mark

    The buffer is used for temporary storage

  • 1 mark

    … so that the computer can transfer data to the buffer at the higher speed

  • 1 mark

    ... and is not held up waiting for data to transfer

3 · 3 marks

  • 1 mark

    The system uses feedback

  • 1 mark

    The system acts independently

  • 1 mark

    Input data causes the car to brake

4a · 2 marks

  • 1 mark

    Foreign key: BatchID, table BATCH

  • 1 mark

    Foreign key: CustomerID, table CUSTOMER

4b · 3 marks

  • 1 mark

    SELECT SUM(Quantity)

  • 1 mark

    FROM SALE WHERE and one correct condition

  • 1 mark

    AND with remainder correct conditions

4c(i) · 5 marks

  • 1 mark

    Create table BATCH with opening and closing brackets, all statements within brackets

  • 1 mark

    BatchID, Type and Flavour as varchar or equivalent

  • 1 mark

    …with suitable constraint(s)

  • 1 mark

    Size as decimal, SellingPrice as currency, EndDate as date (or equivalent)

  • 1 mark

    Primary key identified as BatchID

4c(ii) · 4 marks

  • 1 mark

    Ice cream table with an appropriate name

  • 1 mark

    … containing type, flavour, size, selling price

  • 1 mark

    … with suitable primary key

  • 1 mark

    … foreign key identified in BATCH that links to the primary key in ICECREAM

4d · 2 marks

  • 1 mark

    Entity: A real-life object that is represented as a table

  • 1 mark

    Attribute: An item of data about an entity

4e · 3 marks

  • 1 mark

    Referential integrity is enforced

  • 1 mark

    … such as cascade update/delete // if the data is changed in one place it is updated in every other place

  • 1 mark

    ... and ensures each foreign key has a corresponding primary key

5a · 3 marks

  • 1 mark

    A fee is charged for the software. The source code cannot be accessed. Users do not get a free trial.: Commercial

  • 1 mark

    Users can try the software before buying it. Users may not be able to access all features during the trial.: Shareware

  • 1 mark

    Software is usually free of charge. Users can access the source code and alter the program to their needs.: Open Source // Free software

5b · 3 marks

  • 1 mark

    The professional ethical body has ethical guidelines to follow

  • 1 mark

    Clients/staff know the computer programmer is reputable

  • 1 mark

    The professional ethical body provides help and support

6a · 2 marks

  • 1 mark

    ASCII // UNICODE (identification)

  • 1 mark

    7/8 bits per character // represents 128/256 characters // represents all characters from Latin alphabet // 8/16/32 bits per character // represents 256/65536+ characters // represents all characters in all languages (matching description)

6b(i) · 1 mark

  • 1 mark

    256 // 2^8

6b(ii) · 1 mark

  • 1 mark

    Increased file size

6b(iii) · 2 marks

  • 1 mark

    The change may not be noticeable // Data removed is usually not noticed by the human eye

  • 1 mark

    It produces a larger decrease in file size compared to lossless // Lossy decreases file size considerably

6c(i) · 2 marks

  • 1 mark

    Value/magnitude/size of the analogue sound wave is measured a set number of times each second/time / at set intervals

  • 1 mark

    Each sample/reading/measurement is given the binary number and stored in sequence

6c(ii) · 2 marks

  • 1 mark

    Decrease sample rate // Decrease sample resolution // Sound outside of set/human hearing range is removed

  • 1 mark

    Matching expansion: fewer samples/readings/measurements stored per second // fewer bits per second stored // fewer bits per sample/reading/measurement // each sample has fewer bits // fewer measurements are stored / decreases the number of possible binary values so fewer bits are stored

7a · 3 marks

  • 1 mark

    158 (for instruction sequence 1: LDD 50, ADD #4, ADD 54)

  • 1 mark

    99 (for instruction sequence 2: LDI 53, DEC ACC, ADD 56)

  • 1 mark

    50 (for instruction sequence 3: LDM #55, SUB #5)

7b · 3 marks

  • 1 mark

    A bit manipulation operation is required to set all the bits to zero

  • 1 mark

    Compare the result of the masking with 0 // the result of comparison will be true if the register is cleared

  • 1 mark

    AND B00000000 / #00 / &00

8a · 1 mark

  • 1 mark

    Denary value: 8107

8b · 3 marks

  • 1 mark

    Flip each bit then add 1 … // Most significant 1 bit is treated as the corresponding negative denary value …

  • 1 mark

    … method of converting the new binary number into denary // … add the other positive corresponding denary values

  • 1 mark

    Denary value: −97

8c · 2 marks

  • 1 mark

    A logical shift moves all bits to the right and inserts zeros in the appropriate leftmost bits

  • 1 mark

    An arithmetic shift moves all bits to the right but copies the sign bit into the Most Significant Bit (MSB)

9a · 2 marks

  • 1 mark

    A WAN covers a large geographical area

  • 1 mark

    External/public infrastructure is used

9b · 4 marks

  • 1 mark

    Fibre optic

  • 1 mark

    Transmits data as pulses of light

  • 1 mark

    Radio waves / microwaves

  • 1 mark

    Transmits electromagnetic waves on different frequencies

9c · 4 marks

  • 1 mark

    Data is compressed before transmitting

  • 1 mark

    The video and audio are transmitted continuously as a series of bits

  • 1 mark

    The video is uploaded to a media server

  • 1 mark

    On download, the media server sends the data to a buffer // The buffer stores data from server until the receiving device can process it // The receiving device receives the bit stream from the buffer

9d(i) · 2 marks

  • 1 mark

    Public IP address: So that the router is visible to the Internet/external network/WAN

  • 1 mark

    Private IP address: So that the router is identified to computers within the LAN

9d(ii) · 2 marks

  • 1 mark

    It allows the network to be divided into smaller networks

  • 1 mark

    … which reduces traffic in some parts of the network // reduces congestion // because traffic only travels through the parts necessary // which hides the complexity of network // and allows for easier maintenance of the network

Questions

  1. 1
    Question 15 marks
    Mark scheme ›
  2. 2
    Question 26 marks
    Mark scheme ›
  3. 3
    Question 33 marks
    Mark scheme ›
  4. 4
    Question 419 marks
    Mark scheme ›
  5. 5
    Question 56 marks
    Mark scheme ›
  6. 6
    Question 610 marks
    Mark scheme ›
  7. 7
    Question 76 marks
    Mark scheme ›
  8. 8
    Question 86 marks
    Mark scheme ›
  9. 9
    Question 914 marks
    Mark scheme ›

More 9618 papers

Other papers from Oct/Nov 2024

Solve it on ExamPalStart