Computer Science (9608) · May/June 2019 · Examiner report

Cambridge Computer Science (9608) examiner report, May/June 2019 — 9608/M/J/19, file 9608_s19_er.pdf.

Advertisement
Loading the paper…
Text of this paper

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/11
Written Paper

Key messages
Candidates need to use precise terms related to the subject at this level of study.
Each question needs to be read carefully. A question that begins with 'Describe' requires a different type of
answer from one that begins with 'Explain'.
Candidates are required to respond appropriately in the given context of the question. Generic answers that
apply to any situation will not gain full credit.
General comments
In general, candidates performed well on the low level language trace table, as well as on the databases
question. Many candidates found the questions about video encoding and program libraries more
challenging.
Some candidates write their answer first in pencil and then overwrote this in ink. Candidates must ensure
that the pencil marks are completely removed.
Comments on specific questions
Question 1
(a)

Many candidates correctly identified that the first address was invalid. Some candidates found it
more challenging to give the reason for this. The most common answer was that the address was
written in Hexadecimal, without any reference to H being an invalid Hexadecimal digit. Almost all
candidates recognised that the second address was also invalid and correctly stated that the value
299 was out of the accepted range. Most candidates recognised that the third address was a valid
IPv4 address; explanations of why this was valid were sometimes very vague. An explanation such
as, 'because it fits the IPv4 format' are not enough for credit at this level of study.

(b)

There were a small number of very good answers to this question. Many candidates need to
improve their understanding of how a URL is converted into the corresponding IP address. There
was a general misconception that the URL is sent to the Domain Name Service, rather than that
the URL is first parsed to obtain the Domain Name.

(c)

The majority of candidates answered this question correctly.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(d) (i)

Almost all candidates appreciated that a recording of a concert would be a very large file.

(ii)

The majority of candidates answered this question correctly.

(iii)

There were a number of good answers to this question. Some candidates need to improve their
understanding of lossy and lossless compression. The question begins with, 'Explain why lossy
compression is more appropriate'. Many candidates need to understand that in order to answer this
question each statement needs to refer to both types of compression. An example of a good
answer is, 'The recording of the concert is a large file and so needs significant reduction in size,
lossy compression creates a significantly smaller file than lossy compression'.

Question 2
(a)

There were some good answers to this question. Many candidates need to improve their
understanding of the differences between a Free Software licence and an Open Source licence.

(b) (i)

Many candidates found this question challenging. Some candidates showed a good understanding
of the limitations of a file based approach to storing data. There was some confusion with the
storage of files on an external device, with descriptions of directory structures and file access
techniques.

(ii)
(c) (i)

A minority of candidates answered this question well. Candidates need to improve their
understanding of database schema.
Many candidates correctly identified the type of relationship.

(ii)

Many candidates correctly described the implementation of the relationship. The most common
error was to give a generic answer rather than an answer which used the table definitions given in
the question.

(iii)

There were some excellent answers to this question. The most common reason for error here was
the omission of the GROUP BY clause. Some candidates need to improve their understanding of
basic SQL programming.

Question 3
(a) (i)

(ii)

(b) (i)
(ii)

The question begins with the words 'Describe two advantages', so generic statements about library
files do not answer the question. Candidates should understand that to answer this type of question
it is insufficient to say, for example, 'Library files will have been used by a lot of people so will be
well-tested', there needs to be a statement saying why this is an advantage. An example of a good
answer would be, 'Library files will have been used by a large number of people so will be welltested, which means that the program will be more robust'.
A minority of candidates answered this question well. Many answers repeated statements from the
previous question with no reference to a Dynamic Link Library (DLL). Candidates need to improve
their understanding of a DLL.
The majority of candidates correctly stated one benefit.
Many candidates were able to state that a compiler produces an executable file. Fewer candidates
were able to correctly give two more benefits. Many answers stated how a compiler operates rather
than saying why it would be used when the program was complete. There was some confusion
between the use of a compiler and the use of an interpreter. A number of responses incorrectly
stated that it was faster to run the compiler rather than that the executable file would probably run
faster than interpreting the source code.

Question 4
(a)

Almost all candidates were able to name three other principles of the ACM/IEEE Software
Engineering Code of Ethics. Describing the principles was more challenging. Candidates need to
be aware that if a question says, for example, 'Describe three other principles’; credit will not be
given for including the example given in the question.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(b)

Almost all candidates correctly explained how data backup could aid recovery of data. Many
candidates found explaining disk-mirroring much more challenging. Many responses did not
differentiate between backup and disk-mirroring. Candidates need to improve their understanding
that disk-mirroring is the simultaneous use of two or more disks.

Question 5
(a)

There were a small number of correct answers to this question. Many candidates need to improve
their understanding of the operation of a two-pass assembler.

(b)

There were a small number of excellent answers to this part question. Many candidates need to
improve their understanding of processor instruction groups.

(c)

Tracing of assembly language programs is improving steadily and this one was generally very well
done, with many candidates providing completely correct solutions, neatly set out in the table
provided. The most common error was the inclusion of the word END in the OUTPUT column after
the final statement.

Question 6
(a)

There were some very good answers to this question. A minority of candidates confused interlaced
encoding with progressive encoding and vice versa. Some candidates need to improve their
understanding of these two different methods.

(b)

Many candidates need to understand that in order to answer this question; each statement needs
to refer to both types of encoding. An example of a good answer is: 'Interlaced encoding halves the
bandwidth requirements compared to progressive encoding which needs a high bandwidth'.

(c)

There were a few very good answers to this question. Many candidates confused spatial and
temporal redundancy and some candidates used some irrelevant statements about run length
encoding. Most candidates need to improve their understanding of this topic.

(d) (i)

The majority of candidates wrote that an analogue to digital converter would be used; few
candidates described further how the analogue waveform would be converted to digital data. The
question begins with the word 'Describe', so candidates need to include sufficient detail in their
answers. A single statement is insufficient for full credit.

(ii)

This question asks specifically for the effects of the sampling rate and sampling resolution on the
size of the file. Candidates need to be aware that their answers should reflect this. While there
were a few excellent answers to this question, many explanations gave great detail about sampling
rate and sampling resolution, then omitted any reference to the effect that changing these would
have on the size of the file

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/12
Written Paper

Key messages
Candidates need to use precise terms related to the subject at this level of study.
Each question needs to be read carefully. A question that begins with 'Describe' requires a different type of
answer from one that begins with 'Explain'.
Candidates are required to respond appropriately in the given context of the question. Generic answers that
apply to any situation will not gain full credit.
General comments
In general, candidates performed well on low level languages question, as well as the question on logic
gates and truth tables. Many candidates found the questions about hardware and Database Management
Systems (DBMS) more challenging.
Some candidates write their answer first in pencil and then over-write in ink. These candidates must ensure
that the pencil marks are completely removed.
Comments on specific questions
Question 1
(a) (i)

There were many correct answers to this question. The majority of candidates were able to give a
valid IPv4 address. The most common incorrect response either used a colon as a separator, or
included values above 255.

(ii) This question asked ‘why’ there is a need for IPv6 addressing. Many of the answers did not answer
this question, but described IPv6 addressing in general terms. Some candidates need to
understand that IPv6 is required because IPv4 addresses are running out.
(iii) Most candidates recognised that the address given would be invalid as an IPv4 address because
the value in each group of numbers was out of range. Some candidates need to understand that
the maximum value used in IPv4 addressing is 255, not 256. A common incorrect statement was
that IPv4 addresses cannot be represented in Hexadecimal notation.
(b) (i)

A minority of candidates answered this question well. Candidates need to improve their
understanding of the transmission of data using a Public Switched Telephone Network (PSTN).
Many responses just re-worded the stem of the question by saying that switches were used in this
type of transmission, which is insufficient for credit at this level of study.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(ii) Many of the benefits listed were very appropriate and the majority of candidates answered this part
well. Some candidates need to be more precise in their suggestions for drawbacks. Answers such
as, ‘It is expensive’ are not detailed enough for credit at this level. There needs to be a reason why
it is more expensive. An example of a good answer is, ‘A drawback would be that a leased line is
expensive to install and maintain’.
(c)

This question asked for the role of routers and gateways in a network. There were some very good
answers explaining both the similarities and the differences between routers and gateways. Other
candidates incorrectly described the role of a router in connecting a single device to the Internet,
rather than the role of a router in a network.

(d)

Almost all candidates could identify three other types of server. The most common incorrect
answer was a client-server.

Question 2
(a) (i)

Almost all candidates correctly stated the purpose of a language translator.

(ii) Many candidates were able to state that easier de-bugging is a benefit of using an interpreter
during program development. Fewer candidates were able to correctly state a second benefit.
Many answers described how an interpreter operates rather than stating benefits of use. There was
some confusion between an interpreter and a compiler.
(iii) Almost all candidates correctly named an assembler.
This question begins with ‘Explain why ’, so a generic description of library files does not answer
the question. Candidates should understand that to answer this type of question it is insufficient to
say, for example, ‘Library files will have been used by a lot of people so will be well-tested ’; there
needs to be a statement as to why this fact aids software development.

(b)

Question 3
(a)

Most candidates answered this question well. A small number of candidates need to take care
when drawing the arrows in the statements to ensure that they point in the right direction.

(b)

There were a small number of excellent answers to this part question. Many candidates need to
improve their understanding of processor instruction groups.

(c)

Tracing of assembly language programs is improving steadily and this one was very well done, with
many candidates providing completely correct solutions, neatly set out in the table provided. The
most common error was the inclusion of the word END in the OUTPUT column after the final
statement.

(d) (i)

Almost all candidates correctly converted the denary value to 8-bit binary.

(ii) Almost all candidates correctly converted the denary value to Hexadecimal.
(iii) Most candidates answered this question well. The most common error was the omission of the two
leading zeros on the final answer i.e. 0044.
Question 4
(a) (i)

A minority of candidates provided a good response to this question. Other responses demonstrated
considerable confusion between the internal operations of the microphone, that is, how the
microphone captures the sound, and the encoding of the analogue sound to digital form.

(ii) Many candidates found this part question challenging. There was considerable confusion between
the operation of a laser printer and the operation of a scanner. Candidates need to improve their
understanding of how a laser printer works. Many answers incorrectly stated that the laser
engraved the text onto the paper, or that the laser melted the toner ink onto the paper.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(b)

Some candidates were able to describe how all the data for a single frame was recorded or
displayed at the same time. Many candidates need to improve their understanding of what is meant
by progressive encoding. Some candidates confused progressive encoding with interlaced
encoding and vice versa.

(c)

There were a number of good answers to this question. Many candidates need to improve their
understanding of SRAM and DRAM. The question begins with, ‘Explain the differences’. Some
candidates need to understand that in order to answer this question each statement needs to refer
to both SRAM and DRAM. An example of a good answer is, ‘SRAM is used in cache memory,
while DRAM is used in main memory ’. Answers such as, ‘SRAM is more expensive than DRAM ’
or, ‘SRAM is faster than DRAM ’ are not detailed enough for credit at this level. There needs to be a
reason why it is more expensive and how it is faster. A better answer is, ‘SRAM has faster access
times than DRAM ’.

(d) (i)

There were a number of good answers regarding the idea of legal ownership or the need for
permission to use. Some answers to this question did not give a clear definition of copyright. There
was some confusion between copyright and plagiarism.

(ii) There were some excellent answers to this question where the responses were given in context.
Many candidates gave a generic description of an open source licence and had not applied their
answer to the context given in the question. This is a question where the precise use of terminology
is important too. It is insufficient to say that Shazia does not want anyone to see the ‘software’; it is
the source code that she wants to keep private.
(iii) The most popular correct answers were Shareware and a Commercial licence, and the majority of
candidates correctly stated these two types of licence. A small number of candidates responded
with a name only, despite the question asking for a name and description.
Question 5
(a) (i)

The majority of candidates correctly stated that data redundancy referred to the duplication of data.

(ii) Many responses included a statement about normalisation and there were a small number of
excellent descriptions of the normalisation process. Some candidates need to improve their
understanding of relational databases. There were many answers that mentioned multiple tables
but few descriptions of how the data was stored and linked. This is another question where the
precise use of terminology is important. There was considerable confusion between tables and
databases, with the word database frequently being incorrectly used to refer to a table within the
database.
(b) (i)

Many candidates correctly explained the difference between security and integrity. A small number
of candidates need to improve their understanding of this topic. It is also not enough, at this level of
study, to simply repeat the wording of the question. It is not enough to say, ‘security is keeping data
secure’. There needs to be some explanation of the meaning of ‘keeping data secure’.

(ii) This question is one that needs to be read carefully. It asks for two security features of a DBMS.
There were some very good answers. Other responses referred to security measures such as
firewall and anti-virus software that are not part of the DBMS.
(iii) The majority of candidates need to improve their understanding of the terms query processor and
developer interface.
Question 6
(a)

This question was answered very well. The majority of candidates drew a logic circuit that correctly
represented the logic expression given. Many of the solutions demonstrated excellent
understanding by using a 3-input OR gate as the final gate. There is an improvement in the
standard of the diagrams over the previous year. There were far fewer instances where AND and
OR gates could not easily be distinguished.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(b)

Almost all candidates provided a completely correct truth table.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/13
Written Paper

Key messages
Candidates need to use precise terms related to the subject at this level of study.
Each question needs to be read carefully. A question that begins with 'Describe' requires a different type of
answer from one that begins with 'Explain'.
Candidates are required to respond appropriately in the given context of the question. Generic answers that
apply to any situation will not gain full credit.
General Comments
In general, candidates performed well on low level languages question, as well as the question on utility
software. Many candidates found the questions about hardware and Database Management Systems
(DBMS) more challenging.
Some candidates write their answer first in pencil and then over-write in ink. These candidates must ensure
that the pencil marks are completely removed.
Comments on specific questions
Question 1
(a)

Many candidates correctly entered the missing management tasks. The majority of candidates
found completing the two missing descriptions much more challenging. There was considerable
confusion between memory management and the management of the hard disk, with frequent
incorrect references to the disk as memory. Many candidates need to understand that answers that
re-word the text given in the question such as, 'It provides a platform for software' are not enough
to describe the provision of a software platform at this level of study.

(b) (i)

The majority of candidates were able to describe one action performed by each of the two utility
programs given. Many candidates need to improve their understanding of how the software
operates. There were a significant number of responses that stated the reverse operation for the
disk defragmenter; namely that it split the files up.

(ii)

Almost all candidates correctly identified three other utility programs. The question asked for three
other utility programs. Some candidates need to be careful not to include those already given.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Question 2
(a)

Generally, this question was well answered, with many candidates able to correctly explain the
difference between security and privacy. A small number of candidates need to improve their
understanding of this topic. It is also not enough, at this level of study, to simply repeat the wording
of the question. It is not enough to say, 'security is keeping data secure'. There needs to be some
explanation of the meaning of ‘keeping data secure’.

(b)

Many candidates were able to name two non-physical methods for improving the security of
computer systems. Many of these candidates found describing the methods much more
challenging. Candidates need to improve their understanding of this topic. An example of a good
answer is, 'A Firewall checks all the incoming and outgoing network traffic and blocks any signals
that do not meet pre-determined requirements. It can also keep a log of the traffic in and out'.

(c) (i)

Many candidates were able to describe how each byte would have horizontal parity and that the
parity byte would also have vertical parity. Explaining how the parity block is used to check for
incorrect parity after transmission was more challenging. A number of responses gave great detail
about odd and even parity without answering the question.

(ii)

The majority of candidates understood that there needed to be an even number of incorrect bits.

(d)

The majority of candidates answered this question well. There were some excellent explanations of
how Frankie could act in the best interests of his client. Some candidates need to understand that
the question gave a specific context and that answers needed to refer to the context given.

(e)

Many candidates were able to explain that a compiler produces an executable file. Fewer
candidates were able to correctly give any further explanations. Many answers described how a
compiler operates rather than explaining why it would be used when the program was complete.
There was some confusion between the use of a compiler and the use of an interpreter. A number
of responses incorrectly stated that it was faster to run the compiler rather than that the executable
file would probably run faster than interpreting the source code.

Question 3
(a) (i)
(ii)

Many candidates found this part question challenging and need to improve their understanding of
what is meant by a data dictionary.
There were a small number of very good answers to this question and most candidates understood
that a query processor would resolve queries. A significant number of candidates were quite vague
in their reference to searching for data and displaying results. Many candidates found describing
the purpose of a query processor to be quite challenging.

(b)

Some candidates provided good descriptions of the primary and foreign keys; the description of
their forming a relationship was sometimes rather vague. There was considerable confusion for
some candidates between tables and databases, with the word database frequently being
incorrectly used to refer to a table, for example, the primary key in one database links to the foreign
key in another database.

(c)

Almost all candidates could correctly draw the one to many relationships between DEPARTMENT
and EMPLOYEE_DATA and between DEPARTMENT and DEPARTMENT_MANAGER. The most common
incorrect relationship was the one to one relationship between DEPARTMENT_MANAGER and
EMPLOYEE_DATA.

(d)

Almost all candidates could correctly give three reasons why the database was normalised.

(e) (i)

There were many correct answers to this question. Some candidates need to read the question
carefully. The question asked for the statement to create the database. The most common
incorrect answer was a statement to create a table EMPLOYEES.

(ii)

There were some excellent answers to this question. Many candidates provided completely correct
responses. The most common error was defining the Gender field to be of data type Boolean,

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
when the data given in the question is text. Some candidates need to improve their understanding
of basic SQL programming.
(iii)

The most common reasons for error on this question was the omission of quotation marks around
Finance and Female and not correctly joining the two tables. Some candidates need to improve
their understanding of basic SQL programming.

Question 4
(a)

The majority of candidates correctly described what happened when the two instructions were run.

(b)

The majority of candidates correctly identifying the group to which each instruction belonged to.

(c) (i)

Many candidates were able to correctly give an example of a hardware interrupt. The most
common answer was 'printer out of paper'. A number of candidates found giving an example of a
software interrupt more challenging. There were some good response, for example, 'division by
zero'.

(ii)

There were a small number of very good answers to this question. The majority of candidates
found it more challenging. Almost all candidates could explain that the processor needed to detect
any interrupts and that interrupts were handled by the Interrupt Service Routine (ISR). Many
candidates found any further description more difficult. There was some confusion between the ISR
and an ISP (Internet Service Provider) and a small number of candidates described the FetchExecute (FE) cycle with no reference to interrupts.

Question 5
(a)

The majority of candidates correctly identified the minimum number of bits required for the
maximum number of colours. The most common errors were joining 2 colours to 2 bits and 256
colours to 9 bits.

(b) (i)

There were a few correct answers to this question. Many candidates need to understand that
repeating the information given in the question is insufficient for credit at this level of study. It is not
enough to say that 40fps means 40 frames per second.

(ii)

There were a number of good answers to this question. Many candidates need to improve their
understanding of interlaced and progressive encoding. The question begins with, 'Describe two
differences'. Some candidates need to understand that in order to answer this question each
description of a difference needs to refer to both interlaced encoding and progressive encoding. An
example of a good response is, 'In progressive encoding the frames are not divided into fields. In
interlaced encoding each frame is divided into two fields, one contains the data for the odd
numbered rows and one contains the data for the even numbered rows'.

(c)

A minority of candidates provided a good response to this question. Many candidates need to
understand that repeating the information given in the question is insufficient for credit at this level
of study. It is not enough to say that a sampling rate of 88.2kHz means that samples are taken at
88.2kHz or that a sampling resolution of 32 bits means that the samples have a resolution of 32
bits. Further description of sampling rate and sampling resolution is needed.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/21
Written Paper

Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and need to be able to apply them to the scenarios presented to them to access the full range of
marks.
This is a technical subject and makes use of many technical words and phrases. These have specific,
defined meanings and candidates should ensure that they use these correctly. It is also important that
candidates writing program code use the correct syntax for their chosen language.
The understanding of fundamental programming concepts is essential. Examples of confusion include the
difference between a literal and an identifier and the difference between OUTPUT and RETURN.
Candidates should read each question carefully before attempting to answer it. Questions may address
individual topics in a number of different ways.
Candidates should attempt all questions and should avoid leaving blank responses. They should ensure their
work is set out clearly, particularly where tables are used.
General comments
There were some excellent programming solutions. A significant number of candidates demonstrated skill
levels that suggested they had little programming experience.
Candidates who offer solutions using Python needed to take care to maintain the correct indentation, as this
is key to defining the program structure.
Comments on specific questions
Question 1
(a) (i)

(ii)

Many candidates gained full credit for correct constructs. The pseudocode examples were of a
mixed standard. The most popular responses gave some good examples of iteration and selection.
Some candidates did not give any response for the pseudocode examples.
Many candidates gave the correct response for the first pseudocode statement. Mixed responses
were seen for the other statements.
Many responses identified the two WRITEFILE statements as Input rather than Output and the
READFILE statement as Output instead of Input.

(b) (i)

(ii)

Many candidates answered this question well and gained at least partial credit. Candidates needed
to have quotes around a string to clearly identify that the value is a string and not a variable, for
example, ‘tripod’ here is a literal string value whereas tripod would be a variable. Credit could not
be awarded where candidates did not include the quotes.
Many candidates answered this question fully correctly. The second variable Version gave an
example value of 'C'. Some candidates incorrectly gave this data type as a string rather than a
character.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
(c)

Many candidates are familiar with the terms black-box and white-box testing and some good
responses were seen. Other candidates often described black-box testing which did not answer the
question and some confused the two types of testing. There were some incorrect responses that
stated “random data would be used as the code is unknown”. The input data must be known to be
able to calculate the expected output.

Question 2
(a)

There were many good responses which correctly identified a Conditional loop and gave a clear
explanation. Some responses were too vague, stating a Boolean loop or a True and False loop.
Stronger candidates used the correct terminology. Credit was given for those stating a While or
Repeat Until loop.

(b)

Many candidates correctly identified at least one feature of the program. Those that gave Input and
Output, or Variables and Constants as two separate responses only gained partial credit. Stronger
candidates were able to identify three different features.

(c)

Many candidates recognised the correct type of control structure. Candidates were awarded credit
for clearly describing the actions taken for each of the different values of x. Responses such as
“different actions taken depending on the value of x” were considered too vague for credit.

Question 3
(a)

Stronger candidates answered this question well using accurate pseudocode syntax. These
candidates often accurately initialised the two integer variables and correct output of a
concatenated message. Many candidates identified the need for a loop but sometimes this was
incorrectly formed. Candidates needed to use the correct symbol for assignment ← rather than the
= symbol. A number of candidates did not answer this question.

(b)

Stronger candidates were able to recognise the difference between a function call and a procedure
call. A function will always return a value to a variable whereas a procedure is simply called by
stating the procedure name followed by any parameters. The response expected here was a
procedure heading with three parameters and their data types. As the first two parameters needed
to maintain their values after the procedure was finished, they needed to be passed by reference.
Few candidates recognised the need for ByRef before the parameters AverageValue and
ZeroCount. The ArrayName was of data type Array. Many candidates gave this data type as
string.

Question 4
(a) (i)

A few candidates correctly traced this code, and answered fully correctly. Many candidates gained
credit for the Index column, recognising that the code would iterate twelve times, which was the
length of the string parameter. As in previous questions using characters and strings, quotes
needed to be included to distinguish between variables and literal values.

(ii)

Candidates gaining full credit in the previous question mainly recognised the effect of the function.
In addition, many of those achieving partial credit were able to recognise that the repeated space
characters were removed.

(iii)

A small number of candidates recognised the effect of initialising AfterSpace to TRUE and most of
these gained full credit. When AfterSpace is true, the selection statement
IF AfterSpace = TRUE would evaluate to true, then the IF NextChar <> Space would
evaluate to false, ignoring the next two lines of code which add the spaces at the front, therefore
not including them in the new string.
Many candidates incorrectly stated that it would have no effect on the outcome of Result.

(b)

A variety of incorrect declarations of a 2D Array were seen. Some candidates gave two separate
arrays, some used dimensions [4:500] and many based theirs using python type syntax [1:500]
[1:4]. Stronger candidates were able to write the correct pseudocode syntax.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Many candidates correctly used a nested FOR loop and gained credit for this but some forgot to
declare the extra variable needed for the inner loop. A few candidates assigned an empty string “”
to the array instead of the literal string ‘Empty’ as stated.
(c)

Only the strongest candidates were able to answer this question correctly. Many candidates gave
no response.

Question 5
(a)

Candidates need to recognise that responses such as ‘saves time’, ‘more efficient, ‘saves space’
are too vague. More detail is expected for credit at this level. Those candidates who gained credit
for this question most often referred to the fact that a built-in function is already written and tested
which reduces chances of error.

(b)

To gain credit for this question, candidates needed to be familiar with, and have experience of
writing pseudocode. Many candidates did not attempt this question. However, there were many
good solutions from candidates who were familiar with this. Most of these solutions recognised that
an array would be the best way to record random values selected in the range 1 to 50 and declared
an appropriate array. Some of these candidates then omitted the initialisation of the array which is
needed before the data in it can be processed.
The RAND function needed for this solution was given in the appendix. To ensure that the value
returned from RAND is between 1 and 50, the value returned needed to be incremented by 1 to
prevent zero being returned. Many candidates tried to avoid the problem by using RAND(51) but
this would include all values from 0 to 50 rather than 1 to 50. As this function returns a real number,
candidates needed to convert the return value to an integer. The INT function required was also
given in the appendix.
Stronger candidates understood that comparison statements must use the = symbol and not the
assignment ← symbol.

Question 6
(a)

This question was related to the scenario described in the start of the question and the responses
should have been related to this scenario. Many candidates did not achieve credit as they gave
general answers regarding the good practice of using program modules to construct a program.
For example:
modules can be split between programmers
modules can be re-used in other programs.
These responses were not relevant in this situation which required a small program consisting of
three modules.
As in Question 5(a), some responses needed more detail. Responses such as ‘easier to debug’
should instead have stated “Each module can be tested separately, which makes it easier to
identify any errors”.

(b)

This question required a programming solution. Candidates needed to have experience of writing
code in one of the three recommended languages to enable them to answer this type of question.
A few excellent responses were seen. A variety of solutions were given, mainly in Python,
especially in the method used to read the lines from the file. Some of these read all the lines from
the file into an array then extracted the elements from the array in blocks of three relating to the
three items of data. Credit was given to these different correct solutions.
Many of those candidates not achieving full credit needed to ensure that they used the correct
syntax when reading from a file in a loop. This question required the file to be read three times in
each iteration in order to extract the CD data relating to a single CD. Some candidates had one
read statement, which meant the loop would have to repeat three times in order to get all the data
relating to one CD.
Many candidates did not attempt this question or were unable to write any recognisable program
code.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/22
Written Paper

Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and need to be able to apply them to the scenarios presented to them to access the full range of
marks.
This is a technical subject and makes use of many technical words and phrases. These have specific,
defined meanings and candidates should ensure that they use these correctly. It is also important that
candidates writing program code use the correct syntax for their chosen language.
The understanding of fundamental programming concepts is essential. Examples of confusion include the
difference between a literal and an identifier and the difference between OUTPUT and RETURN.
Candidates should read each question carefully before attempting to answer it. Questions may address
individual topics in a number of different ways.
General comments
Candidates who offer solutions using Python need to take care to maintain the correct indentation, as this is
key to defining the program structure.
A significant number of candidates demonstrated skill levels suggesting they had little programming
experience.
Comments on specific questions
Question 1
(a) (i)
(ii)

The majority of candidates indicated a good understanding of the concept of an algorithm as a
sequence of steps. A frequent mistake was to refer to specific programming features.
Candidates responded well to the activity types. There were some mixed responses for the
pseudocode example. A common mistake was to give INPUT, followed by a prompt, but without a
variable name as in the following example:
INPUT "Enter a value"
A small but significant number of responses described the activity instead of giving an example. As
stated in the Key Messages above, candidates need to read the question carefully to ensure they
understand it before making their response.

(b) (i)

(ii)

Most candidates gained some credit on this question. A common fault was to omit the quotation
marks for the final answer, which are needed to differentiate between a string and an identifier
name.
This type of question has appeared relatively frequently, and virtually all candidates were able to
achieve high marks. Common mistakes included STRING instead of DATE, and STRING instead of
CHAR.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Question 2
(a) (i)

The question used the key word ‘algorithm’. The majority of responses gave answers that
incorrectly related to the code itself.

(ii)

Correct responses usually referred to reusable code and the ability to assign modules to different
programmers or teams. A significant number of candidates gave answers that related to library
routines rather than to subroutines in general.
A number of candidates used a response, such as "Easier to..." that only vaguely related to the
question.

(iii)

Most candidates correctly identified the module as a function and were able to give a correct
justification. A relatively common mistake was to state that DoSomething() was a procedure
because it "performed a task".

(b)

At this level, candidates were required to use the correct technical terms when describing the
activities. For example, just ‘code’ is too vague when referring to the source code. Additionally,
candidates should appreciate that simply stating, "the Editor is used to edit" is not sufficient at this
level.
Candidates who used the correct technical terms usually gained full credit. Translating source code
to object code was a frequent and accurate response for Translator. A response such as
"converting code to a language understandable by the computer" is too vague at this level of
assessment.
A small number of responses suggested that low-level code would be translated into high-level.
Those achieving one mark often gained it for their response given for Debugger, with most
identifying its use during program testing to detect errors.

(c)

Most candidates identified the correct control structure. Few responses adequately described the
function of the code. In many cases, responses simply contained copies of the statements from the
question rather than descriptions of their actions.
Many candidates correctly stated that the code would only carry out the actions when Result is
less than 20. Few mentioned the parameters being passed. Candidates often attempted to
describe the terminating condition (i.e. Result >= 20) and it was common in these cases for the
"or equals" part of the comparison to be omitted.

Question 3
(a) (i)

Many candidates correctly used parameters A and B. A significant number of responses suggested
a function rather than a procedure.
Only a small number of candidates recognised that parameter C was passed by reference.
A small but significant number of candidates were not able to answer this question.

(ii)
(b)

Many candidates gained full credit on this question part. Candidates appeared to be much more
familiar with functions than they are with procedures.
‘Iteration’ and ‘Selection’ were the most popular responses. Some responses lost marks for
incorrect terminology such as stating that the structure chart contained IF statements.
A small number of responses repeated the features given in the question.

Question 4
(a) (i)

Almost all candidates gained credit for the first column, and most also gave the correct characters
for the second column. Many candidates did not gain credit for the second column due to not
enclosing values in the column in quotation marks to identify them as characters. The third and

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
fourth columns were often correct, although many contained an erroneous leading zero. A mixture
of responses was seen for the fourth column. The most common mistake was not restarting the
string after each "number”, and therefore ending up with a copy of the original parameter string.
(ii)

(b) (i)

There were a significant number of correct responses to this question part. Many other candidates
gained this mark if they had correctly carried forward the final value for the variable Selected from
their trace table.
Those candidates that gained credit, usually identified that there was no space at the end of the
string. Fewer went on to explain that this meant that the final comparison would not be made.
A large number of weaker responses referred to either logical errors in the code, the use of invalid
data types or incorrect type conversion. A common mistake was to attempt to add one to the loop
count in an attempt to check the last number. Some responses simply repeated the phrase from
the question, "the function did not return the largest value".
A number of responses gave pseudocode rather than a required explanation.

(ii)

There were some very good responses that stated another selection statement should be added
before the final value is returned, to compare Selected with the value of string NewValue.
Many candidates gained credit by stating that a space should be added to the end of the string.
Often they did not specify where in the algorithm this should be done. A number of responses
suggested that the function should be called with a different value string, which did not represent a
change to the algorithm as the question required.
Many weaker responses simply suggested the use of white-box or black-box testing.

Question 5
(a)

Many responses gained partial credit, usually for opening the file and looping until the End of File.
Answers often referred to the use of a counter variable. Few stated that it should be initialised to
zero.
Many solutions included incrementing a counter within a loop. Reading a line from the file was
frequently omitted.
Some solutions suggested the use of an existing function to perform the counting.
Response content varied widely, from simple descriptive prose to pseudocode or program code.

(b)

A small number of candidates provided a full correct response. The majority of candidates
recognised the need to open the file, perform a count-controlled loop, and finally make some form
of output.
Many candidates correctly opened the file for reading. They often did not close the file.
A common mistake was to attempt to use EOF() and CLOSEFILE() without providing a file name,
and as in part 5 (a) many solutions did not include reading the file or did not include a variable to
hold the line read.
Although the question asked for a procedure, many solutions gave a function header. The
requirements specified in the three bullets were often not satisfied, particularly regarding the
provision of the file name as a parameter. Many solutions used a literal file name string in the
procedure, in some cases, despite including a parameter in the module header.

Question 6
(a)

Most responses included a function header and some form of loop. Many candidates gained some
credit for declaring the local variables and for the prompt and input. Some responses used the

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
correct code for the final concatenation and return. Some candidates incorrectly used OUTPUT
rather than RETURN.
Fewer candidates provided correct solutions for the tests in the loop. Many solutions did not include
code to check the length.
Solutions often correctly included simple comparisons statements such as:
FirstChar >= 'A' AND FirstChar <= 'A
In some cases, the comparison operators and/or the logical operator were incorrect. Many
solutions converted the character to its ASCII code value, making a more complex solution and
often the values used for comparison were not the correct ones. Many candidates attempted to use
functions which convert to upper case such as Python's upper(), resulting in many incorrect
comparisons such as:
if ThisChar == upper(ThisChar):
Few solutions checked the last four characters correctly. Many solutions included an incorrect
comparison such as:
LastChars >= "0000" AND LastChars <= "9999"
Many good responses included loops that extracted each individual character (four right
characters) and tested each one individually. Many responses correctly used substring functions
from the candidate's chosen language. In a significant number of cases, functions were from
another language was used, for example, the attempted use of MID() in a Python solution.
Many answers seemed to suggest a failure to understand the key similarities and differences
between subroutines and functions. For a good solution for parts 6(a) and 6(b), it was essential
that candidates appreciated the detail given in the table in the question rubric for the three
subroutines given.
The contents of many weaker responses bore little relation to the question and some candidates
appeared to mix up the requirement of this question with that of part 6 (b).
(b)

Most good responses recognised the need for a procedure header and some form of loop.
A prompt and input was included in many responses. Some responses did not first check on the
return value from WriteInfo().
A minority of candidates recognised that GetInfo() and WriteInfo()were functions. The
following construct was widely seen:
Call GetInfo()
Candidates appeared to be much more familiar with functions than they are with procedures.
Many solutions used native INPUT statements, sometimes in addition to GetInfo().
Many correctly recognised the need to call function WriteInfo() in both cases. Often only a
single parameter was passed.
A significant number of responses included native file handling operations, which were not
required.
Many responses indicate a lack of programming experience and solutions that combined program
code and pseudocode were common. A small number of very weak responses did not include any
recognisable program code.

(c)

The majority of candidates gained almost full credit for this question.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Some responses suggested that candidates do not understand what is meant by the ‘module
declaration’, evidenced by the fact that many of these responses attempted to include all the code
for the function.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers

COMPUTER SCIENCE
Paper 9608/23
Written Paper

Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and need to be able to apply them to the scenarios presented to them to access the full range of
marks.
This is a technical subject and makes use of many technical words and phrases. These have specific,
defined meanings. It is important that candidates use these correctly.
It is important that candidates writing program code use the correct syntax for their chosen language.
The understanding of fundamental programming concepts is essential. Examples include the difference
between a literal and an identifier and the difference between OUTPUT and RETURN.
Candidates need to read each question carefully before attempting to answer it. Questions may address
topics in a number of different ways and it is necessary to apply knowledge in a way that meets the
requirement.
General comments
The majority of program code answers used Visual Basic or Python. These were some excellent solutions in
both languages. Candidates who offer solutions using Python need to take care to maintain the correct
indentation, as this is key to defining the program structure. A significant number of candidates demonstrated
skill levels that suggested they had little programming experience.
If a candidates crosses out an answer, any new answers must be written clearly, so that the text may be
read easily and the correct mark awarded.
Many candidates make use of blank pages for rough work when preparing their final answer. In these cases,
it is extremely helpful if this text is crossed out.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Comments on specific questions
Question 1
(a)

Many candidates gained full credit for this question. Correct symbols were used in most cases.
Some candidates moved the loop test to the end of the conditional statements and where this was
functionally equivalent the mark was awarded. In some cases, this resulted in an incorrect number
of iterations. A common mistake was to write the pseudocode for a FOR loop in a single process
box.
Weaker responses demonstrated basic errors such as incomplete flow lines or decision boxes with
only a single output.

(b) (i)

Most candidates gained between two and four marks, with many achieving full credit. The most
common mistake was to omit the quotation marks around the string "postroom".

(ii) Most candidates were able to achieve high marks. A common mistake was to give STRING instead
of CHARACTER for Version.
Question 2
(a)

Most responses recognised the need for a loop of 100 iterations.
Answers often referred to the use of a counter variable. A minority of candidates stated that it
should be initialised to zero.
Many vague descriptions were seen, such as ‘the count will add up all the elements’, which were
too imprecise to gain credit.
Response content varied widely, from simple descriptive prose to pseudocode or program code.

(b)

Many candidates gained one or two marks for the first two mark points. The third mark point for the
objective of the process was rarely awarded.
References to the breaking down of a program did not gain a mark.

(c)

The responses for the Mode were given correctly in many cases, and most of these candidates
then went on to give a good description.
A small but significant number of responses incorrectly suggested Write mode.
A number of responses suggested that the question had not been understood. Among these were
answers that described different file types or user permissions.

(d)

Most responses gained a mark for an example of a feature of the Editor and many also gained a
second mark for describing a debugger feature or for stating that a debugger is used to find errors.
The mark for describing the ‘Translate’ operation was given less often.
Responses were sometimes vague, often simply stating ‘code is translated to a language
understood by computer’ which is too vague at this level of assessment.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Question 3
(a)

Many good responses were seen, often gaining 5 marks.
Many answers correctly showed the repetition arrow and module hierarchy was correct in virtually
all cases.
The most common mistake was to not use a double-headed arrow to indicate the parameter that
was passed by reference.

(b)

The phrase ‘transferrable skills’ was only occasionally seen; most marks were gained for examples
of program features that Albert could be expected to recognise.
Some answers simply listed features of a program with no explanation. These did not address the
question and gained no credit.
The explanation that high-level languages were ‘a lot like English’ appeared in many answers.

Question 4
(a)

Most candidates recognised the need for an array together with a count-controlled loop containing
statements to assign values to each element. Many did not include the output prompt and often the
student number was omitted. Many responses did not include declaration statements for either the
array or the count variable.

(b)

Many correct answers usually addressed the first mark point, describing an advantage based on
the reduced amount of code. A smaller number of responses correctly described an advantage
from having a single identifier name.
Incorrect answers usually mentioned reduced storage space or faster execution.

Question 5
(a) (i)

Generally well answered, with most candidates addressing ‘every path’ in some way. Those losing
the mark usually gave vague generalisations such as ‘to make sure it works’.

(ii) Many correct answers seen. Incorrect answers often referred to testing methods using an IDE such
as variable watch window.
A small number of answers bore little relevance to the question.
(b) (i)

A significant number of responses gave an incorrect test string; usually containing three words,
suggesting that candidates did not read the question carefully. As the mark points were separate,
many of these were able to gain a subsequent mark for a correct explanation.

(ii) The marks for the correct outputs were given in most cases. Many explanations were vague. Some
did not describe how the algorithm should be changed, describing instead why the output was
incorrect or stating how the input string should be changed.
Question 6
(a)

A wide range of responses was seen. Most included a function header and a loop together with
some attempt at file handling. Several Python solutions read the entire file into a list and
subsequently processed the lines from there.
A challenging part of the solution for many candidates appeared to be calculating the correct
number of characters from the file data to compare with the search string, and few gained this mark
point. The relatively simple approach of taking the length of the search string was often shunned in
favour of performing a substring operation on the line read from the file. Various native substring
functions were seen. In cases where an index value was obtained this was often not transferred
correctly to the comparison operation. Several more elementary solutions were seen, based on
extracting the name one character at a time up to the ‘*’ character. Credit was given for these
working solutions.

© 2019

Cambridge International Advanced Subsidiary and Advanced Level
www.dynamicpapers.com
9608 Computer Science June 2019
Principal Examiner Report for Teachers
Few gained full mark, although some excellent solutions were seen. Marks were regularly lost for
incorrect syntax in the chosen language or from providing a mixture of pseudocode and program
code. For example, VB solutions often included RETURN String in the function header rather
than AS String.
Many answers seemed to suggest a failure to understand the key similarities and differences
between subroutines and functions. For a good attempt at parts 6(a) and 6(b), it was essential that
candidates appreciated the detail given in the table in

Advertisement