Computer Science (9608) · Oct/Nov 2017 · Mark scheme 32

Cambridge Computer Science (9608) mark scheme for paper 32, Oct/Nov 2017 — 9608/32/O/N/17, file 9608_w17_ms_32.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level

COMPUTER SCIENCE

9608/32

Paper 3 Written Paper

October/November 2017

MARK SCHEME
Maximum Mark: 75

Published

This mark scheme is published as an aid to teachers and candidates, to indicate the requirements of the
examination. It shows the basis on which Examiners were instructed to award marks. It does not indicate the
details of the discussions that took place at an Examiners’ meeting before marking began, which would have
considered the acceptability of alternative answers.
Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report for
Teachers.
Cambridge International will not enter into discussions about these mark schemes.
Cambridge International is publishing the mark schemes for the October/November 2017 series for most
®
Cambridge IGCSE , Cambridge International A and AS Level components and some Cambridge O Level
components.

® IGCSE is a registered trademark.

This document consists of 12 printed pages.
© UCLES 2017

[Turn over

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question

Answer

1(a)

Marks
2

Computer
A

Server
Router

T

Internet

T

Computer
B

Each device has a single connection to the bus
One terminator at each end

Computer
C
(1)

(1)

The terminators do not need to be labelled as long as they are obvious
1(b)

Statement

True

The server can send packets to Computer B and the
router at the same time.

1(c)(i)

•
•
•
•
•

1(c)(ii)

© UCLES 2017

9

(1)

Computer C uses the IP address of a web server to
send a request for a web page on the web server

9

(1)

Computer B can read a packet sent from Computer
A to Computer C.

9

(1)

The server can read all incoming packets from the
Internet.

9

9

(1)

Only one transmission is allowed on the bus at any one time // only one
packet can be transmitted on the bus at any one time (1)
The two packets from A and B cannot both use the bus at the same time
(1)
The attempts to transmit will be unsuccessful, because the stations will
realise that the bus is busy
(1)
Reference to CSMA/CD (1)
Collision causes a change in voltage of the bus (1)
1 mark for each point, max 2

One mark for valid point, max 2
•
•
•
•
•

4

False

2

2

Calculate a random wait time
Wait for the random time
Check for idle bus // Check status of bus
Attempt to re-transmit / re-send
If unable to transmit, repeat process

Page 2 of 12

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question
1(d)(i)

Answer
•
•

Marks

Star topology
(1)
Where each computer / device has its own dedicated connection to the
server
(1)

2

Alternative answers:
Mesh topology
(1)
Every device connects directly to every other device

(1)

Ring topology (1)
Use of tokens means no collisions // Every device examines every packet (1)
1(d)(ii)

As each computer is now not sharing a single bus // has dedicated path (to
the server) (1)
Collisions cannot occur (1)
Alternative answers:
Mesh
As each device now has a direct path to all the others
Collisions cannot occur (1)
Ring
Packets all travel in the same direction
Collisions cannot occur
(1)

© UCLES 2017

(1)

Page 3 of 12

(1)

2

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question

Answer

2(a)

Marks

Description

Type of processor

4

It has a simplified set
of instructions.
CISC

Emphasis is on the
hardware rather than
the software.
It makes extensive
use of general
purpose registers.

RISC

Many instruction
formats are available.
1 mark for each correct line
2(b)(i)

One mark per point – max 2
•
•
•
•
•

2

Pipelining is instruction level parallelism
Execution (A: processing) of an instruction is split into a number of stages
When first stage for an instruction is completed the first stage of the next
instruction can start executing
Another instruction can start executing before the previous one is
finished
Processing of a number of instructions can be concurrent / simultaneous

2(b)(ii)
Stage
Fetch instruction
Read registers and decode
instruction

1

2

D

E
D

Execute instruction

3

4

E
D

D at time interval 1 (1)
D and E in second row (in that order)
(1)
Remainder completed correctly
(1)

Page 4 of 12

6

E
D

Write result to register

5

E
D

Access operand in memory

© UCLES 2017

3

Time Interval

E

7

8

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question
2(c)(i)

Answer
Two from:
•
•
•
•

2(c)(ii)

© UCLES 2017

Marks
2

The result of the first addition is not stored in (register) r3 (1)
Before the next instruction needs to load value from r3 (1)
There is a data dependency issue (1)
r3 is being fetched and stored on the same clock pulse (1)

The third instruction is not dependent on the first two, therefore, instruction 2
and 3 need to be swapped

Page 5 of 12

1

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question

Answer

Marks

3(a)(i)

A: Guest (operating system) (1)
B: Host (operating system) (1)

2

3(a)(ii)

One mark for each valid point, max 3

3

•
•
•
•
•
•
•
•
3(b)(i)

One mark from:
•
•
•
•

3(b)(ii)

Guest OS (A) handles request as if it were running on its own physical
machine // guest OS (A) is not aware it is running on a virtual platform
Guest OS (A) handles the request as usual
I/O requests are translated by the virtual machine software
Into instructions executed by host OS (B)
Host OS (B) retrieves the data from the file
Host OS (B) passes the data to the virtual machine software
The virtual machine software passes the data to the guest OS (A)
Guest OS passes the data to the application
1

Because software can be tried on different OS using same hardware
Because no need to purchase / request all sorts of different hardware
Easier to recover if software causes system crash
VM provides protection to other software / host OS from malfunctioning
software

Max 2 marks per limitation, max 2 limitations – max 4 marks
Virtual machine may not be able to emulate some hardware
« So that hardware cannot be tested using a virtual machine
« By relevant example, e.g. developing hardware drivers
Using virtual machine means execution of extra code // processing time
increased
« so cannot accurately test speed of real performance
A virtual machine might not be as efficient
« By relevant example, e.g. might not be able to access sufficient memory

© UCLES 2017

Page 6 of 12

4

9608/32

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

Question

Answer

Marks

4(a)(i)

Because a valid unsigned integer can be two digits / one or more digits
Both 3 and 2 are digits (1)

(1)

4(a)(ii)

Because a valid unsigned number can be an unsigned integer followed by a
decimal point followed by an unsigned integer (1)

2

2

32 is an unsigned integer and 5 is an unsigned integer (because it is a digit)
and there is a point in between (1)
Alternative response for 2 marks, combination of order and validity:
32 is a (valid) unsigned integer, followed by a decimal point, and 5 which is
another (valid) unsigned integer
Validity mark must refer to 32 and 5
4(b)

<unsigned number> ::=
<unsigned_integer> | (1)

5

<unsigned_integer>.<unsigned_integer>

(1)

Accept order reversed:
<unsigned_integer> ::=
<digit> | (1)
<digit> <unsigned_integer>

(1)

Accept <digit> |<unsigned_integer> <digit>
If order reversed mark as above
<digit> ::= 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0
Accept the list in any order, as long as all 10 digits included

© UCLES 2017

Page 7 of 12

(1)

Cambridg
ge Internatio
onal AS/A Level
L www.dynamicpapers.com
– Mark Scheme
Octobe
er/Novembe
er
201
17
P
PUBLISHED
D

9608/32
9

Question

Answerr

Marks
s

4(c)(i)

4

Un
nsigned
In
nteger

Unsigned
U
Integer

.

+

MP2

MP3
3

Unsigned
integer

E

A

MP4

−
MP1

B

MP1: Line
e to indicate
e exponent is optional (B line) (1)
MP2: ‘E’ present
p
at start
s
of expo
onent
(1))
MP3: Opttional ‘+’ or ‘-‘
(1)
(1)
MP4: Unssigned integ
ger
Alternative correct an
nswer:
MP3 need
ds both the sign ‘box’ a
and the sign
n diagram fo
or the markk

Siggn

E

Unsigned
intteger

Sign:

+

-

© UCLES 2017

Page 8 of 12

A

9608/32

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

Question
4(c)(ii)

Answer
<unsigned number> ::=
<unsigned_integer >
| <unsigned integer>.<unsigned_integer>

Marks
4
(1)

Accept any order
| <unsigned_integer > <exponent>
| <unsigned integer>.<unsigned_integer> <exponent> (1)
Accept any order
<exponent> ::= E <sign> <unsigned_integer>
| E <unsigned integer>
(1)
<sign> ::= + | -

© UCLES 2017

(1)

Page 9 of 12

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question
5(a)

Answer
A

B

X

0

0

1

0

1

0

1

0

0

1

1

0

Marks
1

5(b)

4
S

R

Q

Q

Initially

1

0

1

0

S changed to 0

0

0

1

0

(1)

R changed to 1

0

1

0

1

(1)

R changed to 0

0

0

0

1

(1)

S and R changed to 1

1

1

0

0

(1)

5(c)(i)

Clock (pulse)

1

5(c)(ii)

Max 2 marks per problem – max 4 marks

4

Problem 1
• One combination of S and R gives NOT valid / indeterminate output // Q
and Q have the same value
• The JK flip-flop does not allow for Q and Q to have the same value for
any combination of inputs // Q and Q have to be complementary
Problem 2
• Inputs may not arrive at the same time
• The JK flip-flop has a clock pulse to synchronise inputs

© UCLES 2017

Page 10 of 12

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question
6(a)

Answer

Marks

One mark for suitable sensor, one mark for justification
Max one sensor, max two marks

2

humidity
« to ensure that the plants have the right level of moisture in the air
pressure / proximity
« to detect whether the windows are open or closed

condone ‘check’

moisture
« to ensure the water levels in the soil are correct
light
« to ensure the light levels in the greenhouse are correct for plant growth
« to ensure the windows are closed when night falls
Accept pH sensor for one mark only
Accept CO2 sensor for one mark only, accept gas or O2 for one mark only
Justification needs to answer the question why? Not just describe the sensor
Accept suitable actions resulting from sensor readings as justification
6(b)

6(c)(i)

© UCLES 2017

Three from:

3

•

Actions taken by system // or by example: e.g. adjust heater / turn on
sprinkler / open windows

•

May affect the readings taken by the sensors // or by example

•

Which in turn may cause a change in the actions taken by the system //
or by example

•

This is a continuous process«

One from:

1

•

Lowest allowable temperature

•

Highest allowable temperature

•

Sampling time interval

Page 11 of 12

Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
October/November
2017
PUBLISHED

9608/32

Question
6(c)(ii)

Answer

Marks

If answer to c(i) is highest allowable or lowest allowable temperature:
•
•

2

The sensor reading is compared to a stored parameter (1)
Depending upon result of comparison an action may or may not be
carried out
(1)

If answer to c(i) is sampling time interval:
•
•

The higher the sampling rate« (1)
«The better / more efficient is the control system

6(d)(i)

20

6(d)(ii)

LDD

1

4002

LSR #8

1 mark for 4002

// load the contents of the 16 bit
location containing the value
for Sensor 5 into the
Accumulator
// move the bits in the Accumulator
so that the Accumulator stores
the value of Sensor 5 as
unsigned 16-bit binary integer

1 mark for LSR
1 mark for #8

© UCLES 2017

(1)

Page 12 of 12

3

Advertisement