Computer Science (9618) · Oct/Nov 2023 · Examiner report

Cambridge Computer Science (9618) examiner report, Oct/Nov 2023 — 9618/O/N/23, file 9618_w23_er.pdf.

Advertisement
Loading the paper…
Text of this paper

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/11
Theory Fundamentals

Key messages
Candidate responses are expected to include more than simply general knowledge. There should be some
demonstration of technical knowledge and appropriate use of the terminology associated with the subject.
Some candidates need to be careful with the use of terminology. For example, information was used
frequently instead of data, and memory instead of storage.
Candidates should be encouraged to look carefully at the command words in the question. A question that
begins with the word ‘state’ or ‘identify’ requires a different response to one that starts with the word ‘explain’.
Some questions may ask for a justification of, for example, the use of application A rather than application B.
This requires candidates to describe why application A would be used rather than application B. Simply
describing how application A and application B are used does not answer the question.
General comments
Questions about low level languages and 3D printers were usually completed successfully, the questions
about embedded systems and internal components of the CPU were more challenging.
Comments on specific questions
Question 1
(a)

This question was generally answered very well. Many candidates were able to correctly match
each term to the corresponding description.

(b)

There were many correct definitions. Some candidates need to understand that bit depth means
bits per pixel not the number of bits used to represent the image. The explanation required
candidates to think carefully about their answers. It asked how changing the bit depth affects the
image. Many responses included statements about file size which did not answer the question.
Some candidates need to understand that it needs to be made clear in their answers whether the
bit depth is being increased or decreased. Statements such as ‘increasing the bit depth increases
the number of bits per pixel’ which simply repeat the definition are not enough. There needs to be
an explanation of how the image is affected.

(c)

There were some very good answers to this question. The most popular correct reasons were
reduced bandwidth usage and the limits imposed on attachments. Some candidates need to be
careful when describing a reduced transmission time so that it is clear that it is the total time taken
that is reduced and not the speed of data transmission.

Question 2
(a)

There were some good answers to this question. Many candidates need to improve their
understanding of the function of a router in a network. Answers to questions such as this are
expected to include more technical detail, rather than general knowledge.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(b)

This question was generally not answered well. Answers were expected to demonstrate some
technical knowledge of the devices given in the table. Statements such as ‘allows a device to
connect wirelessly’ for the purpose of a Wireless Access Point are not clear enough.

(c)

Many candidates were able to state that the requirement for an internet connection was a
drawback of storing files on a public cloud. Candidates found it more challenging to give a second
drawback. Many of the responses applied equally to a LAN or a private cloud. There seemed to be
a general misconception that because the files were on a public cloud, they were accessible to
anyone.

(d)

This question was generally answered well. The most popular advantage given was the reduction
in the number of collisions because of the direct connections. Some candidates need to understand
that in a bus network, a device going down does not necessarily affect the rest of the network. If
the main cable is broken, the whole network fails.

Question 3
(a)

This question was generally answered well. Some candidates need to use a recognised convention
for indicating the relationships.

(b)

This question was generally answered well. Most candidates were able to correctly identify three
advantages of a relational database.

(c) (i)

There were many correct answers to this question. The most frequent incorrect answer given was
to use the CREATE TABLE statement instead of the CREATE DATABASE statement.

(ii)

There were a small number of completely correct SQL scripts. Many candidates found joining the
two correct tables challenging. A frequent error was the use of COUNT instead of SUM in the
SELECT clause. Some responses with an otherwise correct statement for the identification of the
CustomerID, did not include the required quotation marks.

Question 4
(a)

This question was generally answered well. Many candidates were able to correctly carry complete
the truth table.

(b)

This question was generally answered well. Many candidates were able to draw an appropriate
logic circuit.

Question 5
(a)

Many candidates were able to correctly identify two other special purpose registers. Some
candidates found it more challenging when stating their roles.

(b)

This question was generally not answered well. Many candidates need to improve their
understanding of what is meant by the Immediate Access Store. Answers such as ‘immediate
access store is storage that can be accessed immediately’ which simply return the name are vague
and imprecise.

(c) (i)

Candidates were given specific values for the clock speed of the computer. Their answers were
expected to refer the values given. Some candidates need to take care in their use of terminology.
Instruction was seen frequently instead of F-E cycle.

(ii)

There were a small number of excellent answers to this question. Many candidates need to
understand that when using multiple cores, each core has its own processor and that there is a
need for communication between these individual processors. Answers such as ‘there will be an
additional load on the processor’ were seen frequently.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
Question 6
(a)

This question asked for the advantages of using an interpreter rather than using a compiler. Many
of the responses simply described the operation of an interpreter without any comparison to a
compiler. Candidates should understand that in questions like this, it is necessary include both
translators in the answer.

(b)

This question was generally not answered well. Many candidates need to improve their
understanding of why some high-level languages are partially compiled and partially interpreted.

(c) (i)

This question was generally answered well. The most popular correct answers were colour coding
and the ability to expand/collapse code blocks. The question asked for features to support the
visual presentation. A significant number of responses included features of an IDE which were not
presentation features.

(ii)

This question was generally answered well. The most popular correct answers were single
stepping and breakpoints. A few responses given were not debugging features.

Question 7
(a)

There were some excellent complete answers to this question describing various 3D printing
techniques.

(b)

This question was generally answered well. Many candidates were able to say something about
overheating of either the printer or the material being used. Some candidates found it more
challenging to describe the purpose of the sensor in greater detail required.

(c)

This question was generally not answered well. Imprecise statements such as ‘DRAM is cheaper’
or ‘DRAM can store more data’ are not enough for credit. DRAM has a lower cost per unit and a
higher bit density is more precise.

Question 8
(a)

This question was generally not answered well. Many candidates need to improve their
understanding of the purpose of each pass of a two-pass compiler.

(b) (i)

The question stated that only instructions from the given table should be used and that each
instruction should have a suitable operand. Many of the responses seen did not have any suitable
operands and used instructions not given in the table provided.

(ii)

This question required exact use of terminology; some candidates found this challenging.
Statements for the similarity such as ‘both load data’ and for the difference such as ‘indexed
addressing uses the index register, direct addressing does not’ are not precise enough at this level.

(iii)

This question was generally answered well. Most candidates were able to correctly identify another
mode of addressing.

(c) (i)

This question was generally answered well. Many candidates were able to correctly carry out the
given AND instruction.

(ii)

This question was generally answered well. A small number of candidates shifted left instead of
right.

(iii)

This question was generally answered well. Many candidates were able to correctly carry out the
given XOR instruction.

Question 9
(a)

This question asked about the importance of feedback in a control system. Some candidates found
this challenging and wrote about feedback in general everyday terms, describing verbal feedback on
errors in computer applications and similar.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(b)

Many candidates found this question challenging and described standard control systems or remotecontrolled devices without explaining why there would be an embedded system involved. Some
candidates described embedded systems, but in purely generic terms, without any reference to the
example they gave.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/12
Theory Fundamentals

Key messages
Candidate responses are expected to include more than simply general knowledge. There should be some
demonstration of technical knowledge and appropriate use of the terminology associated with the subject.
Some candidates need to be careful with the use of terminology. For example, information was used
frequently instead of data, and memory instead of storage.
Candidates should be encouraged to look carefully at the command words in the question. A question that
begins with the word ‘state’ or ‘identify’ requires a different response to one that starts with the word ‘explain’.
Some questions may ask for a justification of, for example, the use of application A rather than application B.
This requires candidates to describe why application A would be used rather than application B. Simply
describing how application A and application B are used does not answer the question.
General comments
Questions about logic gates and truth tables and utility software were usually completed successfully, the
questions about networks and control systems were more challenging.
Comments on specific questions
Question 1
(a)

This question was answered well. The most popular correct answer was an infra-red sensor.

(b)

This question was not answered well. Many candidates need to improve their understanding of the
role of an actuator in a control system. There was considerable confusion between the role of the
microprocessor and the role of the actuator. Candidates should understand that the actuator does
not do any processing of sensor readings. It initiates an action when prompted by the
microprocessor.

(c) (i)

There were some good answers to this question. Some candidates need to understand that
statements such as ‘it (an embedded system) is embedded into a larger system’ which simply reword the description are not sufficient at this level. A better answer is ‘it is integrated into a larger
system’.

(ii)

The most popular correct answer to this question included a statement about the difficulty of
upgrading the device so it was often thrown away. Some candidates must be careful not to repeat
answers from previous part questions.

Question 2
(a)

Answers for the primary key and referential integrity were much better than those given for an
entity. Some candidates need to understand when describing the primary key that it is the record
that is uniquely identified and not the table.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(b)

The question asked for a description of methods other than authentication used by a DBMS to
improve the security of a database. Some answers gave just a list of methods which is not enough
for a description. Other responses included methods such as passwords or biometrics, both of
which are forms of authentication. There was also considerable confusion between access rights
and the provision of views.

(c)

Many candidates were able to give correct generic statements about removing repeating groups of
attributes and making all fields atomic. Applying this to the database given in the question proved
to be more challenging. Many answers attempted full normalisation which was not required.

Question 3
(a)

This question was generally answered well. Some candidates need to understand that statements
such as ‘a kibibyte is smaller than a megabyte’ are insufficient at this level. Care should be taken
with the units. Some candidates wrote bits instead of bytes, and others omitted any units.

(b) (i)

This question was generally answered well. Some candidates need to take care that when the
question asks for 12-bit binary, any leading zeros or ones must be shown.

(c)

(ii)

There were many correct answers to this question. Some candidates interpreted the binary value
as an unsigned or signed integer rather than as Binary Coded Decimal (BCD) and gave incorrect
answers of 2149 or – 1947. A small but significant group of candidates gave the incorrect answer of
–865, presumably because the binary value had a 1 as the most significant bit.

(iii)

This question was answered very well by most candidates. Some candidates should be more
careful when adding the place values together.
Most candidates were able to correctly identify an application of BCD. The most popular answer was
some form of electronic display. Justifying the use of BCD in the given application proved to be more
challenging. Imprecise statements about numbers rather than digits are not enough at this level.

Question 4
(a)

This question was generally answered very well. Many candidates were able to write an
appropriate Boolean expression.

(b)

This question was generally answered very well. Many candidates were able to correctly complete
the truth table.

Question 5
(a)

This question was answered well. Most candidates were able to correctly state what was meant by
privacy of data.

(b)

This question was answered less well. Some candidates gave methods of ensuring the integrity of
the data rather than stating what was meant by integrity of data.

(c)

There were some excellent complete answers to this question. Some candidates need to improve
their understanding of the difference between phishing and pharming.

Question 6
(a)

This question asked for the justification of a method of compression in the context of the live
stream of a music concert. Candidates were expected to state why a particular method would be
chosen not how the chosen method works. Many candidates need to improve their responses to
this type of question which requires the application of knowledge to a given situation or scenario.
Answers about reducing the download time were not applicable to this scenario; the duration of the
streaming would be the duration of the concert.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(b)

The question asked candidates to explain the impact of changing the sampling resolution on the
accuracy of a sound recording. Many responses included statements about file size, which did not
answer the question. Some candidates need to understand that it needs to be made clear in their
answers whether the sample resolution is being increased or decreased. Imprecise statements
such as ‘increasing the sampling resolution improves the accuracy of the recording’ which simply
statement given in the question are not enough. There needs to be an explanation of how the
accuracy is improved.

(c)

This question was generally not answered well. Many candidates need to understand that the bit
depth is given in bits and the answer is required in (mebi)bytes, so there is a requirement to divide
by 8 in the working. The most popular incorrect answer was 20 where this division had been
omitted. Some candidates should also be aware that in questions of this kind, it is unlikely that
complicated calculations will be required. The values given will usually cancel out and leave a
straightforward calculation for the answer.

Question 7
(a)

There were some excellent answers to this question. Some candidates need to understand that
there are eight groups of digits in IPv6 not six. There was also considerable confusion between a
semi-colon (;) and a colon (:) as the separator between the groups of digits.

(b) (i)

This question stated that there were four devices in the network and required a diagram of the
network configured as a star topology. Many of the diagrams seen incorrectly included other
devices. There was also some confusion between a star topology and a mesh topology.

(ii)

Candidates with a suitable central device were able to correctly explain how data would be
transmitted between the two laptops. Some candidates need to improve their understanding of the
role of the router in a network.

(iii)

This question was generally not answered well. There were some vague answers about
transmission speed and collisions, which did not really answer the question why subnetting is used.
Better answers included statements about improved security or more efficient management.

(c)

This question was generally answered well. Some candidates need to understand that it is the
devices, as stated in the question, that are performing the actions and not the CSMA/CD protocol.

(d)

Many candidates were able to correctly identify the public and private IP addresses. Describing
static and dynamic IP addresses proved to be more challenging, especially the dynamic IP
address. Answers such as ‘an IP address that randomly changes’ are not enough. There needs to
be a statement about when or why it changes.

Question 8
(a)

This question was generally not answered well. Many of the answers stated a management task
performed by the Operating System rather than a purpose of the Operating System.

(b)

Many candidates were able to correctly identify appropriate utility software. The most popular
choice was disk defragmentation. Some candidates need to read the question more carefully. It
asked for utility software that was not intended to improve security. Incorrect answers seen
included software that is intended for security such as virus checkers and firewalls. Some
candidates who correctly identified appropriate software, found it more challenging to explain why
this software would be needed.

(c) (i)

This question was generally answered very well. Most candidates were able to correctly name an
appropriate port to provide a connection for the optical disc reader/writer.

(ii)

Many candidates found this question very challenging. It asked for the roles of the components in
the process of writing to the optical disc reader/writer. Few candidates were able to successfully
apply their answers to the given scenario. There were many generic statements about the
components, which did not answer the question.

Question 9

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(a)

There were some good answers to this question. The opcode most likely to be incorrectly placed
was JPE; identified in the compare group rather than the unconditional and conditional group.
Some candidates should understand that just copying the explanation of the opcode from the table
does not identify the instruction group for the command.

(b)

There were many excellent complete answers to this question. Some candidates with an otherwise
correct trace table incorrectly included quotation marks around the output. Some candidates
started correctly but then struggled with implementing the code from the LDX command onwards.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/13
Theory Fundamentals

Key messages
Candidate responses are expected to include more than simply general knowledge. There should be some
demonstration of technical knowledge and appropriate use of the terminology associated with the subject.
Some candidates need to be careful with the use of terminology. For example, information was used
frequently instead of data, and memory instead of storage.
Candidates should be encouraged to look carefully at the command words in the question. A question that
begins with the word ‘state’ or ‘identify’ requires a different response to one that starts with the word ‘explain’.
Some questions may ask for a justification of, for example, the use of application A rather than application B.
This requires candidates to describe why application A would be used rather than application B. Simply
describing how application A and application B are used does not answer the question.
General comments
Questions about logic gates and truth tables and representation of data were usually completed successfully.
Questions about using SQL and types of RAM proved more challenging.
Comments on specific questions
Question 1
(a)

Candidates found this question challenging. Answers such as ‘data that is not digital’ were too
vague at this level of study.

(b)

Most candidates were able to correctly match each term to its corresponding description.

Question 2
(a)

This question asked candidates to describe the impact of increasing the image resolution on the
quality of a bitmap graphic. Many responses included statements about file size, which did not
answer the question. There was considerable confusion between image resolution and sampling
resolution.

(b)

Many candidates need to understand that the bit depth is given in bits and the answer is required
in (kibi)bytes. Therefore, there is a requirement to divide by 8 in the working. A frequent incorrect
answer omitted this division.

Question 3
(a) (i)
(ii)

There were some good answers to this question. The most popular reason given was the
requirement for the courses to be available over the internet for access anywhere in the world.
Candidates found it more challenging to describe two disadvantages of using a public cloud. Many
of the responses applied equally to the LAN. There seemed to be a general misconception that
because the files were on a public cloud, they were accessible to anyone and that a public cloud
was owned by the public not a third-party supplier.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(iii)

There were many good answers for the firewall and passwords. Many candidates found it more
challenging to state how encryption protected computer systems. Some candidates should
understand that encryption does not prevent access to the data, the encryption makes the data
incomprehensible if accessed.

(b) (i)

This was a standard breakdown of a many-to-many relationship. Many candidates recognised it as
such and correctly completed the entity-relationship diagram.

(ii)

There were several answers where the basic SELECT, FROM and WHERE clauses were correct.
Many candidates found it more challenging to give an appropriate field name to the value returned.

(c)

There were some excellent answers to this question with complete descriptions of appropriate
verification checks. There was also some confusion between verification and validation. Some
candidates need to improve their understanding of the difference between the two.

Question 4
(a)

This question was answered well by most candidates. Some candidates need to improve their
understanding of the operation of an XOR gate.

(b)

This question was answered very well by many candidates. Many candidates were able to correctly
draw an appropriate logic circuit.

Question 5
(a)

Some candidates found this question challenging. Descriptions of single stepping were often better
than descriptions of context-sensitive prompts. There was some confusion between contextsensitive prompts and auto-completion.

(b) (i)

This question required candidates to explain the reasons why the files would be compressed and
not how a particular compression method works. Many candidates need to improve their
responses to this type of question which requires the application of knowledge to a given situation
or scenario.

(ii)

This question required candidates to describe the reasons why a hard disk formatter is needed and
not how the utility software works. While there were some better answers, there was also
considerable confusion with disk defragmentation software.

Question 6
(a)

The question required two benefits to a programmer. Some candidates need to ensure that they
read the question carefully; responses were often given in terms of benefits to the user. There was
considerable confusion with open source software. Responses describing modification and redistribution were frequently seen. Some candidates need to understand that shareware does not
mean that the source code can be shared.

(b)

There were some very good answers to this question. Most candidates could give at least one valid
reason why a programmer should join a professional ethical body.

Question 7
(a)

This question was answered well. Some candidates need to understand that inexact responses
such as ‘static RAM is faster’ are not enough at this level. Better statements include ‘static RAM
has a faster access time’.

(b)

Many candidates found this question challenging. Responses were often given in the context of a
comparison with EPROM which was not what the question asked. The most popular correct
answer was the ability to change the contents of the EEPROM without removing it from the
headset.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(c)

This question was generally not answered well. There was considerable confusion between the
buffer and the print queue and statements about instructions being transferred to the buffer rather
than the data to be printed. Some candidates described the principal operations of a laser printer
with no mention of a buffer.

(d)

Most candidates were able to correctly identify a suitable port. Many candidates found it more
challenging to justify why this port would be appropriate. A justification should say why the port is
used and not how the port operates.

Question 8
(a)

This question was answered well by most candidates. Some candidates need to ensure that their
descriptions of a validation check do more than just repeat the name of the check. For example,
responses which name a validation check as a format check, and then give the reason for use as
to check that the data is in the correct format, will not gain credit for both the name and the
description.

(b)

This question was answered well by most candidates. Many candidates were able to give a
difference and a similarity between pharming and phishing. Some candidates need to understand
that at this level answers should contain more than just general knowledge and that when
describing a difference between two things, a statement about both is required.

(c)

This question was also answered well by most candidates. Some candidates must ensure that they
take care with the precision of their answers. For example, just downloading an anti-virus program
is not enough; it must be clear that the anti-virus program is installed and running.

Question 9
(a) (i)

(ii)

There were some excellent answers to this question. Some candidates need to read the question
carefully, as answers that included buses and registers were seen when candidates were told not
to include them in their answers.
Some candidates found this question more challenging. Responses such as ‘special purpose
registers have a special use; general purpose registers are for general use’ which simply return the
names of the registers are not enough at this level.

(b)

The missing steps in the table were often inserted correctly. The missing descriptions proved to be
more challenging. A frequent incorrect statement for the first missing description was ‘the contents
of the MAR are copied to the MDR’ rather than ‘the contents of the address held in the MAR are
copied to the MDR’.

(c)

This question was answered well by most candidates. The most popular correct answer was
division by zero.

(d)

A minority of candidates provided a completely correct answer. A popular incorrect order for the
missing statements was D-A-E.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/21
Fundamental Problem-solving and
Programming Skills

Key messages
Many marks are lost by candidates who do not pay attention to key points of detail when writing pseudocode
statements. Some of the more common errors seen – which would all result in a loss of marks – are listed
below:
•
•
•
•

A correct procedure/function header but the end statement is omitted.
An IF statement with the ENDIF omitted.
A loop with the terminator statement omitted; for example, ENDWHILE.
File handing statements incorrect:
•
•

•
•

The file name omitted from the CLOSEFILE statement.
The file name omitted from the EOF() function (Question 8(a))

Using keywords for a variable identifier. For example, String (for the parameter in Question 6(a)).
OUTPUT statements where the <ampersand> or <comma> have been incorrectly used or omitted.

General
In English the verb ‘to increment’ is used to mean to increase some value and it can be by one only or a
stated number e.g. ‘an increment of 5’. In Computer Science we always assume the increment is by one. For
example, increment TopOfStack (Question 3(b)).
Candidates seem unsure when the algorithm is asking for the calculation of ‘a total of …’ and have trouble
distinguishing this from ‘a count of …’. Question 4 required the algorithm to input a sequence of integer
values and calculate a running total of the numbers which satisfied some condition. Candidates need to be
aware this is a very different requirement to an algorithm asking for a count of the numbers that satisfied
some condition, as asked for in Question 4(a).
‘Empty string’ does not mean a string populated with <space> characters.
A statement such as 30 to 40 (Question 1) or ‘between 30 and 70 inclusive’ (used in Question 2) would
always assume to include the two boundary values.
Question 1
(a)

A common error was for the delimiter speech marks to be omitted from row 1 and row 3. Some
answers for row 2 were shown as 12/3 which did not gain credit. Another frequent error on row 4
was to state the answer as 10. A general point candidates should be aware that a statement such
as ‘30 to 40’ does include the two boundary values.

(b)

Some answers lost the first available mark by not stating the relevant assignment statement. Many
correct answers however successfully followed. Candidates stating that if the level was less than
20 then it would satisfy the first clause in the case structure. It was expected that the answer clearly
stated, or implied, that the clauses in a case structure are processed in sequence.

(c)

The majority of answers gained the mark by stating that all possible values for the Level variable
are already covered by the existing clauses.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(d)

Well answered with the major of candidates gaining all full three marks. Candidates should be
reminded that if an answer such as ‘integer/real’ is presented only the first answer shown will be
marked.

Question 2
(a)

The standard of answers seen were very variable. See the earlier comment in the General section
concerning the interpretation of the question wording ‘a total of all numbers …’.
The answers which gained 4 or all 5 marks were describing something happening to a single
number.
The key wording of the question was ‘steps …. which could be used to produce pseudocode’. The
key steps were:
•
•
•
•
•
•

initialise a running total to zero
the algorithm would need a loop to iterate 100 times
a number is input
the number is compared to the given criteria, and if true …
the number is added to the running total
when the loop ends the final total is output.

Answers which throughout described something happening to numbers scored few if any of the
available five marks. The use of an array to store the numbers was a common irrelevance.
(b)

Generally, well answered, by stating the constructs of iteration and selection. Peripheral terms such
as ‘repetition’ and ‘condition(al)’ did not gain credit.

Question 3
(a)

There were very few answers which scored the three available marks. The first bullet point in the
stem of the question meant there was no ambiguity as to the five array cells which would contain
the values. Some answers changed the order of the data so that they were in a different sequence
(often (D1, D2 …D5). A very common misunderstanding was what values would be used for the
two pointers. These were frequently incorrectly shown as two of the data values (for example, D1
and D2) rather that the array index values (correctly as 5 and 1). This was a fundamental error
which suggested a lack of understanding of how a stack structure using an array would be
implemented.

(b)

This question assessed the candidate’s understanding of the terminology used using an array to
implement the stack structure. Weaker answers tended to gain only the final mark – however many
strong answers were seen.

Question 4
(a)

Generally, well understood and answered. Most solutions correctly had a count-controlled loop, but
a not uncommon error was the omission of the assignment arrow. Some solutions attempted a
length calculation/check on the string parameter which was not required.
A correct solution had the return value done either inside the loop when the count condition was
met, or outside the loop. A common error for the latter was to omit the final ENDIF.

(b)

There were many variants seen here producing a correct solution. Some candidates used a twoiteration loop to test each of the array values. This was not needed, and a simpler solution used
two conditions joined by the AND operator.
However, a common syntax structure error was to write this incorrect statement:
Search = Data(Row, 1) OR Data(Row, 2)

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
Many candidates used the correct syntax for the test for an even number. Careless errors which
lost marks were:
•
•

not using the variable Row.
not using the identifier name Data for the array. (Both as stated in the rubric of the question).

Question 5
(a)

Generally, well answered with the majority of the answers seen identifying at least two of the
incorrect statements.
Candidates were given no guidance as to how to present their answer. The clearest answers were
those which wrote both the original incorrect statement, followed by the correct (both labelled).
Weaker answers which only made a statement such as ‘replace the < with a <‘, ‘replace the and
with a +’ generally did gain credit but this was not ideal or good examination technique.
The statement which proved most elusive for candidates was the correction to:
NextInput = "END"

(b) (i)
(ii)

This was poorly answered. Answers which were able to state that a sequence with integers all
greater than 999 were rarely seen.
Some candidates' mis-interpreted the framework given on the question paper for their answer and
alongside each value prompt had a complete sequence.
Very few answers were seen which gained any credit. The sequence needed to have all integers
above 999, at least one non-numeric value (as per question rubric) and the final ‘END’. Some
candidates wanted to explain a solution where the non-numeric values were somehow converted to
integers (despite the wording on the question stem that stated ‘….non-numeric input is
ignored…..’).

Question 6
(a)

Most candidates found this a challenging question and misunderstood the given problem
description; few answers were seen which gained the full 7 marks. The most common algorithm
error was to concatenate the string using the old MyString variable. This meant that there was
no longer access to the original string variable if the length of the concatenated string exceeded
255 characters. Furthermore, most candidates forgot to reset MyString to an empty string if the
Boolean parameter evaluated to true.
Additionally, some candidates made the mistake of redeclaring variables and their INPUT inside
the procedure instead of passing them as parameters.

(b)

These marks were only gained by the strongest candidates. Some answers gave a clear
description of the difference between global and local variables, but this did not gain credit. The
answer required a description of how this change would impact on this algorithm. The answer
wanted was a statement that, as each new instance of MyString is created, this would result in
the variable’s existing contents being lost.

Question 7
The majority of answers gained the full five marks. Only errors seen were the omission of the self-transition
for State S5 or a state which was duplicated. The omission of the arrows for each event would have been
penalised but was rarely seen.
Question 8

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
(a)

The range in quality of answers seen was wide; weak answers often did not get past a correct
procedure header.
Refer back to the ‘Key Message’ section. There were errors which normally resulted in a loss of
marks.
•
•
•
•

The omission of a loop.
A correct READFILE statement, but no CLOSEFILE.
The omission of the filename from the EOF() function.
The use of the ‘+’ operator to concatenate strings.

The algorithm was not a complex one although it used a scenario of data transfer which had not
been used in previous series. Candidates often could not correctly form the message string which
was to be sent using the Transmit() module.
<STX> and <ETX> were often incorrectly treated as strings, each of three characters. Solutions
which correctly formed the string used for the final file transmit were rarely seen.
(b)

Few answers gained the two marks. A statement that ‘this string is the indicator to the receiving
computer that there is no more data to be sent or it is the end of the transmission. The receiving
computer would then close the file’ would have secured the marks.

(c) (i)

Answers here were weak. A statement that the message cannot be a zero-length data field,
therefore blank lines cannot be sent, would have secured the two marks.

(ii)

(d)

This question proved to be challenging for the majority of candidates. They were required to
identify ways to transmit a blank line and recognise the new format by the receiving computer.
Some candidates suggested the use of special characters or additional fields, but answers failed to
describe how the receiving computer would then reconstruct the original message. In many
answers it was not clear whether a suggested change was being made to the contents of the
message part only of the transmission, or a change to the format of the protocol.
A very varied standard of answers seen with weaker answers sometimes incorrectly used an
unnecessary loop. A sequence of IF statements or a CASE structure were equally appropriate. For
field numbers 1 and 2 the MID function was correctly used but often its parameters were incorrect;
likewise, for field number 3. Answers often showed a sense of ‘recovery’ where – despite failing to
gain earlier marks – the structure was correct for both the return of the value and the exception for
an invalid parameter. Please see the comment in the General section relating to an empty string.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/22
Fundamental Problem-solving and
Programming Skills

Key messages
This paper addresses the application of practical skills including both computational and algorithmic thinking.
This often involves analysing and understanding the requirements of a scenario as well as designing and
presenting a solution. Candidates need to be able to identify the key elements of each requirement which, for
example could include the need for an iterative structure or methods to access data stored in a string or a
file. The development of these skills requires practice.
Candidates need to follow the recommended pseudocode to communicate their solution to the Examiner.
This will ensure that the Examiner will be able to follow the structure and logic of the pseudocode algorithm
presented and credit solutions accordingly.
Candidates in preparation for this component may have been introduced to practical programming in one of
the supported languages for Paper 4. The candidate needs to be aware of any differences in syntax (and
there will be many) and appreciate that if the question asks for pseudocode then some variations with their
studied programming language will be unacceptable for this component.
This subject makes use of many technical words and phrases. These have specific, defined meanings and
they need to be used correctly.
Answers should be as precise and specific as possible. Candidates should familiarise themselves with the
meanings of the command words used in this paper and form their answers accordingly. Candidates need to
read each question carefully to make sure they understand what is being asked and should not assume that
simply because a particular question shares some key phrases with those from a past paper that the
required answer is the same. Candidates should also be aware that answering a question by simply
repeating phrases from the question will not gain marks.
Candidates should be encouraged to attempt all questions. Even the more advanced questions that ask for
an algorithm to be written in pseudocode contain accessible marks.
General comments
The functions and operators that are available for use in pseudocode answers are described in the Insert
which accompanies the paper. Candidates should be aware that the use of language-specific functions or
methods that do not appear in the Insert will not gain credit.
The following invalid pseudocode constructs and statements have been seen in this series:
•

Invalid variable names:
Length ← LENGTH(Suffix)
Using standard function identifiers, found in the Insert, as variable names.

•
•

Invalid string concatenation:

Suffix ← '0' + Suffix
Invalid boolean statements:
IF DNum >= RouteTable(Index, 1) AND <= RouteTable(Index, 2) THEN
IF RouteTable(Index, 1) <= DNum <= RouteTable(Index, 2) THEN

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
•

Omitting the assignment in a loop:
FOR X 1 TO NunFiles

•

A language specific statement:
FOR Index in RANGE(100)

Comments on specific questions
It is recommended that the following specific comments be read in conjunction with the published mark
scheme for this paper. The initials ‘MP’ stand for ‘mark point’.
Question 1
(a)

Most of the candidates gaining all four marks available for this question.
One of the most frequent errors was the use of a less than meaningful variable name. A typical
example of this was simply using name for the name of the customer.

(b)

Many three-mark or four-mark answers were seen with over half gaining all four marks available for
this question.
Missing quotes accounted for many lost marks and ‘error’ was seen occasionally despite not being
signposted in the question.
Several candidates took Description as a string rather than an identifier so row two was
evaluated to 'ription' and row three to FALSE.

(c)

A more demanding question compared to 1(c) and 1(b) with fewer candidates gaining all three
marks for this question.
The majority of candidates seemed to recognise the need for a Record for the first mark, generally
followed by a reference to ‘store many datatypes’ for a second. Reference to an array of records
was not quite as common but still seen fairly frequently.
Common mistakes included ‘database’ and simply ‘file’. Another common incorrect answer was ‘an
array’ which by itself was not mark worthy.

Question 2
(a)

This question tested the candidate’s ability to create a flowchart to represent an algorithm.
A full range of marks were seen for this question with most candidates gaining three marks or less.
Many candidates were able to correctly create a flowchart that checked for the entry of the first 27
or summed the remaining inputs until a 0 entered but not both. Many candidates did not gain the
initialisation mark for the sum.

(b)

This is a commonly asked question where candidates are asked to name the type of loop used in
an algorithm. Candidates need to use the correct terminology from the syllabus when describing a
loop, which in this case was either a ‘post-condition’ loop or a ‘pre-condition’ loop. Many candidates
lost a mark for just stating ‘repeat’ loop or ‘while’ loop which was not enough to gain a mark.
The justification mark was often awarded when the name of the loop was not enough. Candidates
often gave mark worthy answers using a specific example of a termination condition from the
question. The generic answer of ‘unknown number of iterations’ was also awarded a mark.

Question 3
This question required candidates to understand how a linked list is implemented using two arrays.
(a)

Most candidates obtained some marks for this question with only a few gaining full marks.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
Candidates were expected to complete all the missing values not just some.
Most candidates failed to give the Start_Pointer value although this was the first missing value
in the question.
The Index 2 mark was the most frequently given, followed by the one for Index 5.
The two ‘null pointer’ marks seemed the most challenging, with the second (Index 7 and 8) being
given more than the first (Index 3 and 4).
(b)

This question assessed the candidates understanding of how a new item is added to a linked.
Candidates are not expected to create their own code from scratch to do this but should be able to
complete the steps required when structured in the way presented in the question.
Candidates generally found this more challenging than Question 3(a) with fewer gaining any
marks and only a few gaining all fours marks available.
A number of zero-mark answer were seen along with the use of non-linked list terminology e.g.
head and tail pointers.

Question 4
(a)

A good spread of marks was seen with many candidates gaining all the six marks available.
MP1: awarded frequently although several solutions passed in ThisNum. A number of candidates
still miss out on this mark through omitting the END statement.
MP2: Seen frequently.
MP3: Most solutions recognised the need for some kind of loop. Many WHILE loops referenced a
ThisNum that had no initial value. Rather than a simple ThisNum <> 99 condition a number of
solutions opted for an incorrect Num < 99 AND Num > 0 (the question does not say that 99 is
the max value).
MP4: Often input just before the loop and then again as the first line inside the loop. Many solutions
omitted it altogether.
MP5: Correct use of MOD was often seen, although per cent was seen on many occasions (which
was not mark worthy). The MOD operator is included in the Insert.
Several elaborate solutions attempted to strip off the rightmost character and compared it with 0, 2,
4, 6 and 8, often incorrectly:
e.g. IF RIGHT(ThisNum,1) = 0 OR 2 OR 4...
Some candidates incorrectly used conditions such as IF Num = Even
MP6: Many missed the requirement to have initialised both count variables and to not count the
value 99. Some solutions correctly added an IF statement to skip the value 99.
MP7: This mark was often lost for an attempt to concatenate an integer by simply using & operator.
Comma separators were correctly used by most candidates.
A few candidates lost this mark for not including a comma separator
e.g. OUTPUT "Number of even numbers" EvenCount

(b)

The term ‘test data sequence’ is not widely understood.
Most solutions omitted the terminator value at the end, although many answers went on to suggest
a markworthy sequences with 99 as the only value or 99 included somewhere in the sequence.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
A common mistake was using test data that was too similar to the example given in the question.
Question 5
Many good answers were seen, although some of these answers missed the initial values for MP1.
Most candidates gained at least three marks but there were a number of zero-mark or one-mark solutions
seen.
It is important when completing trace tables that candidates keep the values of variables distinct for each
iteration of the loop. A number of candidates failed to do this.
Question 6
(a)

As is usual with this type of question, a wide range of marks was given.
It was pleasing to see a range of different solutions gaining full marks for this question.
MP1: Many solutions gained this mark. In some cases, the solution consisted of little more than the
module ‘wrapper’ suggesting that this is a recognised tactic.
MP2: Most solutions included some form of attempted loop. The simple FOR...NEXT loop was
often replaced by a REPEAT...UNTIL despite the added requirement that this approach needed a
statement to increment the loop counter. A significant number of solutions mistakenly looped from
1 to 999.
MP3: Many solutions gained this mark through the use of NUM_TO_STR(LoopCounter)
MP4: Few solutions gained this mark. Often the dot was absent. Some ingenious solutions
attempted to divide the file number by 1000 (so file 3 became file 0.003) but then failed to convert
the result to a string and take just the rightmost 4 characters.
MP5: Very many instances of CLOSEFILE appeared without a filename. The use of CREATEFILE
was common although this is not mentioned in the Pseudocode Guide for Teachers.
MP6: This mark was often gained as a follow through. A very common mistake was for the
WRITEFILE command to have just one parameter (rather than <filename>,<data>) and this
was exacerbated by the frequent use of a comma instead of the correct & operator to concatenate
the filename with the suffix.

(b) (i)

Most candidates gained the one mark for this question but over a third did not gain this mark.
Incorrect answers were drawn from general computing terminology.

(ii)

Under half the candidates answered this question correctly. Mistakes seen occasionally included
providing a return identifier in addition to the data type and providing an integer parameter in
addition to the string.

(iii)

As for 6 (b)(i) most candidates gained the one mark for this question but over a third did not gain
this mark. A few candidates incorrectly gave WRITE or APPEND as the file mode.

Question 7
(a)

The question required candidates to complete a structure chart. A small number of candidates
gained all four marks for this question.
MP1 and MP3 were the mark points most often given. Common mistakes were omitting parameter
labels particularly on the lower level and not shading in the Boolean parameter arrow to Module-Y.

(b)

Most candidates correctly identified the use of selection so gained one mark for this question. A
few candidates correctly named all four modules involved.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
Question 8
(a)

A full range of marks was given for this question a significant number of scripts gaining full marks
was seen. However, many non-viable attempts were seen.
It was pleasing to see a range of different solutions gaining good marks for this question. Two of
the common approaches gaining full marks were those included in the mark scheme as example
solutions. By far the most common was the looped based solution.
MP1: Although not vastly different to MP1 in Question (6)(a), this corresponding mark was less
often given and where only one mark was awarded this was generally the mark given.
MP2: Not seen often but candidates who failed to get this mark could still gain the rest of the marks
available.
MP3: Many solutions rejected the straightforward FOR...NEXT loop in place of a more
sophisticated conditional loop. Unfortunately, the termination condition was often incorrect (e.g. an
incorrect number of iterations) or the loop lacked the counter increment statement or the values in
the conditional test had not been initialised. Even a REPEAT...UNTIL loop that includes the loop
counter increment fails to gain the mark if that counter has not been initialised.
Some solutions included an inner iteration loop for Col, which was usually unsuccessful due to the
need to implement a logical OR of the two comparison results.
MP4: Not addressed often. Occasional attempts at testing DestinationID rather than
RouteTable(Row, 1) were seen.
MP5: Many solutions gained this ‘attempt’ mark. A common mistake was to use = rather than <= or
even just <.
A significant number of solutions attempted to use the RouteTable values from the example in
the question which was not mark worthy.
An occasional fault was to include an ELSE clause that immediately returned –1 if the
DestinationID was not found in the range. This impacted on MP8.
MP6: The usual reason for this not being given following MP4 was that the solution missed the final
value in each range e.g. < instead of <=
MP7: Many solutions gained this mark. Immediate RETURN of the value was often seen. Many
solutions attempted to terminate the loop when a matching range was found although this was not
considered necessary for such a small number of iterations.
MP8: Usually given where a reasonable attempt had been made, except where an ELSE clause
had been used (see MP5 above).

(b)

A few very good solutions were seen for question. Some weaker solutions included the use of an
unnecessary loop.
MP1: Not well addressed. Solutions that did attempt this often simply compared the whole
message with an empty string. Solutions that attempted to extract a possibly non-existent substring
did not gain this mark
e.g. IF MID(Message, 4, LENGTH(Message) – 3)
MP2 and MP3: These mark points were the ones most often awarded.
MP4 and MP5: Some very elegant solutions were seen but the majority of candidates struggled
with the use of this user-defined function. A common mistake was not assigning the return value.
Another common mistake was not including either one or both of the parameters.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers
MP6: This was attempted in many solutions. Often it included a further use of the function
StackMsg() with no parameters which was not condoned.
MP7: Frequently given, even when MP6 was not awarded as long as the attempt at this this mark
point was reasonable.
(c) (i)

Many incorrect solutions referenced a whole range of possible problems, such as ‘run-time error’,
‘network problem’ and ‘using the wrong stack’.
Scenario one and two were the most popular, with marks commonly given for ‘FILO’ and ‘Stack is
full’.
For scenario two, the most common suggestion was that ‘all the lines are reversed’ but some
candidates answers did hint at the interaction between the PUSH and POP actions resulting in
‘some of the lines being out of sequence’.
Very few three-mark solutions were seen as the final mark, in all cases, wanted a reference to the
received file and this was usually lacking.

(ii)

Just under two-thirds of the candidates gained the mark for this question.

© 2023

Cambridge International Advanced Subsidiary and Advanced Level
9618 Computer Science November www.dynamicpapers.com
2023
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9618/23
Fundamental Problem-solving and
Programming Skills

Key messages
Many marks are lost by candidates who do not pay attention to key points of detail when writing pseudocode
statements. The list is extensive but some of the more common errors seen – which would all result in a loss
of marks – are listed below:
•
•
•
•

A correct procedure/function header but the end statement is omitted.
An IF statement with the ENDIF omitted.
A loop with the terminator statement omitted; for example, ENDWHILE.
File handing statement incorrect:
•

•
•

The file name omitted from the CLOSEFILE statement.

Using keywords for a variable identifier. For example, Length (Question 8(a)).
OUTPUT statements where the <ampersand> or <comma> have been incorrectly used or omitted.

General
In English the verb ‘to increment’ is used to mean to increase some value and it can be by one only or a
stated number e.g. ‘an increment of 5’. In Computer Science we always assume the increment is by one. For
example, increment NumItems (Question 3(b)).
Candidates seem unsure when the algorithm is asking for some total and have trouble distinguishing this
from ‘a count of …’. Question 8(a) required the algorithm to read successive lines from the file and maintain
a character count of the numbers of characters read. Another way of expressing the requirement is to
calculate the ‘running total’ for the characters read.
Question 1
(a)

Generally, well answered by the majority of candidates.

(b)

Again, well answered.

(c)

The majority of candidates suggested the programmer would look for the required functions in a
program library. Answers which did not gain credit stated vaguely that the functions would be found
‘from a search of the internet’.

(d)

Well answered with candidates stating this would require adaptive maintenance. This was followed
for the second mark with the suggestion that the user requirements had changed which would also
require adaptive maintenance. Some answers tried to expand on the question scenari

Advertisement