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

Cambridge International AS & A Level · 9608

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

May/June 2019 · 9608/12/M/J/19

Questions6
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/12/M/J/19 · Question 1May/June 2019Paper 1215 marks
Loading question…
Question text

1
Computers on the Internet have IP addresses.
(a) IP addresses can be in either IPv4 or IPv6 format.
(i)
Give an example of a valid IPv4 address.
…
… [1]
(ii)
State why there is a need for IPv6 addressing.
…
… [1]
(iii)
A computer’s IPv6 address is:
C100:2235::1000:25AA:AA50
Explain why this IPv6 address would be an invalid IPv4 address.
…
…
…
… [2]
(b) A company has computers in two separate buildings that communicate using the Internet
over a Public Switched Telephone Network (PSTN).
(i)
Describe the transmission of data using a PSTN.
…
…
…
… [2]
(ii)
The company wants to install a dedicated line between the two buildings.
Identify one benefit and one drawback of installing a dedicated line between the two
buildings.
Benefit …
…
Drawback …
…
[2]
(c) A network can use routers and gateways.
Explain the role of routers and gateways in a network.
…
…
…
…
…
…
…

2
9608/12/M/J/19 · Question 2May/June 2019Paper 126 marks
Loading question…
Question text

2
Biyu is writing a computer program in a high-level language.
(a) Biyu uses a language translator.
(i)
State the purpose of a language translator.
…
… [1]
(ii)
Biyu uses an interpreter.
State two benefits of Biyu using an interpreter instead of a compiler while writing the
program.
1 …
…
2 …
…
[2]
(iii)
Name a translator other than an interpreter and a compiler.
… [1]
(b) Biyu uses library files in the program.
Explain why software is often developed using library files.
…
…
…
… [2]

3
9608/12/M/J/19 · Question 3May/June 2019Paper 1216 marks
Loading question…
Question text

3
The fetch-execute cycle is shown in register transfer notation.
[PC]
01
MAR
[PC] - 1
02
PC
[MAR]
03
MDR
[MAR]
04
CIR
(a) There are three errors in the fetch-execute cycle shown.
Identify the line number of each error and give the correction.
Line number …
Correction …
Line number …
Correction …
Line number …
Correction …
[3]
(b) A processor’s instruction set can be grouped according to their function. For example, one
group is the input and output of data.
Identify two other groups of instructions.
1 …
…
2 …
…
[2]
(c) The following table shows assembly language instructions for a processor which has one
general purpose register, the Accumulator (ACC), and an Index Register (IX).
Instruction
Explanation
Op code
Operand
Immediate addressing. Load the denary number n to ACC
LDM #n
Direct addressing. Load the contents of the location at the given address to
LDD <address>
ACC
Indexed addressing. Form the address from <address> + the contents of the
LDX <address>
Index Register. Copy the contents of this calculated address to ACC
Immediate addressing. Load the denary number n to IX
LDR #n
Store contents of ACC at the given address
STO <address>
Add the contents of the given address to ACC
ADD <address>
INC <register> Add 1 to the contents of the register (ACC or IX)
Compare contents of ACC with denary number n
CMP #n
Following a compare instruction, jump to <address> if the compare was True
JPE <address>
Following a compare instruction, jump to <address> if the compare was False
JPN <address>
Jump to the given address
JMP <address>
Output to the screen the character whose ASCII value is stored in ACC
OUT
Return control to the operating system
END
The current contents of the main memory, Index Register (IX) and selected values from the
ASCII character set are:
Address
Instruction
ASCII code table (Selected codes only)
50
LDM #0
ASCII code
Character
51
STO 401
65
A
52
LDX 300
66
B
53
CMP #0
67
C
54
JPE 62
68
D
55
ADD 400
69
E
56
OUT
57
LDD 401
58
INC ACC
59
STO 401
60
INC IX
61
JMP 52
62
END
…
300
2
301
5
302
0
303
4
…
400
64
401
IX
0
Trace the program currently in memory using the following trace table.
The first instruction has been completed for you.
Memory address
Instruction
ACC
IX
OUTPUT
address
300
301
302
303
400
401
2
5
0
4
64
0
50
0
[8]
(d) The ASCII character code for ‘A’ is 65 in denary.
(i)
Convert the denary ASCII character code for ‘A’ into 8-bit binary.
[1]
(ii)
Convert the denary ASCII character code for ‘A’ into hexadecimal.
…

Advertisement
4
9608/12/M/J/19 · Question 4May/June 2019Paper 1217 marks
Loading question…
Question text

4
Shazia is creating a computer program that will be released to the public. The program includes a
video.
(a) Shazia uses a microphone to record a sound track for the video.
(i)
Describe the internal operation of a microphone.
…
…
…
…
…
… [3]
(ii)
The script for the sound track is printed using a laser printer.
Describe the internal operation of a laser printer.
…
…
…
…
…
… [3]
(b) The video is recorded using progressive encoding.
Describe progressive encoding.
…
…
…
… [2]
(c) Shazia’s computer has Dynamic RAM (DRAM) and Static RAM (SRAM).
Explain the differences between Dynamic RAM and Static RAM.
…
…
…
…
…
…
…
…

5
9608/12/M/J/19 · Question 5May/June 2019Paper 1212 marks
Loading question…
Question text

5
Moheem is creating a relational database to store data about his customers.
(a) Moheem has been told a relational database addresses some of the limitations of a file-based
approach by reducing data redundancy.
(i)
State what is meant by the term data redundancy.
…
… [1]
(ii)
Explain how a relational database can help to reduce data redundancy.
…
…
…
…
…
… [3]
(b) Moheem uses a Database Management System (DBMS) to ensure the security and integrity
of the data.
(i)
Explain the difference between security and integrity.
…
…
…
… [2]
(ii)
Name and describe two security features provided by a DBMS.
Feature 1 …
…
…
…
Feature 2 …
…
…
…
[4]
(iii)
The DBMS provides software tools for the database developer.
Fill in the names of the missing software tools in the following statements.
A … allows a developer to extract data from a
database.
A … enables a developer to create user-friendly
forms and reports.
[2]

6
9608/12/M/J/19 · Question 6May/June 2019Paper 129 marks
Loading question…
Question text

6
(a) Draw a logic circuit to represent the logic expression:
X = A OR (B AND NOT C) OR (A AND B)
A
X
B
C
[5]
(b) Complete the truth table for the logic expression in part (a).
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]
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