Computer Science (9608) · May/June 2017 · Mark scheme 33
Cambridge Computer Science (9608) mark scheme for paper 33, May/June 2017 — 9608/33/M/J/17, file 9608_s17_ms_33.pdf.
Text of this paper
www.dynamicpapers.com
Cambridge International Examinations
Cambridge International Advanced Subsidiary and Advanced Level
COMPUTER SCIENCE
9608/33
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/33
Question
Answer
Marks
1(a)(i)
DECLARE Book
1(a)(ii)
Book.Title ← "Dune"
1
TYPE LibraryBookRecord
DECLARE ISBN
: INTEGER
DECLARE Title
: STRING
DECLARE Genre
: (Fiction, Non-Fiction)
DECLARE NumberOfLoans : 1 .. 99
ENDTYPE
mark for correct declaration and first two fields (note: only if attempt at
modification)
3
1(b)
: LibraryBookRecord
1
1
1
1
1(c)(i)
6715
1
1(c)(ii)
8216
1
1(c)(iii)
88
1
1(c)(iv)
FALSE
1
1(d)(i)
Temp2 ← 22
1
1(d)(ii)
IntPointer ← @Temp1
1
1(d)(iii)
IntPointer^ ← Temp2
1
© UCLES 2017
Page 2 of 7
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/33
Question
Answer
Marks
2(a)(i)
Worm
1
2(a)(ii)
Phishing
1
2(a)(iii)
Malicious software that replicates by inserting a copy of itself (1)
into a file of data (1)
2
2(b)
Example:
No up-to-date anti-virus (or equivalent) software
Regular virus scans not performed
Operating system not up-to-date
Attachments/suspicious links clicked on
1 mark for any valid vulnerability
Max 2
2(c)(i)
public
1
2(c)(ii)
Bob sends his digital certificate
Digital certificate contains Bob’s public key
Successful decryption of certificate using CA’s public key provides legitimacy
1 mark for any valid point – max 2
2
2(c)(iii)
© UCLES 2017
The person
performing
the action
4
What that person does
Anna
Requests Bob’s public key.
Bob
Sends Anna his public key.
1
Anna
Encrypts email with Bob’s public key.
1
Anna
Sends the email to Bob.
Bob
Decrypts email.
Using his private key.
Page 3 of 7
1
1
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/33
Question
3(a)
Answer
Marks
X = A.(B + (B . C))
B.C
B + B.C
A.
3(b)
3
1
1
1
A
B
C
Working Space
X
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
1
1
0
1
1
1
1
0
0
1
1
1
1
2
1 mark first four entries, 1 mark for the last four entries
3(c)(i)
1
AB
C
00
01
11
10
0
0
0
0
1
1
0
0
1
1
3(c)(ii)
2
AB
C
3(c)(iii)
© UCLES 2017
01
11
10
0
0
0
0
1
1
0
0
1
1
X = A.B + A.C
1
3(d)
00
2
1
X = A.(B + (B . C))
X = A.(B + C )
X = A.B + A.C
2
1
1 (dependent mark – must be correct
outcome from previous line)
Page 4 of 7
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
9608/33
Question
4(a)
4(b)(i)
Answer
Example:
Speed of access
Just used as a look-up file
No need for any serial or sequential processing
1 mark for any valid point
CustomerID
RecordKey
802139
2139
700004
4
689998
89998
102139
2139
1
1
4(b)(ii)
Minimum value: 0
Maximum value: 99999
4(b)(iii)
PROCEDURE InsertRecord(CustomerID : INTEGER)
RecordKey ← CustomerID MOD 100000
Success ← FALSE
// Find position for new record and insert it
REPEAT
IF record at position RecordKey is empty
THEN
Insert new record at position RecordKey
Success ← TRUE
ELSE
IF RecordKey = 99999
THEN
RecordKey ← 0
ELSE
RecordKey ← RecordKey + 1
ENDIF
ENDIF
UNTIL Success = TRUE
ENDPROCEDURE
4(c)(i)
For security
If file is hacked then encrypted PIN cannot be used
Only encrypted PINs are transmitted and compared
1 mark for any valid point
4(c)(ii)
1.
2.
3.
4.
5.
6.
7.
© UCLES 2017
Marks
1
1
Customer ID is read from card
Customer enters PIN
Customer PIN is encrypted
Customer ID is hashed
Customer record is located in file
PIN is checked against PIN in record
If match then transaction can proceed
Page 5 of 7
2
4
Max 2
3
9608/33
Question
5(a)(i)
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
Answer
Packet:
Both web page and web page request are split into packets
Each packet is sent individually from device to device
Marks
2
1
1
5(a)(ii)
Router:
Transmit packets
Contain connections to many other routers
When packets arrive at router, router decides where next to send packet
1 mark for any valid point
5(a)(iii)
TCP/IP:
Is the protocol
Rules for communication between web server and browser
1
1
Two from:
Picture and sound not synchronised
Interruptions // video not continuous
Can be degraded by other competing traffic
1
1
1
5(b)(i)
Max 2
2
Max 2
5(b)(ii)
Dedicated communications channel between the two communicating devices 1
Established prior to start of communication // removal of links at end of
communication
1
5(b)(iii)
In packet switching, packets can take different routes and may not arrive in
order
Will arrive in order (only one route)
As packets can take many different routes / share paths with others can be
delayed
Dedicated circuit has full bandwidth
No loss of synch
1 mark for any valid point
© UCLES 2017
Page 6 of 7
2
Max 3
9608/33
May/June 2017
Cambridge International AS/A Levelwww.dynamicpapers.com
– Mark Scheme
PUBLISHED
Question
Answer
Marks
6(a)(i)
Control system
1
6(a)(ii)
Use of actuators means that the system is controlling
1
6(b)
1
1
2
6(c)(i)
Interrupts need to be disabled so that the process of dealing with an interrupt is
itself not interrupted
1
6(c)(ii)
After handling the interrupt interrupts need to be enabled so that further
interrupts can be dealt with
1
6(c)(iii)
Content of registers
Placed on stack
1
1
2
6(c)(iv)
Changing sensor value dealt with as soon as it happens
Processor needs to check sensor only when an interrupt occurs
1
1
2
6(c)(v)
AND #B0000001000000000 // AND #&0200 // AND #512
Op code
Operand
1
1
© UCLES 2017
System wastes processor time checking for values that are not changing
Some sensor input needs to be acted upon immediately
Page 7 of 7
2