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

Cambridge Computer Science (9608) mark scheme for paper 32, Oct/Nov 2016 — 9608/32/O/N/16, file 9608_w16_ms_32.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge International Examinations
Cambridge International Advanced Level

COMPUTER SCIENCE

9608/32

Paper 3 Written Paper

October/November 2016

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 will not enter into discussions about these mark schemes.
Cambridge is publishing the mark schemes for the October/November 2016 series for most
®
Cambridge IGCSE , Cambridge International A and AS Level components and some Cambridge O Level
components.

® IGCSE is the registered trademark of Cambridge International Examinations.

This document consists of 7 printed pages.
© UCLES 2016

[Turn over

www.dynamicpapers.com

Page 2
1

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

Paper
32

(a) +3.5
01110000 00000010
Give full marks for correct answer (normalised or unnormalised)

[3]

= 11.1
= 0.111 × 22 // evidence of shifting binary point appropriately

[1]
[1]
[Max 3]

(b) –3.5
10010000 00000010
3 marks for correct answer

[3]

One’s complement of 8-bit mantissa for +3.5
+1 to get two’s complement

10001111
10010000

– allow f.t.

[1]
[1]
[Max 3]

(c) 14
3 marks for correct answer

[3]

=0.111 X 24 // exponent is 4
=1110.0 / (1/2 + 1/4 + 1/8) * 16

[1]
[1]
[Max 3]

(d) (i) Normalised

[1]

(ii) Leftmost two bits are different for normalised representation
// because the pattern starts with 01

[1]

(e)
1

0

0

0

0

0

0

0

0

© UCLES 2016

1

1

1

1

1

1

1

[1]
[1]

www.dynamicpapers.com

Page 3
2

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

Paper
32

(a)
Statement

Compilation stage

This stage can improve
the time taken to
execute the statement:
x = y + 0

Lexical analysis

This stage produces
object code.

Syntax analysis

This stage makes use
of tree data structures.

Code generation

This stage enters
symbols in the symbol
table.

Optimisation

1
mark for
each
correct
line

[4]
(b) P Q +
RS/ –

[1]
[1]

(c) (i)
2

2
2

2

4

3

3

5

1

1

1

1

6

4

4

4

4

4

+

+

–

*

–2

1
mark
per ring

[4]
(ii) b * a
– (c + d + a)
Order must be correct for both parts

[1]
[1]

(iii) Rules of precedence means different operators have different priorities // by example
multiply is done before add
[1]
In RPN evaluation of operators is left to right // operators are used in the sequence in
which they are read
[1]
No need for brackets // infix may require the use of brackets
[1]
[Max 2 ]

© UCLES 2016

Page 4
3

www.dynamicpapers.com

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

Paper
32

(a) The page is present in memory
Loaded at / stored /present in page frame 542 // its memory address is 542

[1]
[1]

(b) (i) Next instruction is first instruction in Page 6
Page 6 is not present in memory
Instruction can only be executed if present in memory
Program cannot continue until Page 6 is loaded

[1]
[1]
[1]
[1]
[Max 2]

(ii) When there is an attempt to load an instruction for a page not in memory
A page fault occurs // Page 5 finishes …
this generates an interrupt
ISR code is executed
Causes the OS to load page 6 into memory

[1]
[1]
[1]
[1]
[1]
[Max 3]

(c) (i) Time of entry (NOT time in memory)

[1]

(ii)
Page

Presence
Flag

Page frame address

Additional data

6

1

221

12:07:34:49

[1 + 1 + 1]

(iii) When the procedure call is made – Page 1 is swapped out and Page 3 is swapped in
At the end of the procedure call – Page 3 is swapped out and Page 1 is swapped in
Page 1/3 is always in memory shortest amount of time
The entire sequence is repeated for every iteration

[1]
[1]
[1]
[1]

[Max 3]
(iv) Thrashing // continually swapping pages

© UCLES 2016

[1]

Page 5
4

www.dynamicpapers.com

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

(a) (i) A set of rules …
governing communications/transmission of data /sending and receiving data

Paper
32
[1]
[1]

(ii) For example, (Web) browser / email client

[1]

(iii) For example, Web server / email server

[1]

(iv) Security //example: for example, alteration of transmitted messages
Privacy // for example, only intended receiver can view data
Authentication // for example, trust in other party

[1]
[1]
[1]
[Max 2]

(b) For example:
which protocol will be used…
there are a number of different versions of the two protocols
session ID …
uniquely identifies a related series of messages between server and client
session type …
reusable or not
encryption method …
public / private keys to be used // asymmetric/ symmetric
authentication method …
use of digital certificates / use of digital signature
compression …
method to be used

[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1]
[1]

[Max 2 parameters]
[Max 4]
(c) For example:
banking
private / secure email
shopping
financial transactions
secure file transfer

[1]
[1]
[1]
[1]
[1]
[Max 2]

© UCLES 2016

Page 6
5

www.dynamicpapers.com

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

Paper
32

(a) (i)
Input
P Q R

Output

Working space

J

K

0

0

0

0

0

0

0

1

0

1

0

1

0

0

1

0

1

1

1

0

1

0

0

0

1

1

0

1

1

0

1

1

0

1

0

1

1

1

1

1

1 mark each column
If zero marks then
6 or 7 pairs correct – 1 mark

[2]
(ii) Full adder

[1]

(iii) C / Carry
S / Sum
represents the carry part of the addition of three bits
represents the sum part of the addition of three bits

[1]
[1]
[1]
[1]

(b) (i) A.

[1]
[1]

(A+B).C
(ii) Allow follow through from (b)(i)
A. ((A+B).C)
= A.(A.C + B.C)
= A.A.C +A.B.C
= A.C + A.B.C
= A.C (1 + B)
=A.C.1
= A.C
1 mark for each correct simplification line – max 3 [3]
1 mark for A.C if correct answer to part (b)(i) [1]

[4]

© UCLES 2016

Page 7
6

www.dynamicpapers.com

Mark Scheme
Cambridge International A Level – October/November 2016

Syllabus
9608

Paper
32

(a)
Computer A

Computer C

Computer B

Server

Computer D

4×
Computer to
Switch
[1]

Switch

Server to
Switch
[1]

(b)
Statement

True

False

All packets must be routed via the server.

9

[1]

Computer B can read a copy of the packet
sent from the Server to Computer A.

9

[1]

9

No collisions are possible.

[1]

(c) (i) Router / Switch / Bridge

[1]

(ii) Router uses IP addresses in making decisions
Router has routing table
Routing table has entry for associated network ID // routing table has entry for host
address // routing table used to make decision on where to route packet

[1]
[1]

Switch / Bridge use MAC addresses
MAC address table created
Switch / bridge use MAC address table to make decision on where to route packet

[1]
[1]
[1]

[1]

[Max 2]

© UCLES 2016

Advertisement