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

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

1
Devices connected to the Internet have IP (Internet Protocol) addresses.
(a) Three IPv4 addresses are given.
Circle either Valid or Invalid to indicate whether each address is valid or invalid. Explain your
decision.
3A.21.2H.1
Valid / Invalid
Address 1:
Explanation …
…
299.53.2.2
Valid / Invalid
Address 2:
Explanation …
…
192.2.1.0
Valid / Invalid
Address 3:
Explanation …
…
[3]
(b) A website can be accessed using either the Uniform Resource Locator (URL) or the IP
address.
Describe how a URL is converted into its matching IP address.
…
…
…
…
…
… [3]
(c) People use the Internet to stream media.
Complete the following statements by filling in the names of the missing methods of bit
streaming.
… bit streaming is used when watching a live stream of events
that are currently taking place. The event is captured live with a video camera connected to a
computer, and it cannot be paused or rewound.
… bit streaming is used when watching an event that has taken
place in the past. Existing media are encoded to bit streaming format and uploaded to a
server. It can be paused and rewound.
[2]
(d) A recording of a concert is stored as a file. The file is compressed using lossy compression
before it is streamed to users.
(i)
State why this file needs to be compressed.
…
… [1]
(ii)
Define the term lossy compression.
…
… [1]
(iii)
The file could be compressed using lossless compression.
Explain why lossy compression is a more appropriate compression technique than
lossless for this file.
…
…

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

2
A software company produces software and distributes it under different software licences.
(a) Four descriptions of software licences are given.
Write the type of software licence that best fits each description. Use a different type of licence
for each description.
1. The software can be legally used, only after a fee has been paid.
Licence type …
2. The source code comes with the software. If the software is modified, the edited source
code must be released under the same conditions as the original software.
Licence type …
3. The software is free for a trial period and then a fee is requested, or expected, if the user
wants to continue to use the software.
Licence type …
4. The source code comes with the software. The software is free to be downloaded, edited,
and distributed, possibly without restriction.
Licence type …
[4]
(b) The software company stores information about customers and the software licences they
have purchased. The company considers a file-based approach for the storage and retrieval
of data.
(i)
Give three limitations of a file-based approach to store the data.
1 …
…
2 …
…
3 …
…
[3]
(ii)
The software company decides to use a database to overcome the limitations of a
file-based system. Some of these limitations are addressed through the logical schema.
Name and describe two levels of the schema of a database.
Name 1 …
Description …
…
Name 2 …
Description …
…
[4]
(c) The database has the following tables:
CUSTOMER(CustomerID, CompanyName)
SOFTWARE(SoftwareID, SoftwareName, OperatingSystem, Description)
LICENCE( LicenceID, CustomerID, SoftwareID, DateOfPurchase,
LicenceType, Cost, ExpiryDate)
(i)
Identify the type of relationship that exists between the tables CUSTOMER and LICENCE.
…
…

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

3
Kimmy has written a program in a high-level language.
(a) Kimmy has used library routines in the program.
(i)
Describe two advantages of using library routines in the program.
1 …
…
…
…
2 …
…
…
…
[4]
(ii)
Describe what is meant by a Dynamic Link Library (DLL).
…
…
…
… [2]
(b) Three translators are compilers, interpreters, and assemblers.
(i)
State one benefit of Kimmy using an interpreter during the development of the program.
…
… [1]
(ii)
State three benefits of Kimmy using a compiler when the program is complete.
1 …
…
2 …
…
3 …
…
[3]

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

4
A software developer works in a team for a large software development company.
(a) Two principles of the ACM/IEEE Software Engineering Code of Ethics are:
•
developers must act consistently with the public interest
•
developers must act in the best interest of their client and employer.
Name and describe three other principles in the ACM/IEEE Software Engineering Code of
Ethics.
Principle 1 …
Description …
…
…
Principle 2 …
Description …
…
…
Principle 3 …
Description …
…
…
[6]
(b) The software development company uses data backup and disk-mirroring to keep their data
secure.
Explain how data backup and disk-mirroring allow the company to recover from data loss.
Data backup …
…
…
…
Disk-mirroring …
…
…
…
[4]

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

5
A simple program written in assembly language is translated using a two-pass assembler.
(a) The table contains some of the tasks performed by a two-pass assembler.
Tick (✓) one box in each row to indicate whether the task is performed at the first or second
pass. The first row has been completed for you.
Task
First pass
Second pass
Creation of symbol table
✓
Expansion of macros
Generation of object code
Removal of comments
[2]
(b) The processor’s instruction set can be grouped according to their function. For example, one
group is modes of addressing.
Identify two other groups of instructions.
1 …
…
2 …
…
[2]
(c) The 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 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)
20
LDM #0
ASCII Code
Character
21
STO 300
65
A
22
CMP #0
66
B
23
JPE 28
24
LDX 100
67
C
25
ADD 301
68
D
26
OUT
69
E
27
JMP 30
28
LDX 100
97
a
29
OUT
98
b
30
LDD 300
99
c
31
INC ACC
32
STO 300
100
d
33
INC IX
101
e
34
CMP #2
35
JPN 22
36
END
…
100
65
101
67
102
69
103
69
104
68
…
300
301
33
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
100
101
102
103
104
300
301
65
67
69
69
68
33
0
20
0
[8]

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

6
A student records a video using a digital camera.
(a) The recording uses interlaced encoding.
Describe interlaced encoding.
…
…
…
…
…
…
… [3]
(b) State one benefit of using interlaced encoding compared to progressive encoding.
…
… [1]
(c) A video can be compressed using spatial redundancy or temporal redundancy.
Explain how temporal redundancy compresses a video.
…
…
…
…
… [2]
(d) A sound track is recorded for the video.
(i)
Describe how a computer encodes the sound track.
…
…
…
…
…
… [3]
(ii)
Explain how the sampling rate and sampling resolution affect the file size of the sound
track.
Sampling rate …
…
Sampling resolution …
…
[2

Advertisement