Computer Science (9618) · Oct/Nov 2024 · Question paper 12

Cambridge Computer Science (9618) question paper for paper 12, Oct/Nov 2024 — 9618/12/O/N/24, file 9618_w24_qp_12.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

* 0000800000001 *

,

,

Cambridge International AS & A Level
¬OŠ. 4mHuOªEŠ`y6€W
¬cMy\¤—¡Pu|K”lc4‚
¥5EU5ue5e• u¥uUU

* 8 1 7 2 4 5 6 6 0 1 *

COMPUTER SCIENCE
Paper 1 Theory Fundamentals

9618/12
October/November 2024
1 hour 30 minutes

You must answer on the question paper.
No additional materials are needed.
INSTRUCTIONS
●
Answer all questions.
●
Use a black or dark blue pen.
●
Write your name, centre number and candidate number in the boxes at the top of the page.
●
Write your answer to each question in the space provided.
●
Do not use an erasable pen or correction fluid.
●
Do not write on any bar codes.
●
You may use an HB pencil for any diagrams, graphs or rough working.
●
Calculators must not be used in this paper.

INFORMATION
●
The total mark for this paper is 75.
●
The number of marks for each question or part question is shown in brackets [ ].
●
No marks will be awarded for using brand names of software packages or hardware.

This document has 16 pages. Any blank pages are indicated.
DC (WW/CB) 337421/2
© UCLES 2024

[Turn over

2
,

1

,

(a) Complete the truth table for the logic expression:
X = (A XOR B) NAND (A AND (B XOR C))
A

B

C

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

Working space

X

[2]

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000002 *

P

Q

W

R

[2]

© UCLES 2024

ĬÍĊ®Ġ´íÈõÏĪÅĊÝû¸þ×
ĬãÏúÙĨēćçČþèìÒēČĥĂ
ĥĥÕÕõĕĥÕĕÕÕÅąµąµõÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

W = P NAND ((Q OR NOT R) XOR (P XOR Q))

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

(b) Draw the logic circuit for the logic expression:

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0000800000003 *

3
,

2

,

Embedded systems are used in many electronic devices.
(a) Describe the drawbacks of embedded systems.

DO NOT WRITE IN THIS MARGIN

[3]
(b) An embedded system has Dynamic RAM (DRAM).
Identify one benefit of using DRAM instead of Static RAM (SRAM) in an embedded system.

DO NOT WRITE IN THIS MARGIN

[1]
(c) Give two differences between Erasable Programmable ROM (EPROM) and Electrically
Erasable Programmable ROM (EEPROM).
Difference 1

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Difference 2

[2]

© UCLES 2024

ĬÏĊ®Ġ´íÈõÏĪÅĊÝù¸þ×
ĬãÐùÑĢď÷ÒîóġðêÇČĕĂ
ĥĥåĕµõąµąåąÅąÕĥõĥÕ

9618/12/O/N/24

[Turn over

4
A student has a computer.

(a) The computer is designed using the Von Neumann model for a computer system.
Complete the table by describing the purpose of each of the given registers.
Register

Program Counter
(PC)

Purpose

Memory Address
Register (MAR)

Memory Data
Register (MDR)

Index Register (IX)

DO NOT WRITE IN THIS MARGIN

3

,

DO NOT WRITE IN THIS MARGIN

,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000004 *

© UCLES 2024

ĬÍĊ®Ġ´íÈõÏĪÅĊßû¸Ā×
ĬãÐüÑĬĝòåôüĪÎĆĥĜĝĂ
ĥÕõĕõõąĕĥąõÅÅÕÅõõÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[4]

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0000800000005 *

5
,

,

(b) The student needs to connect the computer to a monitor that has a screen resolution of
2560 × 1600 pixels. The monitor also has built-in speakers.
The computer has a Video Graphics Array (VGA) port and a High Definition Multimedia
Interface (HDMI) port.
Explain the benefits of connecting the monitor to the computer using the HDMI port instead of
the VGA port.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[4]
(c) The computer has an Operating System (OS). One of the key management tasks of the OS is
process management.
Describe the process management tasks performed by an OS.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[4]

© UCLES 2024

ĬÏĊ®Ġ´íÈõÏĪÅĊßù¸Ā×
ĬãÏûÙĞġĂÔĆąßĊî±ĜčĂ
ĥÕąÕµĕĥõõõåÅŵåµĥÕ

9618/12/O/N/24

[Turn over

6
,

4

,

A program is written in a high-level language by a team of three programmers using an Integrated
Development Environment (IDE).
(a) Describe how the programmers can use the debugging features of a typical IDE during the
development of the program.

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000006 *

[4]

DO NOT WRITE IN THIS MARGIN

Describe the benefits to the programmers of creating a program library.

DO NOT WRITE IN THIS MARGIN

(b) The programmers created a new program library whilst developing the program.

[3]
(c) The file containing the final program code will be sent by email for beta testing.
Identify one security method that can be used to protect the program code from unauthorised
access during email transfer.
Explain how your chosen method protects the program code.
Security method

DO NOT WRITE IN THIS MARGIN

Explanation

[3]
© UCLES 2024

ĬÑĊ®Ġ´íÈõÏĪÅĊÞùµþ×
ĬãÐûÖĨĉČÜāøÖĪĆÔ´ĝĂ
ĥąåÕµµĥÕµĕąÅąµąõµÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0000800000007 *

7
,

5

,

A computer programmer is learning about the importance of acting ethically at work.
(a) Explain the reasons why the computer programmer needs to act ethically towards colleagues
and the public.
Colleagues

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

The public

[4]
(b) The programmer writes a program to be used in a business. The source code of the program
can be modified by the business. The business pays the programmer for the maintenance
and security updates.
(i)

Identify one suitable type of software licence for the program and describe the reasons
for your choice.
Type of software licence
Reasons for choice

DO NOT WRITE IN THIS MARGIN

[3]
(ii)

Explain the reasons why the programmer should copyright their program.

DO NOT WRITE IN THIS MARGIN

[2]

© UCLES 2024

ĬÓĊ®Ġ´íÈõÏĪÅĊÞûµþ×
ĬãÏüÎĢąüÝ÷ĉē®îĈ´čĂ
ĥąÕĕõÕąµåĥÕÅąÕĥµåÕ

9618/12/O/N/24

[Turn over

8
,

6



,

A company uses a relational database to store data about its customers, employees and the
individual repair jobs that customers have booked.
(a) Explain the benefits of using a relational database instead of a file-based approach.

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000008 *

[3]
(b) The company decides which employees will work on each repair job. An employee can log
into the database to access information about their repair jobs.

DO NOT WRITE IN THIS MARGIN

•
•
•
•
•

CUSTOMER stores personal data about each customer
EMPLOYEE stores personal data about each employee
LOGIN_DATA stores the username and password for each employee
JOB stores the data about each repair job
JOB_EMPLOYEE stores the employees that are working on each repair job.

(i)

Identify each relationship between the database tables and explain how each relationship
can be implemented in the normalised database.

DO NOT WRITE IN THIS MARGIN

The database is normalised and includes these tables:

DO NOT WRITE IN THIS MARGIN

[6]

© UCLES 2024

ĬÑĊ®Ġ´íÈõÏĪÅĊàùµĀ×
ĬãÏùÎĬ÷íÚùĂĜĐÒæäĥĂ
ĥµąĕµÕąĕÅÅåÅÅÕŵµÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

9
,

(ii)



,

The database also has the table INVOICE that stores data about each invoice that is
sent to a customer.
Example data from the table INVOICE is given.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000009 *

InvoiceID

DateSent

Amount

Paid

JobID

29262

12/12/2023

105.20

Y

221

26765

11/11/2023

200.00

Y

315

13290

02/01/2024

50.00

Y

315

34090

05/02/2024

25.95

N

569

Write a Structured Query Language (SQL) script to return the total amount of all the
invoices sent in the year 2023 that have been paid.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[3]

© UCLES 2024

ĬÓĊ®Ġ´íÈõÏĪÅĊàûµĀ×
ĬãÐúÖĞûýßÿïÍÌêòäĕĂ
ĥµõÕõµĥõÕµõÅŵåõåÕ

9618/12/O/N/24

[Turn over

10
,

7

,

A student takes a photograph of a science experiment.
(a) The photograph is saved as a bitmapped image.
(i)

Define the following bitmap terms.
Colour depth

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000010 *

File header

[2]
(ii)

Explain why changing the image resolution will affect the image quality and file size.
Image quality

DO NOT WRITE IN THIS MARGIN

File size

[2]
(iii)

Identify one lossless method of compressing an image.

DO NOT WRITE IN THIS MARGIN

(b) The student draws a picture on paper that is scanned into the computer and saved as a
vector graphic.
Define the vector graphic terms property and drawing list.
Property

Drawing list

DO NOT WRITE IN THIS MARGIN

[1]

© UCLES 2024

ĬÑĊ®Ġ´íÈõÏĪÅĊÝù·þ×
ĬãÎù×ĪïīØòĉ²ôÔÂĜčĂ
ĥĥĥÕµÕåĕĥõåąÅõŵąÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

[2]

www.dynamicpapers.com

11
,

,

BLANK PAGE

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000011 *

© UCLES 2024

ĬÓĊ®Ġ´íÈõÏĪÅĊÝû·þ×
ĬãÍúÏĠóěáĈø÷èìĖĜĝĂ
ĥĥĕĕõµÅõõąõąÅĕåõĕÕ

9618/12/O/N/24

[Turn over

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
Opcode

Explanation

Operand

LDM

#n

Immediate 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

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

DEC

<register>

Subtract 1 from the contents of the register (ACC or IX)

© UCLES 2024

ĬÑĊ®Ġ´íÈõÏĪÅĊßù·Ā×
ĬãÍûÏĦāĎÖĊïðĆĈ¸ČĕĂ
ĥÕÅĕµµÅÕĕåąąąĕąõąÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

<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

DO NOT WRITE IN THIS MARGIN

8

,

DO NOT WRITE IN THIS MARGIN

12
,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000012 *

www.dynamicpapers.com

13
,

DO NOT WRITE IN THIS MARGIN

,

(a) The current contents of memory are shown:
Address

Data

19

25

20

23

21

2

22

4

23

15

24

50

25

22

The current contents of the ACC and IX are shown:
ACC

50

IX

20

Complete the table by writing the content of the ACC and the IX after each set of instructions
has run.
Instructions

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0000800000013 *

1

LDM #19
DEC ACC

2

LDD 23
ADD 19

3

LDI 25
INC ACC

4

LDR #21
LDX 2

ACC content

IX content

[5]

© UCLES 2024

ĬÓĊ®Ġ´íÈõÏĪÅĊßû·Ā×
ĬãÎü×ĤýĞãðĂ¹ÒðĤČĥĂ
ĥÕµÕõÕåµąÕÕąąõĥµĕÕ

9618/12/O/N/24

[Turn over

,

(b) The instruction set also includes these bit manipulation instructions:
Explanation

Operand
#n/Bn/&n

Bitwise 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/&n

Bitwise 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/&n

Bitwise 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>

LSL

#n

Bits in ACC are shifted logically n places to the left. Zeros
are introduced on the right-hand end

LSR

#n

Bits in ACC are shifted logically n places to the right. Zeros
are introduced on the left-hand end.
DO NOT WRITE IN THIS MARGIN

AND

<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 content of the ACC is shown:
ACC
(i)

1

0

0

1

1

0

1

0

The table has three sets of instructions. The binary number 10011010 is reloaded into
the ACC before each set of instructions is run.
Complete the table by writing the content of the ACC after each set of instructions has run.
Instructions
1

LSL #2

2

ADD #5
AND #30

3

OR B11110010
INC ACC

ACC content

[3]

© UCLES 2024

ĬÍĊ®Ġ´íÈõÏĪÅĊàü¶Ă×
ĬãÍúÖĞòĖÑúąĖîåĨ¼ĝĂ
ĥõµĕµµĥĕĥÅÕÅŵÅõÅÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

Opcode

DO NOT WRITE IN THIS MARGIN

Instruction

DO NOT WRITE IN THIS MARGIN

14
,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000014 *

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0000800000015 *

15
,

(ii)

,

Explain how bit manipulation can be used to test whether the binary number stored in
the ACC represents an odd denary number.
Write the bit manipulation instruction that will be used.
Explanation

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Instruction
[3]

© UCLES 2024

ĬÏĊ®Ġ´íÈõÏĪÅĊàú¶Ă×
ĬãÎùÎĬîĦèĀüÓêÍ´¼čĂ
ĥõÅÕõÕąõõµąÅÅÕåµÕÕ

9618/12/O/N/24

[Turn over

16
,

9

,

A road bridge has a weight limit and a height limit for vehicles. For example, a vehicle must weigh
less than 10 000 kg and must have a height of less than 3 m.
The bridge has a warning system. If a vehicle is approaching the bridge and it exceeds one or
both limits, a sign displays a warning telling the driver of the vehicle to stop.
(a) The bridge warning system uses sensors to detect if a vehicle exceeds the limits.

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0000800000016 *

Use in bridge warning system

[2]

(b) Explain whether the bridge warning system is an example of a monitoring system or of a
control system.

DO NOT WRITE IN THIS MARGIN

Sensor

DO NOT WRITE IN THIS MARGIN

Complete the table by identifying two different sensors that could be used by the system and
describe how each sensor is used by the system.

[2]

Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

© UCLES 2024

ĬÍĊ®Ġ´íÈõÏĪÅĊÞü¶Ą×
ĬãÎüÎĢĀģÓĂóÜČñĒìĥĂ
ĥÅĕÕµÕąÕĕĕõÅąÕąµÅÕ

9618/12/O/N/24

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Advertisement