Computer Science (9608) · May/June 2017 · Mark scheme 32
Cambridge Computer Science (9608) mark scheme for paper 32, May/June 2017 — 9608/32/M/J/17, file 9608_s17_ms_32.pdf.
Text of this paper
www.dynamicpapers.com
Cambridge International Examinations
Cambridge International Advanced Subsidiary and Advanced Level
COMPUTER SCIENCE
9608/32
Paper 3 Written Paper
May/June 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 will not enter into discussions about these mark schemes.
Cambridge is publishing the mark schemes for the May/June 2017 series for most Cambridge IGCSE®,
Cambridge International A and AS Level and Cambridge Pre-U components, and some Cambridge O Level
components.
® IGCSE is a registered trademark.
This document consists of 7 printed pages.
© UCLES 2017
[Turn over
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/32
Question
Answer
1(a)(i)
DECLARE NewFriend
1(a)(ii)
NewFriend.HouseNumber ← 129
1(b)
Marks
: MyContactDetail
Declaration of Name, Area, HouseNumber
Inclusion of three correct values for Area
Inclusion of correct range for HouseNumber
1
1
1
1
1
3
For example:
TYPE MyContactDetail
DECLARE Name
: STRING
DECLARE Area
: (uptown, downtown, midtown)
DECLARE HouseNumber : 1..499
ENDTYPE
1
1&1
1(c)(i)
4402
1
1(c)(ii)
33
1
1(c)(iii)
3427
1
1(c)(iv)
TRUE
1
1(d)(i)
IPointer ← @MyInt2
1
1(d)(ii)
MyInt1 ← 33
1
1(d)(iii)
IPointer^ ← MyInt2
1
© UCLES 2017
Page 2 of 7
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/32
Question
Answer
Marks
2(a)(i)
Pharming
1
2(a)(ii)
Phishing
1
2(a)(iii)
A standalone/independent piece of malicious software
that can replicate/duplicate itself
1
1
2
No up-to-date anti-virus (or equivalent) software (used) / Regular virus scans not
performed
No firewall
Operating system not up-to-date/obsolete
Attachments/suspicious links in emails clicked on
Clicking on website with an out of date security certificate
max 2
2
2(c)(i)
(Certificate) serial number
Certificate Authority (that issued certificate)
Valid date(s) // Date of expiry
Subject name (name of user/owner, computer, network device)
Subject public key
Version (Number)
Hashing algorithm (data or signature)
1
1
1
1
1
1
1
max 3
3
2(c)(ii)
CA uses hashing algorithm ..
To generate a message digest from the particular certificate
Message digest is encrypted with CA’s private key
1
1
1
3
2(c)(iii)
Need to know that the certificate is genuine (and has not been altered)
// Authenticate or verify it (came from the CA)
2(b)
© UCLES 2017
Page 3 of 7
1
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/32
Question
3(a)
Answer
Marks
4
S = ( P + (Q+R) ) . R
P
(Q +R)
( P +( Q + R ) )
.R
(must be outside final brackets)
1
1
1
1
Or
P
(Q +R)
P +( Q + R )
(«««..). R
3(b)
1
1
1
1
P
Q
R
Working space
S
0
0
0
0
0
0
1
1
0
1
0
0
0
1
1
1
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
0
2
2 marks all correct, 1 mark seven correct, 0 marks six or fewer correct
3(c)(i)
R
00
01
11
10
0
0
0
0
0
1
1
1
0
0
3(c)(ii)
© UCLES 2017
1
PQ
R
3(c)(iii)
1
PQ
00
01
11
10
0
0
0
0
0
1
1
1
0
0
1
S= P .R
Page 4 of 7
9608/32
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
Question
3(d)
Answer
3
S = (P + ( Q + R ) ) . R
S = ( P + ( Q . R ) ) . R // P .R + ( Q + R ) . R
S = (P . R ) + ( Q . R . R )
S= P . R + Q . 0
S= P . R + 0
S= P . R
Question
4(a)
Marks
1
1
)
) 1
Answer
Marks
File organisation
method
File access
method
random
sequential
serial
direct
4
sequential
1 mark for random correct
1 mark for serial correct
2 marks for sequential correct (1 per correct line)
4(b)(i)
4(b)(ii)
4(b)(iii)
© UCLES 2017
File A:
Serial
Meter readings are submitted over time // added to the end of file
Stored chronologically
File B:
Sequential
Any two points from:
Each customer has a unique account number
Sorted on Account number
High hit rate // Suitable for batch processing monthly statements
File C:
Random
Login without waiting // Random organisation allows fastest direct access to
required record
Low hit rate // Suitable for access to individual records
Page 5 of 7
3
1
1
1
3
1
1
1
1
3
1
1
1
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/32
Question
Answer
5(a)
Marks
3
Option 1
Option 2
Application Layer
Application Layer
Transport
Transport (Layer)
1
Internet
Network (Layer)
1
Network Interface
(Data) Link (Layer)
1
5(b)(i)
Peer-to-peer
1
5(b)(ii)
File sharing
1
5(b)(iii)
Any four points from the following:
• Torrent descriptor file is made available
• File to be shared is split into pieces
• BitTorrent client software made available to other peers / users / computers
Allowing them to work as seeds or leeches.
A peer can act as a ‘seed’ – used to upload pieces of a file
Peer downloading file can get pieces from different seeds simultaneously
• Once a peer has a piece of the file it can become a seed for the parts
downloaded
Leeches download much more than they upload
• Central server called a tracker keeps records of all the peers (‘swarm’) and
the parts of the file they have
Can pause and restart at any time.
5(c)
© UCLES 2017
Any two protocols from:
HTTP/HTTPS «
Used for transfer of web pages from server to client
FTP «
Used for interactive file transfer
SMTP «
Used for sending email messages
POP3 «
Used for incoming email messages
Page 6 of 7
Max 4
Max 4
1
1
1
1
1
1
1
1
9608/32
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
Question
Answer
Marks
6(a)(i)
Monitoring system
1
6(a)(ii)
There is no element of ‘control’ in the system // the system does not alter
conditions in the building if sensors triggered
1
6(a)(iii)
Any two sensors from:
Sound / acoustic
Pressure
Infra-red / motion /proximity
Temperature / Thermal
Light
Smoke
Tilt
6(b)(i)
01 ForEver ← FALSE //TRUE
02 REPEAT
03
FOR FloorCounter ← 1 TO NoOfFloors
04
FOR SensorCounter ← 1 TO NumberOfSensors
05
READ Sensor(SensorCounter)on Floor(FloorCounter)
06
IF Sensor value outside range
07
THEN
08
OUTPUT “Problem on Floor ”, FloorCounter
09
ENDIF
10
ENDFOR
11
ENDFOR
12
//
13
// Delay loop
14
// Delay loop
15
//
16 UNTIL ForEver/Forever = TRUE // NOT ForEver / ForEver =
FALSE
Max 2
1
3
1
1
6(b)(ii)
FOR Counter ← 1 TO 999999 (any “large” number)
ENDFOR
1
6(b)(iii)
To allow time to elapse between readings
1
6(c)(i)
To identify which sensor caused the interrupt
1
6(c)(ii)
Display appropriate warning message
On the correct monitor
© UCLES 2017
Page 7 of 7
1
1
2