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

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

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level

* 6 6 9 0 1 5 7 2 9 8 *

9608/32

COMPUTER SCIENCE

May/June 2019

Paper 3 Advanced Theory

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 11 printed pages and 1 blank page.
DC (ST) 163542/3
© UCLES 2019

[Turn over

2
1

www.dynamicpapers.com

(a) A computer stores real numbers using floating-point representation. The floating-point
numbers have:

•
•

eight bits for the mantissa
four bits for the exponent.

The mantissa and exponent are both stored in two’s complement format.
(i)

Calculate the denary value of the following floating-point number.
Show your working.
Mantissa
0

0

1

1

0

Exponent
1

1

1

0

1

0

1

Working

Answer
[3]
(ii)

State why the floating-point number in part (a)(i) is not normalised.

[1]

(iii)

Give the floating-point number in part (a)(i) in normalised two’s complement format.
Mantissa

Exponent

[2]

© UCLES 2019

9608/32/M/J/19

3
(b) (i)

www.dynamicpapers.com

Convert the denary number +11.625 into a normalised floating-point number.
Show your working.
Working

Mantissa

Exponent

[3]
(ii)

Convert the denary number −11.625 into a normalised floating-point number.
Show your working.
Working

Mantissa

Exponent

[3]

© UCLES 2019

9608/32/M/J/19

[Turn over

4

www.dynamicpapers.com

(c) A student enters the following into an interpreter:
OUTPUT(0.2 * 0.4)
The student is surprised to see that the interpreter outputs the following:
0.08000000000000002
Explain why the interpreter outputs this value.

[3]

2

Packet switching can be used to transmit data across the Internet.
Packet switching is not always the most appropriate method of transferring data.
(a) Name an alternative method of transferring data across the Internet.
[1]
(b) Give an example of a situation where the method you identified in part (a) is more appropriate.
Justify your choice.
Example

Justification

[3]

© UCLES 2019

9608/32/M/J/19

www.dynamicpapers.com

5
3

(a) A Boolean algebraic expression produces the following truth table.
INPUT

(i)

OUTPUT

A

B

C

X

0

0

0

1

0

0

1

1

0

1

0

1

0

1

1

1

1

0

0

1

1

0

1

1

1

1

0

0

1

1

1

0

Complete the Karnaugh Map (K-map) for the truth table.
AB
00
C

01

11

10

0
1
[1]

The K-map can be used to simplify the expression that produced the truth table in part (a).
(ii)

Draw loops around appropriate groups of 1s in the K-map to produce an optimal sum-ofproducts.
[2]

(iii)

Write the simplified sum-of-products Boolean expression for the truth table.
X = [2]

© UCLES 2019

9608/32/M/J/19

[Turn over

www.dynamicpapers.com

6

(b) A logic circuit with four inputs produces the following truth table.
INPUT

(i)

OUTPUT

A

B

C

D

X

0

0

0

0

0

0

0

0

1

0

0

0

1

0

1

0

0

1

1

1

0

1

0

0

0

0

1

0

1

0

0

1

1

0

1

0

1

1

1

1

1

0

0

0

1

1

0

0

1

1

1

0

1

0

0

1

0

1

1

0

1

1

0

0

1

1

1

0

1

1

1

1

1

0

0

1

1

1

1

0

Complete the K-map for the truth table.
AB

CD

[4]
(ii)

Draw loops around appropriate groups of 1s in the K-map to produce an optimal
sum-of-products.
[2]

(iii)

Write the simplified sum-of-products Boolean algebraic expression for the truth table.
X = [2]

© UCLES 2019

9608/32/M/J/19

7
4

www.dynamicpapers.com

(a) Describe the main steps in the evaluation of a Reverse Polish Notation (RPN) expression
using a stack.

[4]
(b) The infix expression 8 * (5 – 2) – 30 / (2 * 3) converts to:

8 5 2 – * 30 2 3 * / –
in Reverse Polish Notation (RPN).
Show the changing contents of the stack as this RPN expression is evaluated.

[4]

© UCLES 2019

9608/32/M/J/19

[Turn over

8
5

www.dynamicpapers.com

Sanjeet is a member of the public, and he wants to send a private message to a government
department.
(a) Explain how asymmetric encryption is used to ensure that the message remains private.

[2]
(b) When the government department replies to Sanjeet, it needs to send a verified message.
Explain how asymmetric encryption can be used to ensure that it is a verified message.

[2]
(c) The government’s computer systems are vulnerable to malware.
(i)

Describe two vulnerabilities that malware can exploit in computer systems.
1

2

[4]

(ii)

Identify one method that can be used to restrict the effect of malware.

[1]

© UCLES 2019

9608/32/M/J/19

9
6

www.dynamicpapers.com

A company sells plant watering systems that automatically turn on water sprinklers when the soil
becomes too dry.
The plant watering system has a processor and connecting cables.
Identify two other hardware devices that are required in this system. State the purpose of each
device.
Device 1
Purpose

Device 2
Purpose

[4]

© UCLES 2019

9608/32/M/J/19

[Turn over

10
7

www.dynamicpapers.com

(a) RISC (Reduced Instruction Set Computing) and CISC (Complex Instruction Set Computing)
are two types of processor.
Tick (3) one box in each row to show if the statement applies to RISC or CISC processors.
Statement

RISC

CISC

Larger instruction set
Variable length instructions
Smaller number of instruction formats
Pipelining is easier
Microprogrammed control unit
Multi-cycle instructions
[3]
(b) In parallel processing, a computer can have multiple processors running in parallel.
(i)

State the four basic computer architectures used in parallel processing.
1
2
3
4
[4]

(ii)

Describe what is meant by a massively parallel computer.

[3]

© UCLES 2019

9608/32/M/J/19

11
8

www.dynamicpapers.com

(a) A computer process can be in one of three states.
Identify and describe two of these states.
State 1
Description

State 2
Description

[6]
(b) One of the main tasks of an operating system is resource management.
Describe how an operating system can maximise the use of resources.
Primary memory

Disk

[6]

© UCLES 2019

9608/32/M/J/19

12

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/32/M/J/19

Advertisement