Past paper – A Level Computer Science (old syllabus, to 2021) (9608)

Cambridge International AS & A Level · 9608

Computer Science (old syllabus, to 2021) · Paper 11

Oct/Nov 2020 · 9608/11/O/N/20

Questions8
Marks75
TypeWritten

Answer on paper, open each mark scheme and give yourself marks, then open the Summary.

0 / 0Answer a question to start your score.
Saved 0
Advertisement
1
9608/11/O/N/20 · Question 1Oct/Nov 2020Paper 113 marks
Loading question…
Question text

1
Draw one or more lines to link each language translator to the most appropriate statement(s).
Language translator
Statements
Converts a low-level language
instruction into binary
Stops as soon as it finds a syntax error
Compiler
Needs the source code to be present
when the user’s program is run
Reports all errors found at the end of
the process
Corrects syntax errors as they are
detected
Interpreter
Converts a high-level language into a
different form
Creates an executable file
[3]

2
9608/11/O/N/20 · Question 2Oct/Nov 2020Paper 1127 marks
Loading question…
Question text

2
A veterinary surgery cares for sick animals. The surgery has a file-based database that stores
data about the pets, their owners, and appointments made with the surgery.
The surgery wants to upgrade to a relational database.
(a) Explain the reasons why the surgery should upgrade their database.
…
…
…
…
…
…
…
… [4]
(b) The design for the surgery database, SURGERY, is:
PET(PetID, OwnerFirstName, OwnerLastName, PetName, PetBreed,
PetDateOfBirth, TelephoneNumber)
APPOINTMENT(AppointmentID, Date, Time, StaffID, PetID)
(i)
Give one reason why the database design for SURGERY is not in Third Normal Form
(3NF).
…
… [1]
(ii)
The database needs to be normalised to 3NF. A pet may have more than one owner and
an owner may have more than one pet.
The appointment table does not need to change and has been repeated below.
Give the name and attributes of three additional tables in 3NF. Identify the primary
key(s) in each table.
APPOINTMENT(AppointmentID, Date, Time, StaffID, PetID)
Table 1 …
…
…
Table 2 …
…
…
Table 3 …
…
…
[4]
(c) Part of the table APPOINTMENT is shown. The veterinary surgery uses Data Manipulation
Language (DML) statements to search for appointments.
AppointmentID
Date
Time
StaffID
PetID
222010
02/02/2021
12:40
JK1
20CF
222011
02/02/2021
12:40
PP2
10DT
222012
02/02/2021
12:50
JK1
9RR
222013
02/02/2021
13:00
JK1

3
9608/11/O/N/20 · Question 3Oct/Nov 2020Paper 118 marks
Loading question…
Question text

3
Ria manages a team of software developers. The team is creating a mobile application game for a
client.
Ria wants to ensure that her team works to the ACM/IEEE Software Engineering Code of Ethics.
(a) Explain the ways in which Ria and her team can ensure that they follow the Code of Ethics in
relation to the product and their colleagues.
(i)
Product
…
…
…
… [2]
(ii)
Colleagues
…
…
…
… [2]
(b) Ria’s client wants to sell the game for a profit. The client cannot decide which type of software
licence to use to distribute the game.
Identify two types of licence that Ria could recommend to her client and justify the use of
each licence.
Licence 1 …
Justification …
…
…
Licence 2 …
Justification …
…
…
[4]

Advertisement
4
9608/11/O/N/20 · Question 4Oct/Nov 2020Paper 118 marks
Loading question…
Question text

4
The following table shows assembly language instructions for a processor that has one general
purpose register, the Accumulator (ACC).
Instruction
Explanation
Op code
Operand
Direct addressing. Load the contents of the location at the given address to
LDD
<address>
ACC.
LDM
#n
Immediate addressing. Load the denary number n to ACC.
Indirect addressing. The address to be used is at the given address. Load
LDI
<address>
the contents of this second address to ACC.
Compare the contents of ACC with <address>.
CMP
<address>
Store contents of ACC at the given address.
STO
<address>
Add the contents of the given address to ACC.
ADD
<address>
Subtract the contents of the given address from the contents of ACC.
SUB
<address>
Output to screen the character whose ASCII value is stored in ACC.
OUT
Add 1 to the contents of the register (ACC or IX).
INC
<register>
Following a compare instruction, jump to <address> if the compare was True.
JPE
<address>
Return control to the operating system.
END
(a) The current contents of the main memory are:
Address
Instruction
100
LDD 200
101
ADD 201
102
ADD 202
103
SUB 203
104
STO 204
105
END
…
200
10
201
20
202
5
203
6
204
205
Tick (✓) one box to indicate which one of the following statements is true after program
execution.
Statements
Tick (✓)
Memory location 204 contains 400
Memory location 204 contains 41
Memory location 204 contains 231
Memory location 204 contains 29
[1]
(b) The current contents of the main memory are:
Address
Instruction
100 LDM #120
101 ADD 121
102 SUB 122
103 STO 120
104 END
…
120 10
121 2
122 4
123 6
124 8
125 10
Tick (✓) one box to indicate which one of the following statements is true after program
execution.
Statement
Tick (✓)
Memory location 120 contains 135
Memory location 120 contains 118
Memory location 120 contains 0
Memory location 120 contains 16
[1]
(c) The current contents of the main memory are:
Address
Instruction
150
LDI 200
151
ADD 200
152
ADD 201
153
STO 205
154
END
…
200
202
201
203
202
201
203
200
204
205
Tick (✓) one box to indicate which one of the following statements is true after program
execution.
Statement
Tick (✓)
Memory location 205 contains 607
Memory location 205 contains 601
Memory location 205 contains 603
Memory location 205 contains 606
[1]
(d) Identify two modes of addressing that are not used in parts (a), (b) or (c).
1 …
2 …
[2]
(e) Assembly language instructions can be put into groups.
Tick (✓) one box on each row to indicate the appropriate instruction group for each assembly
language instruction.
Assembly language
Data
Jump
Input and
Arithmetic
instruction
movement
instruction
output of data
STO 120
JPE 200
ADD 3
LDD 20
INC ACC
OUT
[3]

5
9608/11/O/N/20 · Question 5Oct/Nov 2020Paper 1113 marks
Loading question…
Question text

5
Oscar is watching a concert on his laptop computer.
(a) The concert is streamed to his computer at the same time as it is taking place.
(i)
Identify whether Oscar is using real-time or on-demand bit streaming. Justify your choice.
Streaming method …
Justification …
…
…
…
…
[3]
(ii)
The video of the concert repeatedly stops and restarts while Oscar is watching it on his
laptop computer. His friend is watching the same video of the concert at the same time,
in a different location, but he does not experience the same problem as Oscar.
Give three possible reasons why Oscar’s video constantly stops and starts again.
1 …
…
2 …
…
3 …
…
[3]
(b) The video of the concert is made up of a sound track and multiple images.
Two successive frames of one section of the video are shown. The pixel colours are
represented by letters.
BL
BL
BL
RD
RD
RD
BL
BL
BL
RD
RD
RD
BL
BL
BL
RD
RD
RD
K
K
K
K
K
K
LG
LG
LG
DG
DG
DG
LG
LG
LG
DG
DG
DG
BK
BK
BK
BK
BK
BK
Y
Y
K
Y
Y
K
W
K
W
W
W
DG
W
K
W
W
W
DG
P
P
P
P
P
P
P
P
P
P
P
P
Frame 1
Frame 2
(i)
Explain the way in which progressive encoding can be used to transmit Frames 1 and 2.
…
…
…
… [2]
(ii)
Explain, using Frames 1 and 2 as an example, the way in which temporal redundancy
can be used to compress a video.
…
…
…
…
…

6
9608/11/O/N/20 · Question 6Oct/Nov 2020Paper 114 marks
Loading question…
Question text

6
(a) Convert the following denary number into a 12-bit two’s complement binary form.
-245
[1]
(b) Convert the following hexadecimal number into denary.
F0
…
… [1]
(c) Convert the following unsigned binary integer into denary.
10101111
…
… [1]
(d) Convert the following Binary Coded Decimal (BCD) into denary.
100001010011
…
… [1]

7
9608/11/O/N/20 · Question 7Oct/Nov 2020Paper 114 marks
Loading question…
Question text

7
Anne is downloading a sound file from a web server. She had the choice of a sampling rate of
44.1 kHz or 98 kHz before she downloaded the sound file.
Explain the differences between the two sound files stored on the server.
…
…
…
…
…
…
…
… [4]

8
9608/11/O/N/20 · Question 8Oct/Nov 2020Paper 118 marks
Loading question…
Question text

8
Joshua’s laptop is connected to the router on his home network.
(a) The laptop has a private IP address. The router has both public and private IP addresses.
Explain the reasons why Joshua’s laptop has a private IP address only, but the router has
both a private and a public IP address.
…
…
…
…
…
…
…
… [4]
(b) Joshua visits a website by entering its Uniform Resource Locator (URL).
Describe how the URL is converted into a matching IP address.
…
…
…
…
…
…
… [3]
(c) Give one example of a valid IPv4 address.
…
… [1]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
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 the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of

Advertisement