Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level
COMPUTER SCIENCE 9608/31
Paper 3 Written Paper May/June 2019
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 May/June 2019 series for most
Cambridge IGCSE™, Cambridge International A and AS Level and Cambridge Pre-U components, and
some Cambridge O Level components.
This document consists of 8 printed pages.
© UCLES 2019 [Turn over
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Generic Marking Principles
These general marking principles must be applied by all examiners when marking candidate answers.
They should be applied alongside the specific content of the mark scheme or generic level descriptors
for a question. Each question paper and mark scheme will also comply with these marking principles.
GENERIC MARKING PRINCIPLE 1:
Marks must be awarded in line with:
• the specific content of the mark scheme or the generic level descriptors for the question
• the specific skills defined in the mark scheme or in the generic level descriptors for the question
• the standard of response required by a candidate as exemplified by the standardisation scripts.
GENERIC MARKING PRINCIPLE 2:
Marks awarded are always whole marks (not half marks, or other fractions).
GENERIC MARKING PRINCIPLE 3:
Marks must be awarded positively:
• marks are awarded for correct/valid answers, as defined in the mark scheme. However, credit
is given for valid answers which go beyond the scope of the syllabus and mark scheme,
referring to your Team Leader as appropriate
• marks are awarded when candidates clearly demonstrate what they know and can do
• marks are not deducted for errors
• marks are not deducted for omissions
• answers should only be judged on the quality of spelling, punctuation and grammar when these
features are specifically assessed by the question as indicated by the mark scheme. The
meaning, however, should be unambiguous.
GENERIC MARKING PRINCIPLE 4:
Rules must be applied consistently e.g. in situations where candidates have not followed
instructions or in the application of generic level descriptors.
GENERIC MARKING PRINCIPLE 5:
Marks should be awarded using the full range of marks defined in the mark scheme for the question
(however; the use of the full mark range may be limited according to the quality of the candidate
responses seen).
GENERIC MARKING PRINCIPLE 6:
Marks awarded are based solely on the requirements as defined in the mark scheme. Marks should
not be awarded with grade thresholds or grade descriptors in mind.
© UCLES 2019 Page 2 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
1(a) 2 marks for working shown 3
1 mark for the correct answer
Working:
• Correct calculation of negative value (any method) (= – 0.11010001101)
• Correctly moving the binary point 7 places (= – 01101000.1101)
// Exponent 7
Answer:
13
• −104.8125 // –104
16
1(b) 2 marks for working shown 3
1 mark for the correct answer
Working:
• Correct conversion to binary (01.1001)
• Correct calculation of exponent (1)
Answer:
• (Mantissa) 0110 0100 0000 (Exponent) 0001
1(c)(i) 1 mark per bullet point 2
• Mantissa = 0111 1111 1111
• Exponent = 0111
1(c)(ii) 1 mark per bullet point 2
• Mantissa = 0100 0000 0000
• Exponent = 1000
1(d) 1 mark per bullet point to max 3 3
• The trade-off is between range and precision
• Any increase in the number of bits for the mantissa, means fewer bits
available for the exponent // Any decrease in the number of bits for the
mantissa, means more bits available for the exponent
• More bits used for the mantissa will result in better precision
• More bits used for the exponent will result in a larger range of numbers
• Fewer bits used for the mantissa will result in worse precision
• Fewer bits used for the exponent will result in a smaller range of
numbers
© UCLES 2019 Page 3 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
2(a)(i) 1 mark per bullet point 3
Diagram shows: z All four devices labelled and connected
directly to the server
• And no other device
• Two-way flow of data between each device
and the server
Computer Printer
1 Server
Computer
Computer
2(a)(ii) 1 mark per benefit and 1 mark for a further explanation in context to max 2 4
(x2)
For example:
• Personal data (used by admissions department) is kept secure
• transmissions only go between server and destination
• A new device/employee can be easily added to the network
• only one connection direct to server needs setting up
• If one node or link fails
• the other employees can continue working / the rest of network is
unaffected
• If the department has a range of different devices
• they can all operate at different speeds or with different protocols
2(b) 1 mark per bullet point (max 3) 3
• Carrier Sense Multiple Access (with) Collision Detection
• Before transmitting a device checks if the channel is busy
• If it is busy the device waits // if channel free data is sent
• When transmission begins the device listens for other devices also
beginning transmission
• If there is a collision, transmission is aborted / transmitting a jam signal
• Both devices wait a (different) random time, then try again
2(c)(i) 1 mark per bullet point (max 2) 2
• Allows (internal) connections between the university LANs
• Allows external connection from the main LAN
2(c)(ii) 1 mark per bullet point (max 2) 2
• Provides device with a MAC address
• to uniquely identify it on the network
• Allows each individual device to connect to the network
2(c)(iii) 1 mark per bullet (max 2) 2
• Allowing devices to connect to the LAN via radio communication
• instead of using a cable
• easy to move a device to as different location
© UCLES 2019 Page 4 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
3(a) NOR 1
3(b)(i) 1 mark for X column, 1 mark for Y column 2
A B Working Space X Y
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
3(b)(ii) Half adder 1
3(b)(iii) 1 mark per bullet 2
• X is (used for) carry
• Y is (used for) sum
3(c) 1 mark per bullet for working (max 4) 5
A.B.C.D + A.BC. .D + A.BC. .D + A.BC. .D + A.B.C.D
= A.B.C.D + A.BC. .D + A.BC. .D + A.BC. .D + A.B.C.D + A.B.C.D
• Adding in a second copy of the first term (Use of Idempotent Law)
( )
= A.B. C.D + C.D + C.D + C.D + A.C.D. B + B ( )
• Taking A.B and A.C.D outside brackets (Associative Law)
( ( ) (
= A.B. C. D + D + C. D + D + A.C.D. B + B)) ( )
• ( ) ( )
Grouping C. D + D + C. D + D (Associative Law and Commutative
Law)
( )
= A.B. C. (1) + C. (1) + A.C.D. (1)
= A.B. (C + C ) + A.C.D. (1)
= A.B. (1) + A.C.D. (1)
• ( )
Replacing D + D with 1 and replacing C + C with 1 (Use of ( )
Complement Law)
= A.B + A.C.D
• Reducing first four terms to A.B and reducing last two terms to A.C.D
(Use of Identity Law)
1 mark for correct answer
= A.(B + C.D)
© UCLES 2019 Page 5 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
4(a) 1 mark for 2 correct rows, 2 marks for 3 correct rows, 3 marks for 4 correct 3
rows
Token
Symbol
Value Type
Counter 60 Variable
0 61 Constant
Password 62 Variable
"Cambridge" 63 Constant
1 64 Constant
4(b) 2
60 01 First two cells given in question.
1 mark for next 3 cells
61 51 62
1 mark for the remainder
4E 4A 62 04 63 4B 51 62 4C 60 ....
.... 01 60 02 64 4F 62 03 63 52 60
4(c)(i) 1 mark per bullet point 3
• Removing the fourth line (LDD 238)
• Changing operand for second ADD from 236 to 238
• First three lines and last line unchanged
LDD 236
ADD 237
STO 236
ADD 238
STO 238
4(c)((ii) 1 mark per bullet point (max 2) 2
• Optimisation means that the code will have fewer instructions
• Optimised code occupies less space in memory
• Fewer instructions reduces the execution time of the program
© UCLES 2019 Page 6 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
5(a) 1 mark per bullet point 5
• Keys
• Cipher text
• Manager’s public and private keys in correct spaces
• Wiktor’s public and private keys in correct spaces
• Plain text
Asymmetric encryption uses different keys for encrypting and decrypting
data. When Wiktor sends a message to his manager, the message is
encrypted into cipher text using his manager’s public key. When the
manager receives the message, it is decrypted using her private key.
When the manager replies, the message is encrypted using Wiktor’s public
key, and when Wiktor receives the message, it is decrypted into plain text
using his private key.
5(b) 1 mark per bullet point (max 6) 6
• Browser requests that the server identifies itself
• Server sends a copy of its (Digital) Certificate
• containing its public key
• Browser checks the certificate
• against a list of trusted Certificate Authorities
• If the browser trusts the certificate
• a symmetric session key is created
• this is (by the browser) encrypted using the server’s public key and
sent to the server
• Server decrypts the symmetric session key
• using its private key
• Server and browser now encrypt all transmitted data with the session
key
5(c) 1 mark for type of malware and 1 mark for prevention, max 2 (x 2) 4
For example:
• Virus
• Have company policies to ensure that anti-virus software is installed,
regularly updated and run
• Spyware
• Have company policies to ensure that anti-spyware software is
installed, regularly updated and run
• Phishing
• Have network policies to ensure that the firewall criteria include SPAM
filters, whitelist, blacklist etc.
© UCLES 2019 Page 7 of 8
9608/31 Cambridge International AS/A Level – Mark Scheme May/June 2019
PUBLISHED
Question Answer Marks
6(a) 1 mark per bullet point (max 3) 3
• To ensure that the system operates within the given criteria
• By enabling system output to affect subsequent system inputs
• Thus enabling the system to automatically adjust conditions
• Suitable example of feedback
6(b) 1 mark per bullet point 4
• Sensors continually measure the temperature of the water in the
swimming pool
• The (stream of) readings are sent to a processor and compared with 28
degrees
• If the reading is out of range (by a system set amount) then actuators
turn the heater/cooler on or off as necessary
• Feedback ensures that the water temperature remains close to 28
degrees
6(c) 1 mark for example of monitoring system, max 2 for explanation 3
• Suitable example identified
• Use of data captured
• No feedback as there is no output that could change the system
environment
For example:
• Monitoring the rainfall
• The amount of rainfall collected over a specific time is measured
• There is no output to change the level of rainfall
or
• Security camera
• Sending pictures to control room
• No changes made to environment by system
© UCLES 2019 Page 8 of 8