Computer Science (9608) · May/June 2015 · Mark scheme 31

Cambridge Computer Science (9608) mark scheme for paper 31, May/June 2015 — 9608/31/M/J/15, file 9608_s15_ms_31.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com
CAMBRIDGE INTERNATIONAL EXAMINATIONS
Cambridge International Advanced Level

MARK SCHEME for the May/June 2015 series

9608 COMPUTER SCIENCE
9608/31

Paper 3 (Written paper), maximum raw mark 75

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 May/June 2015 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.

www.dynamicpapers.com
Page 2

1

(a) (i)

Mark Scheme
Cambridge International A Level – May/June 2015

Syllabus
9608

Paper
31

‘;’ missing

1

(ii)

‘2’ is not a variable

1

(iii)

‘e’ is not a valid letter

1

(b)

<assignment statement> ::=
2

<variable> =
<variable><operator><variable>;

2

<variable> ::= <letter>|<letter><letter>
|<letter><letter><letter>

1
1

<letter> ::= a|b|c|d

<operator> :: =+|-|*|÷
(c)

<letter> | <letter><variable>
<variable><letter>

(d) (i)

(ii)

//

<letter> |

debugging is faster / easier
// can debug incomplete code
// better diagnostics
compiler produces executable version – not readable / no need for source
code
// difficult to reverse-engineer

2

1
1
Total: 13

2

(a)

•
•

1
1

Spam
Worm

Pharming
redirect website to fake website // domain name server compromised
// proxy server compromised
Phishing
through email attempt to obtain somebody’s confidential data / install
malware
(b)

Spam
• user’s inbox is filled by large amount of unwanted email
• user / email server employs filtering software that can divert / delete
spam email
Worm
• could corrupt user’s computer // delete data // consume bandwidth
• run anti-virus software in the background // not connect to the Internet
// keep OS up-to-date

© Cambridge International Examinations 2015

1
1

1
1
or
1
1

www.dynamicpapers.com
Page 3

(c)

(d) (i)
(ii)

Mark Scheme
Cambridge International A Level – May/June 2015

Syllabus
9608

Paper
31

encryption: process of turning plain text into cipher text
public key: key widely available that can be used to encrypt message
that only owner of private key can decrypt // can be used to decrypt a
message thereby confirming originator of message

1

digital signature

1

•
•
•
•
•
•
•

software is put through hashing algorithm
hash total is encrypted with private key (digital signature)
software + encrypted hash / digital signature are sent
receiver is in possession of sender’s public key
the received hash total / digital signature is decrypted with public key
(SH)
the receiver hashes received software (RH)
If SH matches RH then software is authentic and has not been altered

1

Any four
points 1
mark each

Total: 13
3

(a) (i)

enumerated

1

(ii)

record

1

(iii)

MyMonthOfBirth  DateOfBirth.ThisMonth

1

(b) (i)

(ii)

TYPE LocationRainfall
DECLARE LocationName
: STRING
DECLARE LocationHeight
: INTEGER
DECLARE TotalMonthlyRainfall : ARRAY[1..12] OF REAL
ENDTYPE
•
•
•

no need to re-sort data every time new data is added
only a small file so searching will require little processing
new records can easily be appended

1
1
1
1 +1
1
1
1
[max 2]
Total: 10

4

(a) (i)

Circuit 1
A

B

X

0

0

1

0

1

1

1

0

1

1

1

0

© Cambridge International Examinations 2015

1

www.dynamicpapers.com
Page 4

Mark Scheme
Cambridge International A Level – May/June 2015

(ii)

(b) (i)

(ii)
(c)

Syllabus
9608

Paper
31

Circuit 2

•
•

A

B

X

0

0

1

0

1

1

1

0

1

1

1

0

circuit 1: A.B
circuit 2: A + B

1
1
1

A.B ≡ A + B

1

( A + B ).B
Mark as follows:
( A + B)
.B
bar over whole expression

1
1
1

(d)

( A + B ).B
1

= ( A + B) + B

1

= ( A + B) + B

1

= A + ( B + B)
= A +1
=1

1
1

allow f.t. from (c)

[max 3]
Total: 11

5

(a)

Monitoring system

1

(b)

•
•
•
•

1
1
1
1
1
1
1
1
1
1

•
•
•
•
•
•

temperature sensor …
transmits measured temperature
analogue to digital converter …
converts analogue signal from sensor to digital value that can be
stored
storage device // data logger…
for recording readings from sensor
transmission hardware …
to transfer data from sensor to storage device
processor …
to process incoming data

© Cambridge International Examinations 2015

[max 6]

www.dynamicpapers.com
Page 5

(c) (i)
(ii)
(d) (i)

(ii)

Mark Scheme
Cambridge International A Level – May/June 2015

Syllabus
9608

Paper
31

temperature reading in location 5
has been processed

1
1

0100 0000 1111 1011
1 mark per byte

2

AND #B00010000 // AND #&10 // AND #16
1 mark for AND, 1 mark for address mode, 1 mark for mask, 1 mark for
indication of numbering system

1+1+1+
1
1 +1

OR #B00000001 // OR #&01 // OR #1
1 mark for OR, 1 mark for mask

Total: 17
6

(a)

Description

Protocol used

email client downloads an
email from an email server

HTTP

email is transferred from one email
server to another email server

POP3

email client sends email to email
server

SMTP

1 mark for
correct
arrow from
each
description

browser sends a request for a web
page to a web server
(b)

peer-to-peer

1

(c) (i)

Tracker: central server that:
stores details of other computers that have all / part of file to be
downloaded
// has data on those peers downloading and uploading file
// shares IP addresses with other clients in swarm allowing them to
connect

1

(ii)

Seed: peer computer
that has 100% of file // is uploading downloaded content

1
1

(iii)

Swarm: all the connected peer computers
that have all or part of the file to be downloaded / uploaded
// share a torrent

1

1

1
Total: 11

© Cambridge International Examinations 2015

Advertisement