Computer Science (9608) · May/June 2019 · Question paper 12

Cambridge Computer Science (9608) question paper for paper 12, May/June 2019 — 9608/12/M/J/19, file 9608_s19_qp_12.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level

* 0 2 5 0 7 8 0 7 6 8 *

9608/12

COMPUTER SCIENCE

May/June 2019

Paper 1 Theory Fundamentals

1 hour 30 minutes
Candidates answer on the Question Paper.
No Additional Materials are required.
No calculators allowed.
READ THESE INSTRUCTIONS FIRST
Write your centre number, candidate number and name in the spaces at the top of this page.
Write in dark blue or black pen.
You may use an HB pencil for any diagrams, graphs or rough working.
Do not use staples, paper clips, glue or correction fluid.
DO NOT WRITE IN ANY BARCODES.
Answer all questions.
No marks will be awarded for using brand names of software packages or hardware.
At the end of the examination, fasten all your work securely together.
The number of marks is given in brackets [ ] at the end of each question or part question.
The maximum number of marks is 75.

This document consists of 13 printed pages and 3 blank pages.
DC (SC) 163549/4
© UCLES 2019

[Turn over

2
1

www.dynamicpapers.com

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]

© UCLES 2019

9608/12/M/J/19

3

www.dynamicpapers.com

(c) A network can use routers and gateways.
Explain the role of routers and gateways in a network.

[4]
(d) The company has an email server.
Identify three other types of server.
1
2
3
[3]

© UCLES 2019

9608/12/M/J/19

[Turn over

4
2

www.dynamicpapers.com

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]

© UCLES 2019

9608/12/M/J/19

5
3

www.dynamicpapers.com

The fetch-execute cycle is shown in register transfer notation.
[PC]

01

MAR

02

PC

[PC] - 1

03

MDR

[MAR]

04

CIR

[MAR]

(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]

© UCLES 2019

9608/12/M/J/19

[Turn over

www.dynamicpapers.com

6

(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

Op code
Operand
LDM #n

Explanation

LDR #n

Immediate addressing. Load the denary number n to ACC
Direct addressing. Load the contents of the location at the given address to
ACC
Indexed addressing. Form the address from <address> + the contents of the
Index Register. Copy the contents of this calculated address to ACC
Immediate addressing. Load the denary number n to IX

ADD <address>

Add the contents of the given address to ACC

LDD <address>
LDX <address>
STO <address>

Store contents of ACC at the given address

INC <register> Add 1 to the contents of the register (ACC or IX)
CMP #n
Compare contents of ACC with denary number n
JPE <address>

Following a compare instruction, jump to <address> if the compare was True

JMP <address>

Jump to the given address

JPN <address>
OUT

Following a compare instruction, jump to <address> if the compare was False
Output to the screen the character whose ASCII value is stored in ACC
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
50
51
52
53
54
55
56
57
58
59
60
61
62

Instruction
LDM #0
STO 401
LDX 300
CMP #0
JPE 62
ADD 400
OUT
LDD 401
INC ACC
STO 401
INC IX
JMP 52
END

ASCII code table (Selected codes only)
ASCII code
Character
65
A
66
B
67
C
68
D
69
E

…
300
301
302
303

2
5
0
4

…
400
401
IX
© UCLES 2019

64
0
9608/12/M/J/19

www.dynamicpapers.com

7

Trace the program currently in memory using the following trace table.
The first instruction has been completed for you.
Instruction
address

50

ACC

Memory address
300

301

302

303

400

2

5

0

4

64

401

IX

OUTPUT

0

0

[8]
© UCLES 2019

9608/12/M/J/19

[Turn over

8

www.dynamicpapers.com

(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.
[1]

(iii)

The Unicode character code for ‘G’ is 0047 in hexadecimal.
State, in hexadecimal, the Unicode character code for ‘D’.
[1]

© UCLES 2019

9608/12/M/J/19

9
4

www.dynamicpapers.com

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]

© UCLES 2019

9608/12/M/J/19

[Turn over

10

www.dynamicpapers.com

(c) Shazia’s computer has Dynamic RAM (DRAM) and Static RAM (SRAM).
Explain the differences between Dynamic RAM and Static RAM.

[4]
(d) Shazia wants to make sure her computer program is copyrighted.
(i)

Define the term copyright.

[1]

(ii)

Shazia does not want to release the software as open source.
Explain why Shazia does not want to use an open source licence.

[2]

(iii)

Name and describe two software licences, other than open source that Shazia could
use.
Licence 1

Licence 2

[2]

© UCLES 2019

9608/12/M/J/19

11
5

www.dynamicpapers.com

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]

© UCLES 2019

9608/12/M/J/19

[Turn over

12
(iii)

www.dynamicpapers.com

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]

© UCLES 2019

9608/12/M/J/19

13
6

www.dynamicpapers.com

(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).
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

[4]

© UCLES 2019

9608/12/M/J/19

14
BLANK PAGE

© UCLES 2019

9608/12/M/J/19

www.dynamicpapers.com

15
BLANK PAGE

© UCLES 2019

9608/12/M/J/19

www.dynamicpapers.com

16

www.dynamicpapers.com

BLANK PAGE

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 the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Cambridge Local Examinations Syndicate (UCLES), which itself is a department of the University of Cambridge.

© UCLES 2019

9608/12/M/J/19

Advertisement