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

Cambridge International AS & A Level · 9608

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

Oct/Nov 2020 · 9608/13/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/13/O/N/20 · Question 1Oct/Nov 2020Paper 134 marks
Loading question…
Question text

1
Identify the most appropriate utility program to use for each of the following tasks.
Task
Utility program
Rearrange the data on a disk so that files are
contiguous, and all free space is collected together
Prepare a disk for initial use
Reduce the size of a file
Examine a disk to find any bad sectors
[4]

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

2
Four terms about videos are given with six descriptions.
Draw one line from each term relating to videos to its correct description.
Term
Description
The number of images that are displayed per second
The number of pixels per unit of measurement
Progressive encoding
e.g. per inch
Each frame is split into two fields: the first field
contains only the odd lines, the second field contains
Frame rate
the even lines
Only the pixels that have changed are transmitted
Interlaced encoding
The complete frame is reproduced in each scan of
the image
Image resolution
The number of pixels in the image
[4]

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

3
Hannah is writing a computer program using a high-level language. She uses both a compiler and
an interpreter.
(a) Describe the ways in which Hannah will use an interpreter while writing the program.
…
…
…
… [2]
(b) Explain the reasons why Hannah uses a compiler when she has finished writing the program.
…
…
…
… [2]
(c) Some high-level languages are partially compiled and partially interpreted.
Give one benefit and one drawback of using a language that is partially compiled and partially
interpreted.
Benefit …
…
Drawback …
…
[2]

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

4
A laptop on a home network connects to the Internet through a router.
(a) The laptop has an IP address.
(i)
Give the reasons why the laptop has an IP address.
…
…
…
… [2]
(ii)
The laptop’s IP address is private.
Give the reasons why the laptop does not have a public IP address.
…
…
…
… [2]
(iii)
The router has an IPv4 address.
Give three differences between the format of an IPv4 address and an IPv6 address.
1 …
…
2 …
…
3 …
…
[3]
(b) A Public Switched Telephone Network (PSTN) is one example of a communication system
that can be used to support the Internet.
Identify and describe two other communication systems that can be used to support the
Internet.
System 1 …
Description …
…
System 2 …
Description …
…
[4]
(c) A web page contains PHP code.
(i)
Complete the following table by writing a description of the function of each line of PHP
code.
PHP code
Description
echo "Hello World";
$number1 = 22;
$newValue = $_GET["number"];
print "Hello " . $name . "<br>";
[4]
(ii)
PHP is a server-side scripting language.
Give an example of a client-side scripting language.
…
…

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

5
The fetch-execute cycle is used when a computer processor runs a program.
(a) (i)
Complete the table by writing the register transfer notation for each of the descriptions.
Letter
Description
Register transfer notation
The Memory Address Register (MAR) stores an
A
address. The contents of this stored address are
copied to the Memory Data Register (MDR).
The contents of the Program Counter (PC) are
B
copied to the Memory Address Register (MAR).
The contents of the Memory Data Register (MDR)
C
are copied to the Current Instruction Register (CIR).
The contents of the Program Counter (PC) are
D
incremented.
[4]
(ii)
Write one of the letters A, B, C or D (from the table above) on each row (1 to 4), to show
the correct order of the fetch-execute cycle.
1 …
2 …
3 …
4 …
[2]
(b) Buses are used to transfer data between various components of the computer system.
Tick (✓) one or more boxes on each row to identify the bus(es) each statement describes.
Statement
Address bus
Control bus
Data bus
Receives data from the MAR
Carries an address or an instruction or a
value
Transmits timing signals to components
Bidirectional
[2]
(c) The following table shows assembly language instructions for a processor that has one
general purpose register, the Accumulator (ACC).
Instruction
Explanation
Op code
Operand
INV
Input a denary value from the keyboard and store it in ACC.
LDD <address>
Direct addressing. Load the contents of the location at the given address to 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 the
LDI <address>
contents of this second address to ACC.
ADD <address>
Add the contents of the given address to ACC.
OUT
Output to screen the character whose ASCII value is stored in ACC.
INC <register> Add 1 to the contents of the register (ACC or IX).
CMP <address>
Compare the contents of ACC with the contents of <address>.
JPE <address>
Following a compare instruction, jump to <address> if the compare was True.
JPN <address>
Following a compare instruction, jump to <address> if the compare was False.
STO <address>
Store contents of ACC at the given address.
END
Return control to the operating system.
(i)
The assembly language instructions are grouped according to their function.
Write one example of an op code from the table of instructions for each of the following
groups.
Arithmetic
…
Data movement
…
[2]
(ii)
The current contents of the main memory are:
Address
Instruction
INV
500
STO
901
501
INV
502
STO
900
503
ADD
902
504
STO
902
505
LDD
903
506
INC
ACC
507
STO
903
508
CMP
901
509
JPN
502
510
END
511
…
900
901
0
902
0
903
Trace the program currently in memory using the following trace table when the values
2, 10 and 3 are input.
The first instruction has been completed for you.
Memory address
Instruction
ACC
address
900
901
902
903
0
0
500
2
[6]
(d) The current contents of a general-purpose register X are:
1
1
0
0
1
0
1
0
X
(i)
The contents of X represent an unsigned binary integer.
Convert the contents of X into denary.
… [1]
(ii)
The contents of X represent a two’s complement binary integer.
Convert the contents of X into denary.
… [1]
(iii)
State why the binary number in X cannot represent a Binary Coded Decimal (BCD).
…
…

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

6
Lara is managing a team of software developers who are writing a computer program.
(a) Benedict is one of the developers. He is struggling to keep up with his workload.
Describe the ways in which Lara can ethically support Benedict.
…
…
…
… [2]
(b) Lara has identified that when a specific sequence of actions is performed in the program, a
run-time error causes the program to crash.
She has decided there is not enough time to debug the code because the client needs the
system urgently, and there is a possibility that the client may never perform this sequence of
actions.
Explain the reasons why Lara is not acting ethically.
…
…
…
… [2]
(c) The client wants to copyright the final program so that no one else can copy or amend it.
(i)
State the purpose of copyrighting the computer program.
…
… [1]
(ii)
Identify two software licences that would be appropriate for the program.
Licence 1 …
Licence 2 …
[2]
(iii)
Identify one software licence that would not be appropriate for the program. Justify your
choice.
Software licence …
Justification …
…
…
[2]

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

7
Wilbur uses vector graphics to create a logo for his company.
Wilbur Designs
(a) Describe how the logo is represented and encoded by the computer.
…
…
…
…
…
…
…
… [4]
(b) Wilbur scans a hand drawn image. The scanned image uses 8 bits to store the colour for
each pixel. The image is 2048 pixels wide by 1024 pixels high.
(i)
Calculate an estimate of the file size of the scanned image. Give your answer rounded to
the nearest MB.
Show your working.
…
…
…
…
Answer … MB
[2]
(ii)
Wilbur wants to compress the scanned image before emailing it to his colleague.
Describe one lossy compression technique that Wilbur can use to compress this image.
…
…
…
…
…
… [3]

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

8
Consider the following logic circuit.
A
B
X
C
(a) Complete the truth table for the logic circuit.
Working space
A
B
C
X
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
[4]
(b) Identify one logic gate not used in the logic circuit shown. Complete the truth table for this
logic gate with the inputs A and B.
Logic gate …
A
B
Output
0
0
0
1
1
0
1
1
[2]
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