Computing (9691) · Oct/Nov 2015 · Mark scheme 33
Cambridge Computing (9691) mark scheme for paper 33, Oct/Nov 2015 — 9691/33/O/N/15, file 9691_w15_ms_33.pdf.
More Computing (9691) papers
Other papers · Oct/Nov 2015
- Paper 13Question paperMark scheme
- Paper 23Question paperMark scheme
- Paper 31Question paperMark scheme
- Paper 32Question paperMark scheme
Paper 33 in other years
- May/June 2016M/J 2016Question paperMark scheme
- May/June 2015M/J 2015Question paperMark scheme
- Oct/Nov 2014O/N 2014Question paperMark scheme
- May/June 2014M/J 2014Question paperMark scheme
- Oct/Nov 2013O/N 2013Question paperMark scheme
- May/June 2013M/J 2013Question paperMark scheme
- Oct/Nov 2012O/N 2012Question paperMark scheme
- May/June 2012M/J 2012Question paperMark scheme
Text of this paper
CAMBRIDGE INTERNATIONAL EXAMINATIONS
Cambridge International Advanced Level
MARK SCHEME for the October/November 2015 series
9691 COMPUTING
9691/33
Paper 3 (Written Paper), maximum raw mark 90
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 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.
Page 2
1
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
Paper
33
(a) The table has a repeated group of attributes //
There are several orders for the same customer/CustomerID
[1]
(b) (i) CUSTOMER(CustomerID, )
PRODUCT(ProductID)
[1]
[1]
ORDER(CustomerID, OrderDate, )
(ii)
[2]
1 mark for each correct one-to-many relationship
(iii) Primary key //CustomerID in the Customer table
Links to foreign key (CustomerID) in the ORDER table
[1]
[1]
(c) SELECT ProductID
FROM PRODUCT
WHERE RetailPrice>=100 AND RetailPrice<=200
[1]
[1]
[1]
(d)
Creates a new record in the ORDER table
Amends an existing record in the ORDER table
[1]
Assigns the Dispatched attribute a TRUE value
[1]
[1]
Creates a new attribute Dispatched
Changes all the existing records for customer 647
Changes one record for customer 647
Remove 1 mark for each additional tick.
(e) (i) INSERT INTO ORDER
(CustomerID, OrderDate, ProductID, Dispatched,
DispatchDate)
VALUES (447, #17-10-15#, 982, FALSE, (NULL))
© Cambridge International Examinations 2015
1
1
1
[3]
Page 3
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
(ii) Attempt to add a record in ORDER table
But, no corresponding ProductID in the PRODUCT table
Or:
// Delete a record in the PRODUCT table
and, matching records in ORDER table remain
Or: Similar explanation with ORDER and CUSTOMER and the CustomerID
attribute // Allow use of the term ‘update’ if mentions a change to
TutorID/foreign key attribute
2
1
1
1
1
[2]
(a) (i) Building a model of the system // Models the behaviour of the system
1
The model records over time the result of changing parameters/conditions/
circumstances // predicts outcomes for the real-world scenario
1
[2]
(ii) A computer program can be written to build the model
The computer system can process results very quickly // can change the
time frame // Can process large volumes of data
Use of the computer avoids possible health and safety issues
3
Paper
33
1
1
1
[max 1]
(b) Temperature sensor
Air pressure sensor
Moisture sensor
1
1
1
[max 2]
(c) Wind tunnel requires that an actual physical model is built
The modelling of the weather is only an abstraction realised by the computer
software
1
1
[2]
(a) (i) 0101 1000
0111 1101
1
1
[2]
(ii) 16
[1]
(b) (i) Action
Description
MAR ← [PC]
The contents of the Program Counter are copied to the Memory Address register
[1]
PC ← [PC] + 1
The contents of the Program Counter are incremented
[1]
MDR ←[[MAR]]
The contents of the address currently in the Memory Address Register are copied to
the Memory Data Register
[1]
CIR ← [MDR]
The contents of the Memory Data Register are copied to the Current Instruction
Register
[1]
© Cambridge International Examinations 2015
Page 4
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
Paper
33
(ii)
Fetch
stage
Special purpose registers
(Contents shown in hex)
PC
MAR
MDR
CIR
Buses
Address
bus
Data bus
58
58
MAR ← [PC]
PC ← [PC] + 1
59
867A
MDR ←[[MAR]]
867A
CIR ← [MDR]
[max 5]
4
(a)
Register
Instruction
ACC
Index Register
(IX)
3
LIX 400
LDD 401
616
LDI 401
96
LDX 401
63
© Cambridge International Examinations 2015
[1]
[1]
[1]
[1]
Page 5
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
(b) Use the text editor to write the assembly language program
PROG.ASM
1
REPEAT
PROG.ASM is input to the assembler software
1
IF errors reported
THEN
Amend PROG.ASM using the text editor
1
ENDIF
UNTIL No errors reported
Produce the PROG.EXE executable file
1
Run PROG.EXE
1
5
Paper
33
[max 4]
(a) (i)
PLYMOUTH
MUMBAI
DHAKA
SINGAPORE
TORONTO
ROTTERDAM
NEW YORK
Root correct
Left subtree correct
Right subtree correct
1
1
1
[3]
(ii) Labelling ….
Root
Left subtree // FT for their tree
[1]
[1]
(iii) 4 // FT for their tree
[1]
(b) (i) INTEGER
ARRAY[1 : 2000] OF STRING
(ii)
[2]
RootPtr
1
1
3
LIMA
2
2
4
PARIS
5
3
6
KARACHI
0
4
0
MELBOURNE
0
5
0
WARSAW
0
6
0
CAPE TOWN
7
7
0
EDINBURGH
0
[4]
© Cambridge International Examinations 2015
Page 6
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
(c) //binary tree search
INPUT SearchCity
IsFound ← FALSE
Current ← RootPtr
REPEAT
IF City[Current] = SearchCity
THEN
//found
OUTPUT "Found"
IsFound ← TRUE
ELSE
IF SearchCity > City[Current]
THEN
// move right
Current ← RightPtr[Current]
ELSE
Current ← LeftPtr[Current]
ENDIF
ENDIF
UNTIL Current = 0 OR IsFound = TRUE
[1]
[1]
[1]
[1]
[1]
[1]
IF IsFound = FALSE
THEN
OUTPUT SearchCity "Not Found"
ENDIF
6
(a) (i) SumRange
ThisInteger1, ThisInteger2, Flag
Must be identifiers only …
Paper
33
1
1
[2]
(ii) 6
[1]
(iii) ERROR
[1]
(iv) ERROR
[1]
(v) 11
[1]
(vi) ERROR
[1]
© Cambridge International Examinations 2015
Page 7
7
Mark Scheme
Cambridge International A Level – October/November 2015
Syllabus
9691
Paper
33
(a) More than one program loaded into memory at the same time
[1]
(b) Anything reasonable …
printer drivers
spooler
linker
loader
compiler / assembler
backup software
R. “System software” and “Utilities”
[max 2]
(c) All the (data) is processed together/at the same time
There is a time delay before processing
Output is generated as a batch
Processing cannot start until all data has been collected/input
There is no user involvement // the process runs until completion
1
1
1
1
1
[max 3]
(d) (i) Each program can use the processor in turn
For a time of 100 milliseconds // for the fixed time slice
1
1
[2]
(ii)
USER21
USER34
USER46
RUNNING
READY
READY
0
50
READY
RUNNING
READY
100
150
RED
RED
RUN
200
RUN
SUSP
250
300
RED
RUN
RED
350
400
RED
RUN
450
500
550
1 mark each
[5]
(iii) Input/output request
8
(a) The diagram includes the following
One or more communication links to ….
A modem // router
Firewall
Laser printer
File server // database server
Penalise once only the omission of a comms. link line
© Cambridge International Examinations 2015
[1]
1
1
1
1
[max 4]
Page 8
Mark Scheme
Cambridge International A Level – October/November 2015
(b) Twisted pair
Description
Or …
Coaxial cable
Description
Or …
Optical fibre
Description
Syllabus
9691
Paper
33
1
1
1
1
1
1
Allow descriptors CAT 5, CAT 6
© Cambridge International Examinations 2015
[max 2]