Computer Science (9608) · Oct/Nov 2019 · Examiner report
Cambridge Computer Science (9608) examiner report, Oct/Nov 2019 — 9608/O/N/19, file 9608_w19_er.pdf.
Text of this paper
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
COMPUTER SCIENCE
Paper 9608/11
Written Paper
Key messages
It is essential that candidates indicate clearly to the examiner when an answer continues either on an
additional sheet, or on a blank space within the question paper.
This is a technical subject and candidates should use the technical language associated with the subject in
an appropriate way. There is considerable misuse of terminology especially between words such as record
and file, or memory and storage.
Candidates must read each question carefully and use the context provided when answering the questions.
A question that begins with 'Describe' requires a different type of answer from one that begins with 'Explain'.
General comments
Candidates generally performed well on questions relating to logic expressions, number conversion, and
compression techniques. Many candidates found the database question and the questions about hardware
and systems more challenging.
Comments on specific questions
Question 1
(a)
Candidates generally did well answering this question. The question asked candidates to draw one
line to match each register to its description. There were many answers with more than one line
from a register. Some candidates need to be aware of the difference between the Memory Address
Register (MAR) and the Program Counter (PC) and the difference between the MAR and the
Memory Data Register (MDR).
(b) (i)
Many candidates were able to correctly name two other buses that exist within a computer, but
they found it more challenging when writing the purpose of the buses. Responses such as ‘a bus is
bi-directional’ are a description rather than its purpose. Some candidates need to understand that
the control bus carries signals, not data, or information. An example of a good answer for the
purpose is ‘The data bus transfers data to and from memory and the processor. The control bus
carries control signals between the control unit and other components’.
(ii)
The majority of candidates need to understand that increasing the width of the address bus from 16
bits to 32 bits does not mean that data can be transmitted faster or that more addresses can be
transmitted at the same time. It means that the number of directly addressable memory locations is
significantly increased.
(c)
Candidates answered parts of this question well. Many candidates were able to name one of the
groups for the processor's instruction set. Identifying a macro and a directive proved to be more
challenging, with some confusion between the meanings of the two terms.
Question 2
(a) (i)
Almost all candidates correctly identified two other appropriate input devices. By far the most
popular choices were a microphone and either a scanner or a joystick.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(ii)
Almost all candidates were able to identify two other appropriate output devices. By far the most
popular choices were a printer and speakers.
(iii)
Almost all candidates correctly chose either a Magnetic Hard Disk or Solid State Disk.
(iv)
There were a small number of excellent answers to this question. Many candidates found it
challenging to describe the internal operation of a tracker ball mouse. A common incorrect
statement was that the discs were perpendicular to each other, rather than that the rollers that spin
the discs were perpendicular to each other.
(b)
Many candidates were able to use an example to describe the provision of a user interface. Most
candidates found describing process management more challenging. There was some confusion
between a process and a program or application. An example of a good description of process
management is ‘Process management schedules the allocation of CPU time to the different
processes. It also allocates the resources that each process needs, such as virtual memory and
resolves any conflicts when two or more processes require access to the same resource.
(c)
Some candidates found describing the utility programs quite challenging. Many candidates gave
descriptions such as ‘a virus checker checks for a virus’ or ‘backup software backs up the data’.
Candidates must understand that just repeating the words given in the question is insufficient.
Better statements are ‘A virus checker regularly scans the files on a computer system for any
malicious software’ or ‘backup software automatically creates a copy of the data on the disk.
(d)
This question asked candidates to describe how JavaScript is translated using an interpreter.
There was considerable confusion between JavaScript and Java, with many candidates describing
the two-stage translation of Java into machine code rather than the more straightforward
interpretation of the JavaScript code. Many candidates need to improve their understanding of the
differences between the two languages.
Question 3
(a)
Most candidates answered this question well. The single most common error was the reversal of
the last two gates.
(b)
The majority of candidates were able to correctly complete the truth table for the given logic
expression.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
Question 4
(a) (i)
(ii)
There was considerable confusion when answering this question between the client computers
used to access the bank's server and the customers of the bank. Many candidates need to
understand that it is necessary to differentiate between the client computer (or the browser on the
client computer) and the user who may be a customer of the bank.
A number of candidates provided correct answers to this part question. The most popular
applications were online gaming and music streaming. A significant number of candidates need to
understand that no marks are awarded for the use of brand names. A popular incorrect answer was
‘Facebook’.
(b)
The majority of candidates need to improve their understanding of why a web application such as
that of a bank would use server-side scripting. A small number of candidates mentioned the
security aspect, but the majority of responses were vague. An example of a good response is ‘All
the personal information of the customers is held on the bank's server. By using server-side
scripting, the customer using the client computer does not have access to all the data, which keeps
the data more secure’.
(c) (i)
The majority of candidates were able to give two suitable benefits of changing over to fibre optic
cables.
(ii)
(d) (i)
Candidates found it challenging to give two drawbacks of installing fibre optic cable. The question
asked for the drawbacks of upgrading to fibre optic from copper cables, so an answer that just
stated ‘expensive’ is not enough. There needs to be a comparison with the existing arrangement. A
better answer is ‘Fibre optic cables are more expensive to install and maintain than copper cables’.
Many candidates found it challenging to write the correct attributes for all three tables. The most
common cause of error in the CUSTOMER table was the omission of any sort of primary key. The
stem of the question stated that the database was normalised, and none of the three attributes
given would be unique, even in combination. The attributes for the ACCOUNT_TYPE table were the
most correct answers given. The most frequent cause of error in the CUSTOMER_ACCOUNT table
was the omission of any foreign keys linking this table to the other two.
(ii)
A significant number of candidates found identification of the three primary keys challenging. A
frequent incorrect answer for the CUSTOMER_ACCOUNT table was a compound key created from
the primary keys of the other two tables, but this would not be unique if a customer had more than
one account of the same type. The question also stated that the CUSTOMER_ACCOUNT table had its
own ID number.
(iii)
Most candidates were able to identify a correct foreign key in one of their tables.
(iv)
The majority of candidates were able to correctly identify one or more of the terms in the table. The
one most commonly incorrect was the ‘table’; the one most likely to be correctly identified was the
‘attribute’. Several candidates wrote ‘field’, even though it had been included in the definition given.
Question 5
(a) (i)
(ii)
Many candidates need to improve their understanding of what is meant by colour depth. Common
incorrect answers were 8 and 3.
The majority of candidates were able to convert the binary value into denary.
(b)
A minority of candidates provided correct answers to this question. Some candidates were able to
convert the negative denary number to binary. The most common mistake was to convert +194 to
binary and then to forget to convert the positive binary value to a negative one.
(c) (i)
The majority of candidates were able to convert the binary coded decimal (BCD) value into denary.
The most frequently seen incorrect answer was 105, where candidates had converted the binary
value to a denary number rather than BCD.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(ii)
Almost all candidates were able to identify one practical use of BCD. The most popular correct
answer was in a digital clock.
(d)
Most candidates understood that each character in a character set is represented by a denary,
hexadecimal, or binary value. Some candidates need to understand that these values are unique to
each character in each character set.
(e) (i)
The majority of candidates were able to justify the use of lossless compression for the program file.
(ii)
Many candidates found it challenging to justify either the use of lossy or lossless compression for
the photograph in this part question. Many of the answers described how the chosen compression
method would reduce the file size rather than justifying why the compression method should be
used in this situation.
(iii)
Many candidates found it challenging to justify either the use of lossy or lossless compression for
the video clip in this part question. Many of the answers described how the chosen compression
method would reduce the file size rather than justifying why the chosen compression method
should be used in this situation.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
COMPUTER SCIENCE
Paper 9608/12
Written Paper
Key messages
It is essential that candidates indicate clearly to the examiner when an answer continues either on an
additional sheet, or on a blank space within the question paper.
This is a technical subject and candidates should use the technical language associated with the subject in
an appropriate way. There is considerable misuse of terminology especially between words such as record
and file, or memory and storage.
Candidates must read each question carefully and use the context provided when answering the questions.
A question that begins with 'Describe' requires a different type of answer from one that begins with 'Explain'.
General comments
The questions about logic expressions and the database question were well done. Many candidates found
the questions about video encoding and compression more challenging.
Comments on specific questions
Question 1
(a)
The majority of candidates were able to match the type of software to the correct description. A small
number of candidates need to improve their understanding of the difference between a library
program and a utility program.
(b)
Many candidates were able to state that this utility software checks the disk for errors and
inconsistencies and marks bad sectors as unusable. There was some confusion with checking for
errors and checking for viruses. Some candidates need to understand that restoring data from a
backup is a different process from repairing the data on a damaged disk. Responses that simply reiterate the question such as ‘disk repair software repairs a disk’ are far too vague.
Question 2
(a)
There were many correct answers to this question. Some candidates correctly used a single NOR
gate to represent NOT (A OR B). Some candidates need to improve their understanding of the
XOR gate.
(b)
The majority of candidates answered this question well. As explained above, some candidates
need to improve their understanding of operation of the XOR gate.
Question 3
(a)
A minority of candidates provided a completely correct answer to this question. A number of
candidates recognised value1 as a JavaScript identifier, but frequently candidates took the second
identifier from the lines of HTML code rather than the JavaScript code. Some candidates need to
improve their understanding of the difference between HTML and JavaScript. Some candidates
also need to understand that JavaScript identifiers are case sensitive, so ‘Multiply’ is a different
identifier from ‘multiply’.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(b)
A minority of candidates provided correct answers to this part question. The answer seen most
often was 81 that is 9 * 9 where candidates had overlooked the incrementation of the variable
value1 on line 14 before the multiplication.
(c)
Candidates need to improve their understanding of simple JavaScript code. A minority of
candidates understood that the statement value1++ incremented the value of the variable
value1.
(d)
Some candidates correctly recognised that the variable would no longer be converted to an integer.
A minority of candidates also understood that adding two string values would result in
concatenation rather than arithmetic addition. An example answer is ‘The variable value1 will not
be converted to an integer, it will be a string data type, and therefore instead of adding the two
values they will be concatenated. For example if value1 is 6, the output would be 66.’
Question 4
(a) (i)
(ii)
(b) (i)
Many candidates need to improve their understanding of the features of a relational database. An
example of a good answer is ‘In a relational database, multiple tables are linked together which
reduces data redundancy and improves data integrity. Different users can be given different views
of the data, so they do not see confidential information and data privacy is maintained’.
The majority of candidates were able to complete the given statements.
The majority of candidates were able to complete the E-R diagram.
(ii)
A minority of candidates answered this question well. Many candidates need to improve their
understanding of the SQL CREATE DATABASE command.
(iii)
A minority of candidates answered this question well. Many candidates also need to improve their
understanding of the SQL CREATE TABLE command.
(iv)
There were more correct answers to this part question. Some candidates need to improve their
understanding of Data Manipulation Language (DML) statements in SQL, particularly the order in
which the statements are used.
Question 5
(a)
Many candidates were able to state that encryption would be one way of preventing the installation
of illegal copies of the software. Fewer candidates were able to correctly state a second method.
Some candidates need to understand that copyrighting software does not actually prevent the
installation of illegal copies of software.
(b)
This question was generally answered well by most candidates. Many candidates stated that the
way to distribute the software would be by issuing a compiled version, or executable file.
(c) (i)
Some candidates should understand that using a commercial licence does not prevent further
copies being made.
(ii)
The majority of candidates were able to name two other correct types of software licence.
Question 6
(a) (i)
(ii)
(b) (i)
Most candidates were able to identify whether the devices were used for input, for output or for
both.
The majority of candidates could identify the correct sequence of events.
Many candidates provided vague answers to this question. A typical answer was ‘to store data’.
Candidates need to understand that data is also stored in primary memory, so an answer like this
is not precise enough at this level of study.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(ii)
A significant number of candidates were able to describe solid-state memory as non-volatile
storage with no mechanical or moving parts. Candidates need to improve their understanding of
the use of solid-state memory as internal secondary storage.
(c)
The majority of candidates were able to state the correct purpose of both RAM and ROM.
(d) (i)
Many candidates found this question challenging. Candidates should understand that when
describing how an image or a sound is encoded, it is not enough to say ‘use an analogue to digital
converter’. An example answer is ‘The images are stored in bitmap format and are made up of a
number of pixels. Each pixel is of one single colour and each colour is encoded by a unique binary
number’.
(ii)
Many candidates found this question challenging. There was some confusion between the two
terms. Candidates need to improve their understanding of interlaced and progressive encoding of
videos.
(e) (i)
The question asked how bit-streaming is used and many candidates need to understand the way
to answer this question. Frequent incorrect answers described live or on-demand bit streaming
instead of describing how bit streaming works. An example answer is ‘Bit streaming is the
transmission of the video as a sequence of bits. The video would be compressed and uploaded to
a media or web server. On download the server sends the data to a buffer on the receiving
computer’.
(ii)
The majority of candidates were able to identify that the video would be streamed on-demand,
because it was pre-recorded and because the colleagues could then watch at a time convenient to
themselves.
(iii)
Many candidates found it challenging. Some candidates need to be aware of the requirement for
precision when describing the terms. It is not enough to say, for example, that ‘temporal
redundancy is when pixels have the same value in two different frames’. It must be clear that the
pixels that have the same value are in the same location in consecutive frames. An example
answer is ‘temporal redundancy is when pixels in the same location have the same value in two or
more consecutive frames’.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
COMPUTER SCIENCE
Paper 9608/13
Written Paper
Key messages
It is essential that candidates indicate clearly to the examiner when an answer continues either on an
additional sheet, or on a blank space within the question paper.
This is a technical subject and candidates should use the technical language associated with the subject in
an appropriate way. There is considerable misuse of terminology especially between words such as record
and file, or memory and storage.
Candidates must read each question carefully and use the context provided when answering the questions.
A question that begins with 'Describe' requires a different type of answer from one that begins with 'Explain'.
General comments
The questions about logic expressions and the database question were well done. Many candidates found
the questions about video encoding and compression more challenging.
Comments on specific questions
Question 1
(a) (i)
There were many correct answers to this part question, with a variety of appropriate input devices
identified. Some candidates must ensure that they read the question carefully. A touchscreen was
given in the question and candidates needed to identify other suitable input devices.
(ii)
There were many correct answers to this part question, with a variety of appropriate output devices
identified. Some candidates must ensure that they read the question carefully. A touchscreen was
given in the question and candidates needed to identify other suitable output devices.
(iii)
Almost all candidates correctly identified the statements needed in the first and last steps in the
sequence. A significant number of candidates correctly completed the whole sequence. There was
some confusion between the statements needed in steps 3 and 4. Some candidates need to
understand that the change in the electrostatic field happens after the charge is drawn to the point
of contact.
(b) (i)
(ii)
(c) (i)
Many candidates found this question challenging. Candidates need to provide answers in the
context of the self-checkout machine. Some candidates need to understand that individual selfcheckout machines would not hold the database of item barcodes, prices etc. These data are held
on the supermarket's server. Only the data pertaining to the current customer would be stored
locally. An example of a good answer to this question is ‘The self-checkout machine needs primary
storage in order to store the operating software for the machine and also to store the details of the
purchases for the current customer’.
The majority of candidates were able to identify whether each statement applied to SRAM or
DRAM.
There were a small number of good answers to this question, many of them in the correct context.
Some candidates must understand that a client in a client-server network is not the user. An
example of a good answer is ‘In a supermarket the self-checkout machine is the client. All the data
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
about the products such as their price is stored in a database on the supermarket's server. When a
customer scans a barcode on a product, the client (self-checkout machine) requests the server to
look up the details of the item corresponding to that barcode. The server will query its database
and return the description and the price of the item to the self-checkout machine which can then
display these details to the customer’.
(ii)
Most candidates were able to identify two correct methods to minimise the security risk to the data
on the server. The most popular correct answers were ‘encryption’ and the use of a ‘firewall’. Many
candidates found it more challenging to identify one method to protect the integrity of the data.
Frequent incorrect answers were a third method of enhancing security rather than a method for
maintaining integrity. There was also some confusion between validation and verification of data.
Question 2
(a)
Many candidates found this question challenging. Candidates need to improve their understanding
of the process management and memory management tasks carried out by an operating system.
There was considerable confusion between memory management and the management of
secondary storage, with incorrect references to files and directories.
(b) (i)
There were some very good answers to this question. Some candidates need to understand that
responses that simply re-iterate the question such as ‘sampling means taking samples of the
sound’ are too vague for this level of study.
(ii)
Most candidates were able to give one correct answer to this question, either the effect of the
change on the recording or the effect on the file. The question asked for both.
(iii)
The majority of candidates were able to describe two features of sound editing software other than
delete and copy and paste.
Question 3
(a) (i)
Many candidates found it challenging to correctly write the attributes for all three tables. The most
common cause of error in the CUSTOMER table was the omission of any sort of primary key. The
stem of the question stated that the database was normalised, and none of the three attributes
given would be unique, even in combination. The attributes of the ROOM table were the most likely
to be given correctly, although RoomID was frequently included instead of RoomNumber. The most
frequent cause of error in the BOOKING table was the omission of any foreign keys linking this table
to the other two.
(ii)
A significant number of candidates found the identification of the three primary keys quite
challenging. A frequent incorrect answer for the BOOKING table was a compound key created from
the primary keys of the other two tables, but this would not be unique if a customer had bookings
for the same room at different times. The question also stated that the BOOKING table had its own
ID number.
(iii)
Most candidates were able to identify a foreign key in one of their tables.
(b)
Many candidates need to improve their understanding of these DBMS tools. There were more
correct responses for the Query Processor than the Developer Interface. Examples of good
answers are ‘A developer interface allows user-friendly forms and reports to be created. An
example of a report might be to show all the rooms available on a certain date. A query processor
allows a user to create queries to select data based on certain criteria, which might then be
displayed on a form. An example of a query might be to list all the customers with more than one
booking on a particular date’.
(c)
Many candidates were able to correctly identify whether each statement was a Data Definition
Language (DDL) statement or a Data Manipulation Language (DML) statement. The statement
incorrectly identified most frequently was the third one, ALTER TABLE ADD PRIMARY KEY
(FilmID).
Question 4
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(a)
There were a number of correct answers to this binary to denary conversion question. A frequent
error was in the arithmetic addition of the powers of 2. Another common incorrect answer was 5 +
15 + 12 = 32, where candidates had added together the binary conversions of each group of four
bits.
(b)
Many candidates found the conversion of a negative denary number into binary quite challenging.
The most common error was to correctly convert +239, but then to incorrectly complete the change
of sign.
(c)
Many candidates were able to correctly convert the two's complement binary value into denary.
(d)
The majority of candidates were able to correctly convert the Binary Coded Decimal (BCD) value
into denary. The most common incorrect answer was 101, where candidates had treated the binary
value as an unsigned integer.
(e)
Many candidates were able to correctly convert the given denary number into hexadecimal.
Question 5
(a)
The majority of candidates had answered this question well. A significant number of candidates
had also understood that the first part of the expression, that is, NOT (A OR C) could be
implemented with a single NOR gate.
(b)
The majority of candidates had answered this question well. The most common error was in the
fifth and sixth rows, where these were both given as 0 instead of 1.
Question 6
(a) (i)
Many candidates were able to identify three functions in the JavaScript code. Some candidates
need to improve their understanding of the use of upper and lower case letters in this code. The
most common incorrect answers were the names of elements from the HTML code rather than
from the JavaScript code.
(ii)
The majority of candidates identified the lines 17 and 19 produced an output. Fewer candidates
understood that an output was also produced by line 12 of the JavaScript code. Here too, the most
common error was the inclusion of line numbers from the HTML statements rather than from the
JavaScript.
(iii)
Many candidates found identifying the correct line number where an input was stored in a variable
more challenging. The most common incorrect answer was line 05, which is a line of HTML not
JavaScript.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(iv)
(b)
Many candidates were able to describe the purpose of the code in general terms. Few candidates
included the identifiers of the variables in their answers. Good answers include statements such as
‘The variable answer is converted to a string and compared with the variable userAnswer which
stores the user input to see if they are equal. Depending on the result of the comparison, different
messages will be output from line 17 or line 19’.
The majority of candidates were able to describe the benefits of using a JavaScript program library.
While most of the responses concentrated on the more general reasons for using program libraries,
there were a few excellent responses in context that gave the specific benefits of JavaScript
program libraries.
Question 7
There were a small number of completely correct answers to this question. Many candidates found it
challenging. These candidates need to improve their understanding of addressing modes. A frequent
incorrect answer was the insertion of mnemonics for assembly language statements rather than the name of
the appropriate addressing mode.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
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 apply these skills to
the scenarios presented. This is a technical subject and makes use of many technical words and phrases. It
is important that candidates these correctly.
It is important that candidates writing program code use the correct syntax for their chosen programming
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 various ways and it is often necessary for candidates to respond in context.
General comments
Many candidates performed well on this paper, indicating a good, sound understanding of the subject. There
were many excellent solutions seen to questions that required pseudocode and program code. Candidates
generally made good use of built in functions and methods of the programming language. It is important that
candidates, who use Python, take care to maintain the correct indentation.
Candidates need to read questions carefully. It was clear from a number of responses that many candidates
had not read questions carefully enough. If candidates cross out any answers, they must write any new
answers clearly. Many candidates make use of blank pages for rough work when preparing their final
response. In these cases, it is extremely helpful if candidates cross out any rough work.
Comments on specific questions
Question 1
(a) (i)
Many candidates successfully answered this question. Many candidates provided clear and precise
answers. Others used imprecise statements such as ‘good variable names’ or ‘spaces’.
Other errors included candidates referring to specific programming features such as ‘declaration’ or
‘a loop’ and a small number of answers simply repeated lines from the original pseudocode.
(ii)
The majority of candidates achieved at least two marks, one for START and END, one for the first
three assignments. Candidates often omitted the brackets that denoted GetLevel() as a function
rather than a variable.
The loop part of the flowchart appeared to be the most problematic. Most answers used a postcondition loop structure. Either conditional type was acceptable but often the number of iterations
was incorrect.
Many candidates either missed the RETURN altogether or stated OUTPUT instead of RETURN.
Many candidates did not use the flow arrow lines and many used decision diamond boxes that had
only one output.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(b) (i)
(ii)
The majority of candidates answered this question part successfully.
There was a variety of responses to this question. A common error was to omit the quotation marks
from the expressions that evaluated to an object of type STRING.
Question 2
(a)
A significant number of candidates provided a correct response to this question. Repetition and
selection were the two most frequent answers.
A number of imprecise responses referred to data moving from one module to another but lacked
specific technical wording. Many incorrectly referred to INPUT/OUTPUT.
A small number of candidates gave general computing terms that were unrelated to the question.
(b)
Pretty print was a popular answer and most candidates stated that it applied colour coding to key
words. Some answers were imprecise and did not mention the uses for the colour coding.
A significant number of candidates seemed to have missed the fact that the question was asking
about program presentation and gave debugging features such as breakpoints, stepping and watch
windows.
(c)
Many candidates correctly identified ‘by reference’ and some went on to state it was the memory
address that was passed.
Responses that described the fact that the original value would be changed were often imprecise
and insufficient.
(d)
Many candidates correctly referred to ‘changes to the code’ but the rest of the response was often
imprecise. Many candidates confused adaptive with corrective maintenance in their descriptions.
Question 3
Many candidates scored 4 or more marks on this question. Some candidates had not read the question
carefully and their responses did not address the question asked.
Question 4
(a)
Candidates generally did not answer this question well. Many did not identify the process as
stepwise refinement.
Most responses did check that character was in the range ‘A’ to ‘Z’. There were few references to
producing a unique array index, although several described incrementing an array element. A
common mistake was to attempt to increment the character itself.
A significant number of responses simply repeated the phrase ‘increment as required’ from the
question.
Many answers addressed several of the original steps, rather than just step 4 as directed.
(b)
Many candidates recognised the need for a loop from 1 to the length of InString and then
continued to extract each character using the MID() function.
Some candidates converted the extracted character to ASCII but used the wrong values, either in
the comparison or as an array index. Some candidates seemed to be unaware of data types and
attempted to use a character as an array index rather than an integer value.
Many candidates correctly checked that the character was in the range ‘A’ to ‘Z’ but had not first
converted the extracted character to upper case, therefore losing any lowercase characters.
Many candidates were able to increment the value of an array element.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
Some candidates went on to attempt to produce the required output but did not include a loop to
output all the contents of the array.
Many of those that had successfully used ASCII() to create an index value realised that the
CHR() function was needed to convert the value to the relevant character before it could be
concatenated to form an output string.
Question 5
(a)
Many responses correctly interpreted the pseudocode to describe the validation rules.
Several imprecise responses simply stated that the string must be valid and meet the rules, without
describing what these were.
The third part of the rule caused some difficulty. Some stated that the difference between the
number of digits and the other characters must be at least one. This was not correct as it suggests
that it could be either more digits or more other characters.
(b) (i)
The majority of candidates answered this question well achieving 3 or more marks.
A common error was the omission of quotation marks round the characters in the NextChar
column. This gives the data a completely different meaning (for example, the difference between
the numeric value 9 and the character ‘9’), which the majority of candidates did not recognise.
Many responses omitted the initialisation values.
(ii)
The majority of candidates who answered the previous part correctly also answered this art
correctly. The majority identified that the return value was of type Boolean, and most of those
stated FALSE together with clear explanations.
Candidates, who stated TRUE, were awarded marks, if their response was supported by the values
in their trace table.
Question 6
(a)
Most responses indicated that candidates have some idea that data in a file is saved somewhere
so it is not lost when the program is closed. Some explanations were too imprecise for this level of
assessment, for example ‘data is kept for ever’.
A number of candidates suggested that the data in files could still be accessed when the computer
is turned off, which is an interesting idea unless the files are stored on some removable media,
which was never stated.
A significant number of responses suggested that storage in files was ‘easier’.
(b)
A number of candidates provided some well-written programming code. These were usually in
Python programming language where they made use of the built-in split function to extract the
account number.
Most responses included an attempt at a function heading and some form of loop, together with
statements for opening and closing files and returning a Boolean value.
Many solutions did not include a loop. Of those that did, the end of file check often omitted the
reference to the file.
Few responses were seen that included a condition to terminate the loop once the data was found,
although many (mainly Python) solutions included a break statement.
The extraction of the first 6 or 9 characters seemed to be the most problematic. Some good
attempts performed two comparisons (for both the first 6 and the first 9 characters) without realising
that a substring match could potentially give an invalid result.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(c)
A minority of candidates answered this question part well.
Many solutions included an attempt to open file UserListAtoM.txt. It was common to see the
other file also being opened suggesting that the module description in the question had not been
understood.
Few conditional loops were seen that tested both for the end of file and for the Duplicates array
being full.
A reasonable attempt was made by many to extract the required data using the MID() function but
this was often not quite correct.
Incorrect syntax was common when calling the SearchFileNtoZ() function, with the majority
attempting to call it as a procedure. This had the consequence that there was no return value to
test. The parameter giving the account number was often omitted.
Only a small number of answers included correct statements to store the extracted value in the
array. Many solutions contained methods specific to particular programming languages.
Several solutions wrote the account number to multiple array elements, often to all elements that
were otherwise empty.
Many solutions included an attempt to check for array overflow. Often these were based on two
integers, one used as the index and one as a count. It was common for the logic in these cases to
be confused.
(d) (i)
A minority of candidates answered this question part well. A significant number of candidates did
not attempt this question part.
Candidates were often awarded marks for the loop and the assignment statement.
For the procedure heading, three parameters were specified. ByRef was rarely included for the
array, which was often named using the key word ARRAY.
Some responses initialised the array elements to ‘’ rather than using the parameter value.
(ii)
A minority of candidates answered this question part well.
Many candidates seemed to have overlooked the directive to ‘write program code for a statement
that calls...’ and attempted to write the procedure, either in whole or in part.
Some candidates provided a statement that called the procedure but omitted the parameters.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
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 apply these skills to
the scenarios presented. This is a technical subject and makes use of many technical words and phrases. It
is important that candidates these correctly.
It is important that candidates writing program code use the correct syntax for their chosen programming
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 various ways and it is often necessary for candidates to respond in context.
General comments
Many candidates performed well on this paper, indicating a good, sound understanding of the subject. There
were many excellent solutions seen to questions that required pseudocode and program code. Candidates
generally made good use of built in functions and methods of the programming language. It is important that
candidates, who use Python, take care to maintain the correct indentation.
Candidates need to read questions carefully. It was clear from a number of responses that many candidates
had not read questions carefully enough. If candidates cross out any answers, they must write any new
answers clearly. Many candidates make use of blank pages for rough work when preparing their final
response. In these cases, it is extremely helpful if candidates cross out any rough work.
Comments on specific questions
Question 1
(a) (i)
Many candidates successfully answered this question. Many candidates provided clear and precise
answers. Others used imprecise statements such as ‘good variable names’ or ‘spaces’.
Other errors included candidates referring to specific programming features such as ‘declaration’ or
‘a loop’ and a small number of answers simply repeated lines from the original pseudocode.
(ii)
The majority of candidates gained at least two marks: one for START and END plus one for the first
two assignments.
Many candidates made a reasonable attempt at the loop and the test for Tries > 3.
The loop part of the flowchart appeared to be the most problematic. Often the conditional check
was only partially implemented. Many candidates attempted to combine the initial check
(corresponding to the pseudocode statement IF NOT Full) with the check that was required at
the start of each loop.
Many candidates did not use the flow arrow lines and many used decision diamond boxes that had
only one output. Some candidates missed the OUTPUT command word.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(b) (i)
(ii)
The majority of candidates answered this question part successfully.
There was a variety of responses to this question. A common error was to omit the quotation marks
from the expressions that evaluated to an object of type STRING. Many candidates did not convert
the final value to an integer
Question 2
(a)
Many responses stated that source code would be created using an editor or that source code was
‘understandable by humans’, but very few related the source code to an activity in the program
development cycle.
Many candidates confused source code with object code.
Many successful responses stated for corrective maintenance as ‘debugging’ or by making
reference to ‘finding and fixing errors’.
(b)
Most candidates correctly referred to the ability of an IDE to highlight a syntax error. Many
responses were imprecise, for example by stating ‘indentation’ instead of ‘auto indentation’.
A significant number of candidates seemed to have missed the fact that the question was asking
about initial error detection and gave debugging features such as breakpoints, stepping and watch
windows.
Question 3
(a)
A minority of candidates provided a correct response to this question part.
Many candidates were unable to give a sensible array declaration. A common error was to give the
length of InString for the upper array dimension.
Many candidates recognised that a FOR ... ENDFOR loop was involved in initialising all array
elements. Often the array assignment within the loop was incorrect; in several cases the character
‘0’ being used rather than the value zero.
(b)
The majority of correct response included an attempt at the first FOR ... ENDFOR loop and the
selection of each character in turn from InString. Some candidates used LEFT()instead of
MID() to perform the selection.
Only a minority of candidates were able to identify the array element to increment. Many solutions
simply incremented a single count variable.
Candidates were expected to use a separate second loop to perform the output. Solutions based
on this simpler structure with two independent loops were more successful than those that
attempted to use a single, nested loop.
Question 4
(a)
There were many good answers to part (b) of this question, suggesting that the scenario had been
understood.
Only a minority of solutions included the parameter value in the procedure heading. Some solutions
confused the use of MaxVol and VolLevel. A common error was to include a call to the
procedure being written.
Several solutions included parameter validation, although the final sentence of the question stated
that this was not necessary.
The better solutions tested the value of the parameter and attempted to adjust VolLevel
accordingly. Ensuring that VolLevel remained in the given range was only included in a few
solutions, and even here it was usually limited to checking that value was still >= 0 when turning
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
the volume down. Very few solutions correctly addressed how the upper volume limit could be
determined.
Many solutions included output statements, which were not required and which, arguably, would
have no place in the given scenario.
(b)
Most candidates provided a correct response to this question part.
(c) (i)
Most response correctly identified either a logical or run-time error and of these many also included
a correct description.
(ii)
A minority of candidates provided a correct response to this question part. The concept of stub
testing does not seem to be widely understood.
Many answers described testing of a modular program in general, commonly referring to the idea
of testing each part of the program separately. References to the testing of an incomplete program
were rare. Some responses occasionally mentioned use of a dummy module.
Question 5
(a)
This question attracted heavily polarised responses. Many candidates provided perfect solutions. A
small number of responses bore no relation to a structure chart.
A relatively common mistake was not to represent the correct sequence. Some confusion was
evident as to whether circles on arrows should be filled or not, with some candidates drawing
circles which were either too small to identify or appeared to be partly filled.
A minority of candidates used the correct double-headed arrow for the variable passed by
reference.
Question 6
(a)
A minority of candidates provided a correct response to this question part
Most responses included an attempt at a function heading and some form of loop.
The task was simply to write program code to perform a linear search of a 1D array. Many solutions
attempted to include unnecessary file handling.
Many candidates chose to OUTPUT rather than RETURN the Boolean value.
A common mistake was to continue searching through the array even after the value was found. In
many cases, this included assigning FALSE to the return value after each comparison, which meant
that the return value would be incorrect, unless the searched-for value was the last one in the
array.
(b)
A minority of candidates provided a correct response to this question part.
Most responses included an attempt at a function heading and some form of loop, together with
statements for opening and closing files, incrementing a count variable, and returning the count.
The majority of solutions recognised the need to extract the Reference from the string read from
the file, but often the length calculation was incorrect.
Incorrect syntax was common when calling the SearchLeavers() function, with the majority
attempting to call it as a procedure. This had the consequence that there was no return value to
test.
(c)
A minority of candidates provided a correct response to this question part.
Many candidates seemed to have overlooked the final sentence of the question, which stated:
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
Write a statement in program code that uses CountTimes() to assign the count of unused
elements to the variable Result.
The last part of the sentence should have directly led to the left-hand side of the answer statement
to give the first mark but this did not happen in the majority of cases. Some candidates used
function headers and ad-hoc lines of code.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
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 apply these skills to the
scenarios presented. This is a technical subject and makes use of many technical words and phrases. It is
important for candidates to use these correctly, as they have specific meanings.
It is important that candidates write program code that uses the correct syntax for their chosen programming
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 the question. Answers may address
individual topics in a number of different ways.
General comments
Many candidates achieved highly on this paper, indicating a good, sound understanding of the subject.
There were many excellent solutions seen to questions that required pseudocode and program code.
Candidates generally made good use of built in functions and methods of the programming language. It is
important that candidates, who use Python, take care to maintain the correct indentation.
Candidates need to read questions carefully. It was clear from a number of responses that many candidates
had not read questions carefully enough. If candidates cross out any answers, they must write any new
answers clearly. Many candidates make use of blank pages for rough work when preparing their final
response. In these cases, it is extremely helpful if candidates cross out any rough work.
Comments on specific questions
Question 1
(a) (i)
(ii)
Many successfully answered this question. Many candidates did not include quotes around the
data if they used a string as an example.
A common response given by some candidates was ‘declarative’ instead of ‘declaration’. In
Computing, declarative is a programming paradigm associated with logic programming.
The most common incorrect answer seen was ‘assignment’. These candidates are confusing giving
a value to a variable with giving a data type to a variable.
(b)
Many candidates correctly answered this question. Many candidates stated a list of variables
instead of variable (or identifier) name.
(c) (i)
Most candidates gained the marks for identifying input and output for the stage. Some example
statements were in pseudocode when the question asked for program code. It is important that
candidates used the correct program syntax.
(ii)
The most popular correct statements involved an output statement which joined two strings or
included a calculation in the output expression. The question asked for a single statement. A
number of candidates gave two expressions.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
(d)
Many candidates provided correct responses to this question. Responses such as ‘colour coding’,
were considered as too vague. Candidates must specify what the colour coding represents, such
as ‘colour coded key words’.
(e)
Most candidates recognised that trace tables are used for white box testing.
Question 2
(a) (i)
(ii)
There were mixed responses to this question. Candidates who recognised that this was a count
controlled loop (or FOR loop) were able to give a correct explanation. Some responses stated a
While loop or Repeat Until loop. These are examples of Pre and Post condition loops.
There were many correct responses to this question, with most of these using a REPEAT..UNTIL
loop. Some candidates attempted to use a WHILE statement. These candidates needed to
recognise that to achieve the same outcome, the condition must be changed to:
WHILE Status1 = FALSE OR Status2 = FALSE.
(b)
Many candidates answered this question well. Some responses indicated that they were unable to
recognise, or were not familiar with, ‘step value’ in a count controlled loop.
(c)
The majority of candidates correctly stated a compiler or a translator. Some responses gave an
Assembler, when the question stated ‘..a high level language…’.
Question 3
Candidates must indicate clearly whether the arrow has a filled in circle or an empty circle to distinguish
between a BOOLEAN and non-BOOLEAN value. Candidates who were familiar with structure charts
achieved high marks. It was clear that a small number of candidates had little experience of structure charts,
or had misread the question and attempted to draw an entity relationship (ER) diagram.
Question 4
(a)
This question required an explanation of the line of code:
IF (NumDots > = 1 AND NumAts = 1 AND NumOthers > 5). Many candidates gave clear
and correct explanations and gained full credit. Candidates needed to recognise what the three
variables in the expression represented in order to gain full credit. Some responses were vague,
simply describing the term validation or stating that the rules check that the data is valid.
(b) (i)
Many candidates correctly traced the code. Many of these candidates did not include the quotes
around NextChar to indicate that it is a character (not a variable). Some candidates missed out
the first three statements, which initialise the three variables to zero.
(ii)
(c)
Most candidates recognised that the return value was TRUE.
Most candidates recognised that the strings being tested must be correct for two of the validation
rules and must only fail on one of them. These candidates’ explanations were mostly very clear. A
common error was to provide test strings that failed more than one rule.
Question 5
Candidates provided a wide range of solutions. Many solutions included a FOR loop to the end of the string
which examined each character and tested for a space. They would then add the following character to a
new string if the current character was a space. This method will work until reaching the end of the string. At
this point, it does not take into account that the last character could be a space and this would result in an
out of bounds error.
Candidates must remember that ‘← ’ must be used in pseudocode for assignment rather than ‘=’.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
Question 6
(a) (i)
The marks awarded for this array declaration were split into the three parts, involving the array
name, the dimensions, and the data type. Most candidates achieved at least one of the marks.
Many candidates need to be familiar with the correct pseudocode syntax for an array declaration.
(ii)
This question required a program code solution. Most solutions seen were written in either VB or
Python. There were a wide range of solutions, particularly in Python, which provides various
functions and methods for reading files and stripping specific characters from strings. Credit was
given to those solutions that correctly used these functions. Many Python candidates, in trying to
extract the Title line of the file having read the (following) Author line were writing:
Title = file.readline(n–1) and then Location = file.readline(n+2),where n
referred to the current (Author) file line.
This would however read the specified number of bytes from the current line and not from the
previous or subsequent lines of the file.
(b)
The solution to this question involved a loop to output the contents of a 2D array in a specified
format. Three parameters were required in the procedure heading, one of which was the count
value. Candidates did not need to include a count to be incremented in the code for output.
Many candidates attempted this question well. They used a correctly formatted loop and a check to
ensure there was data to output, with the appropriate headings. The question gave the required
format, indicating the alignment of Title and Location values under the headings. Candidates
were expected to address the spacing and credit was given to those that made a reasonable
attempt. A minority of candidates successfully provided a solution, which calculated the length of
the Title string and the length of the Title heading, with the spaces between the two headings
in order to calculate the position of the Location output.
Candidates must understand that output of a line in pseudocode, using string and numeric data,
must include a type conversion of number to string.
© 2019
Cambridge International Advanced Subsidiary and Advanced Level
9608 Computer Science November www.dynamicpapers.com
2019
Principal Examiner Report for Teachers
COMPUTER SCIENCE
Paper 9608/31
Written Paper
Key messages
Candidates need to show an in-depth study of the topics and make good use of appropriate technical
terminology on this paper. Candidates, who have studied the theory and have practised the precise use of
these tools and techniques, were successful in solving problems on the examination paper.
Candidates need to follow carefully instructions given in examination paper questions.
Candidates need to ensure that they provide the inform