Computer Science (9618) · Oct/Nov 2024 · Mark scheme 32

Cambridge Computer Science (9618) mark scheme for paper 32, Oct/Nov 2024 — 9618/32/O/N/24, file 9618_w24_ms_32.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge International AS & A Level
COMPUTER SCIENCE

9618/32

Paper 3 Advanced Theory

October/November 2024

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 October/November 2024 series for most
Cambridge IGCSE, Cambridge International A and AS Level components, and some Cambridge O Level
components.

This document consists of 15 printed pages.
© Cambridge University Press & Assessment 2024

[Turn over

9618/32

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
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 descriptions 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.

© Cambridge University Press & Assessment 2024

Page 2 of 15

9618/32

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

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.

© Cambridge University Press & Assessment 2024

Page 3 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
1(a)

Answer
One mark per mark point (Max 3)
MP1
MP2
MP3
MP4
MP5
MP6
MP7
MP8
MP9

1(b)

3

The data to be transmitted is divided into equal sized packets
A packet header is attached to each packet containing key information
… such as source/destination IP addresses, packet number, etc
Packets are transmitted independently
… and may travel though different routes/paths to the destination
Routes are determined using a routing table//Packets take the optimum route depending on congestion
The packets usually arrive out of order
The packets are reassembled in the correct order at the destination // The packets are re-ordered using the
sequence number/the header
If packets are missing/corrupted a re-transmission request is sent / packets are re-sent.

One mark for each benefit (Max 2)
MP1
MP2
MP3
MP4

4

Packets are more likely to arrive because they can be re-routed if a problem occurs with one of the routes//Packets
are more likely to arrive because if a packet is lost, it can be re-transmitted
Bandwidth can be shared allowing packets from different messages to share the same path
Considered secure as the packets generally travel via different routes
High data transmission rate is possible

One mark for each drawback (Max 2)
MP5

MP6
MP7

Marks

Time delay because packets need to be re-ordered/reassembled at the destination//Time delay caused by missing
packets needing to be re-sent//Time delay because it has to share the bandwidth of the circuit / channel with
other packets
Requires a complex algorithm to function
Needs lots of RAM to handle large amounts of data.

© Cambridge University Press & Assessment 2024

Page 4 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
2(a)

Answer
One mark per mark point (Max 2)
MP1
MP2

2(b)

Records are stored one after the other as they are collected // records are stored in chronological order
New records are appended to the end of the file.

Answer
One mark per mark point (Max 3)
MP1
MP2
MP3
MP4
MP5

3(b)

1

Creating unsorted / temporary transaction files
Creating data logging files

Question
3(a)

2

One mark for a use (Max 1)
MP1
MP2

Marks

Marks
3

A user-defined record data type is a composite data type
It uses other data types in its definition to form a single new data type
The data types referenced may be primitive data types from a programming language or they may be other userdefined data types.
Includes related items
Includes a fixed number of items.

One mark for TYPE Order and ENDTYPE correct
One mark for correct use of DECLARE in all declarations seen
One mark for the two shaded declarations
One mark for the two unshaded declarations
Example answer

TYPE Order
DECLARE
DECLARE
DECLARE
DECLARE
ENDTYPE

AccountNumber : INTEGER
OrderNumber : INTEGER
OrderPrice : REAL
OrderDate : DATE

© Cambridge University Press & Assessment 2024

Page 5 of 15

4

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
4(a)

Answer

Marks

One mark for working
•

2

application of exponent to mantissa to go from 0.10001110111 to 01000111.0111 //
moving the binary point 7 places //
multiplying by 27/128 in the fractions method //
64 + 4 + 2 +1 + .25+ .125 + .0625 seen

One mark for correct answer
• 71.4375
// 717/16
4(b)

One mark per mark point (Max 2)

4

• correct mantissa – exact answer only
• correct exponent – exact answer only
Mantissa
1

0

0

1

1

1

0

Exponent
1

1

0

1

0

0

1

1

0

One mark per mark point for working (Max 2)
•

number converted to binary e.g., positive binary version of 49.1875 = 0110001.0011 //
two’s complement version bits flipped and 1 added = 1001110.1101 //
–64 + 8 + 4 + 2 + .5 + .25 + .0625 //
–64 + 14.8125
• use of the exponent e.g. moving the binary point 6 places /  26.

© Cambridge University Press & Assessment 2024

Page 6 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
5(a)

Answer
One mark for each correct name (Max 2)
One mark for each correct corresponding expansion (Max 2)
MP1
MP2

HTTP/HTTPS
For sending and receiving / transferring web pages / hypertext

MP3
MP4

FTP
For sending and receiving files over a network / between devices

MP5
MP6

POP3
Pull protocol / for receiving / downloading emails

MP7
MP8

IMAP
Pull protocol / for receiving / downloading emails

Marks
4

MP9 SMTP
MP10 Push protocol / for sending / uploading emails
MP11 BitTorrent
MP12 Peer-to-peer file sharing over a network
5(b)

One mark per mark point (Max 3)
MP1
MP2
MP3
MP4

3

The application layer provides access to all the programs that exchange data // Interacts directly with user.
… used by, for example, web browsers, server software.
Communicates/enables data transfer to/from Transport layer // It allows applications to access the services used in
other TCP/IP layers.
It defines the protocols that any application uses to allow the exchange of data.

© Cambridge University Press & Assessment 2024

Page 7 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
6(a)

Answer
Three marks for all eight correct products and no additional products
Two marks for five, six or seven correct products
One mark for three or four correct products

Marks
3

(X =) A. B. C. D + A. B. C. D + A. B. C. D. + A. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D
6(b)

Two marks if no errors present
One mark if one error present

2

AB
CD

6(c)

00

01

11

10

00

0

0

0

0

01

1

1

1

1

11

0

0

0

0

10

1

1

1

1

One mark for each correct loop (Max 2)

2

AB
CD

00

01

11

10

00

0

0

0

0

01

1

1

1

1

11

0

0

0

0

10

1

1

1

1

© Cambridge University Press & Assessment 2024

Page 8 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
6(d)

Answer

Marks

One mark for each mark point (Max 2)
MP1
MP2

2

Any correct relevant Boolean term
Boolean terms with correct operator + and no other terms present

(X =) C. D + C. D // C. D. + C. D

Question
7(a)

Answer
One mark per mark point (Max 2)
MP1
MP2

7(b)

Marks
2

21 - a number must begin with an odd digit, 2 is even
123 - a number can only be one or two digits in length not three

One mark per mark point (Max 2)

2

MP1 <symbol> ::= % | £ | # | @ | $
MP2 <number> ::= <odd>|<odd><even>|<odd><odd>
7(c)(i)

One mark per mark point (Max 3)
MP1
MP2
MP3

3

letter, number and symbol all included in correct order: letter first, followed by number, finishing with symbol
provision for one or two numbers including relevant connectors
all other connections and label correct and no additional data

Example answer
code

letter

© Cambridge University Press & Assessment 2024

number

number

Page 9 of 15

symbol

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
7(c)(ii)

Answer
One mark per correct line (Max 2)

Marks
2

<code> ::= <letter><number><symbol>|
<letter><number><number><symbol>
OR

<code> ::= <letter><number><number><symbol>|
<letter><number><symbol>
Alternative Answer
One mark per correct line (Max 2)

<digits> ::= <number>|<number><number>
<code> ::= <letter><digits><symbol>

Question
8

Answer
One mark per mark point (Max 4)
MP1
MP2
MP3
MP4
MP5
MP6
MP7
MP8
MP9
MP10

4

many instruction formats possible
large instruction set
many addressing modes available
uses variable length/multi-operation instructions
multi-clock cycle instructions
complex decoding of instructions
uses complex circuits
makes frequent use of cache memory
uses programmable control unit // uses micro-programmed control unit // uses hardwired control unit
hardware needs to be able to handle more complex instructions convert into sub-instructions // Design emphasis is
on the hardware.

© Cambridge University Press & Assessment 2024

Marks

Page 10 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
9(a)

Answer
One mark per mark point (Max 2)
MP1
MP2
MP3
MP4
MP5
MP6

9(b)(i)

9(b)(ii)

the kernel receives a signal when an interrupt is generated
the kernel checks the priority and reviews the status/priority of the current interrupts
system enters kernel mode if the type of interrupt is of higher priority than the current process
the kernel consults the interrupt dispatch table / IDT
… and saves the state of the interrupted process / contents of the registers on the kernel stack
the kernel restores the process state e.g. contents of registers once the interrupt is serviced
1

multi-tasking allows computers to carry out / seem to carry out more than one process at a time

One mark per mark point (Max 2)
MP1
MP2
MP3

2

processor time/common hardware and resources is/are shared between tasks
scheduling is used to decide on the processes to be carried out to ensure multi-tasking operates correctly / efficiently
/ without clashes
one task of a higher priority can interrupt another task that is currently running

Question
10(a)

2

One mark per mark point (Max 1)
MP1

Answer
One mark per mark point (Max 3)
MP1
MP2
MP3
MP4
MP5
MP6
MP7
MP8

Marks

3

Attributes/properties …
… with their data types // … are variables bound to the class
Methods …
… that are subroutines / functions / procedures that act upon the attributes
Getters/setters …
… are methods that can fetch / update the contents of attributes
A constructor …
… that is used to create instances / objects of this class.

© Cambridge University Press & Assessment 2024

Marks

Page 11 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
10(b)

Answer
One mark per mark point (Max 3)
MP1
MP2
MP3
MP4
MP5

3

A class is only defined once but many objects can be created from that class // A class is a template / blueprint from
which objects are created // An object is an instance of a class
No memory is allocated when a class is defined, but objects are allocated memory space whenever they are created
A class cannot be manipulated as it is not available in the memory, but objects can be manipulated
A class is defined but an object is declared / created / instantiated.
A class can use inheritance. An object cannot.

© Cambridge University Press & Assessment 2024

Marks

Page 12 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
11(a)

Answer

Marks

One mark per mark point (Max 4)
MP1 Five additional nodes with correct data values
MP2 Correct null pointers in all nodes (7) – no extra null pointers where the arrow points to the next node
MP3 Correct arrows to represent pointers joining parent nodes to child nodes – must come from the correct left or right
pointer not the middle
MP4 All nodes in correct order and no additional data in left/right pointer boxes.

RootPtr

LeftPtr Data RightPtr
25
4

-1

1

-1 36

-1

16 -1

-1

© Cambridge University Press & Assessment 2024

9

-1

64 -1

-1 49 -1

Page 13 of 15

4

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
11(b)

Answer

Marks

First eight rows of table (Max 3)
Three marks for all eight correct rows
Two marks for six or seven correct rows
One mark for three, four or five correct rows

4

Last row of table and FreePtr (Max 1)
One mark for correct FreePtr with last row of table completely blank

RootPt
r
0

FreePt
r
8

© Cambridge University Press & Assessment 2024

Index

LeftPtr

Data

0
1
2
3
4
5

1
3
-1
-1
6
7

25
4
36
1
16
64

RightP
tr
2
4
5
-1
-1
-1

6

-1

9

-1

7
8

-1

49

-1

Page 14 of 15

October/November 2024
www.dynamicpapers.com

Cambridge International AS & A Level – Mark Scheme
PUBLISHED

9618/32
Question
11(c)

Answer
One mark for any correct row (Max 4)

4

FUNCTION SearchList(Item : INTEGER) RETURNS INTEGER
NullPtr  -1
NowPtr  RootPtr
WHILE NowPtr <> NullPtr
IF LinkList[NowPtr].Data < Item THEN
NowPtr  LinkList[NowPtr].RightPtr
ELSE
IF LinkList[NowPtr].Data > Item THEN
NowPtr  LinkList[NowPtr].LeftPtr
ELSE
RETURN NowPtr
ENDIF
ENDIF
ENDWHILE
RETURN NullPtr
ENDFUNCTION

© Cambridge University Press & Assessment 2024

Marks

Page 15 of 15

Advertisement