Computer Science (9608) · May/June 2021 · Examiner report
Cambridge Computer Science (9608) examiner report, May/June 2021 — 9608/M/J/21, file 9608_s21_er.pdf.
Text of this paper
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/11
Theory Fundamentals
Key messages
Precision in answers is important. Vague answers and answers that repeat the information given in the
question will not gain any credit.
Many candidates would benefit from a better understanding of the different command words used in the
questions.
If large parts of a response are crossed out it helps if the replacement answer is written somewhere else in
the script rather than above the crossed-out work, and there should be a clear indication of where to find any
replacement answer. Using the page numbers printed on the question paper is good practice. It helps if
rough work is crossed out.
General comments
Questions may have quite specific instructions and it is essential that candidates follow these instructions. In
tick box and line drawing questions, candidates must put the correct number of ticks or lines.
The logic questions were usually completed successfully; questions about networks and translation software
were more challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
Almost all candidates correctly linked the commercial software licence to its appropriate description. There
was considerable confusion between a Shareware licence and an Open Source Licence. Some candidates
need to improve their understanding of these software licences.
Question 2
(a)
Many of the responses to this question gave a description of the circle, for example, it has a thick
black edge, rather than listing its properties, line width and line colour.
(b)
There was some confusion between a drawing list and a library of shapes. Many answers
described items that would be contained in a shape library, rather than describing a drawing list.
(c)
Many candidates were able to describe the pixilation that would occur. Some responses did not
make it clear that this happens when the image is enlarged. Describing a second drawback proved
more challenging. Candidates who correctly identified that the bitmap would likely require more
storage often found it challenging to describe why this was the case.
(d)
Almost all candidates were able to correctly give three appropriate security methods. Passwords,
biometrics and implementation of a firewall were the most popular correct answers.
www.dynamicpapers.com
Question 3
(a)
There were a few completely correct trace tables. Few candidates made a reasonable attempt to
trace this straightforward low level language program.
(b)
Many candidates need to improve their understanding of indirect addressing. A common incorrect
answer was LDI 200.
(c) (i)
Almost all candidates were able to correctly convert the operand to binary.
(ii)
(d)
8
Many candidates understood that the number of op codes was 2 . A common incorrect answer was
255, the maximum value that can be held in 8 bits, rather than 256, the number of distinct values.
Few candidates understood the flags that can be set in a status register.
Question 4
(a)
There were some excellent correct truth tables. There was some confusion with the NOR gates.
Some candidates need to improve their understanding of the different symbol for an XOR gate and
a NOR gate.
(b)
Many candidates were able to correctly identify three logic gates not used in the diagram.
Question 5
(a)
The two many-to-many relationships were generally recognised and each one split into the
appropriate one-to-many relationships. There was considerable confusion about which was the
‘many’ end of each relationship. Candidates also need to understand that they must use a
recognised notation for the relationships.
(b)
Most candidates found this question challenging. Candidates need to improve their understanding
of what is meant by referential integrity and be able to apply it to a given set of tables.
(c)
Some candidates were able to correctly identify that a table could be created using a DDL
statement. Most candidates found it very challenging to then list two other items that could be
created using the DDL.
(d)
There were a few good attempts at this DML statement. The SELECT and FROM clauses were
straightforward. Many candidates found the WHERE clause more challenging because of the need
to include leaders who spoke either French or English.
Question 6
(a)
Some candidates did not read the question carefully and missed that the value 16 had been
entered. Some candidates should be aware that quotation marks are not required on output when it
is not part of a programming statement. In questions of this type, it is important that the text is
copied exactly from the question, including both case and spelling.
(b)
There was some confusion between lines 14 and 15 where the function is defined and line 12
where the function is called.
(c)
Many candidates correctly identified the two variables. Some candidates need to understand that
JavaScript is case sensitive, so ‘hour’ and ‘Hour’ are two different identifiers.
(d)
Some candidates correctly identified the first two statements. Many candidates need to improve
their understanding of PHP code and what is meant by a conditional statement.
(e)
Most candidates selected appropriate terms from the given list.
www.dynamicpapers.com
Question 7
(a)
There were some interesting and thoughtful answers to this question. Some candidates need to
understand that for two marks, two distinct points must be made. Some answers about Marina’s
actions were the same point written in two different ways.
(b)
There were some insightful answers to this question. Many answers discussed whether Doug had
the right to ask this of his team, and whether the team had the right to refuse. Some candidates
seemed to assume that it was his fault that the project was behind schedule. Some good answers
included statements about work-life balance and the workers’ mental health.
(c)
There were several interesting responses to this question too. Some candidates need to
understand that vague statements which repeat information given in the question such as,
‘Unethical because Debbie discusses her concerns on a public forum’ are not enough for credit at
this level. Why it is unethical must be described.
Question 8
(a) (i)
The first two language translators were usually correctly identified. Some candidates need to
improve their understanding of the differences between compilers and interpreters.
(ii)
The question asked for two benefits. Many of the answers gave descriptions without saying what
the benefit was.
(b) (i)
Many candidates understood that there is often a limit on the size of a file that can be attached to
an email. Some candidates found giving a second reason more challenging. A popular correct
choice was the time taken for transmission
(ii)
Answers to this question contained a lot of generic descriptions of lossless compression without
applying it to the text file described in the stem of the question. Some candidates described the
compression of a source code file (program) rather than a text file.
Question 9
(a)
Many candidates found this question challenging and need to improve their understanding of public
and private IP addresses. Statements such as, ‘one is private, and the other is public’ will not gain
any credit at this level of study.
(b)
Some candidates found identifying the most appropriate term very challenging. The one most likely
to be correct was a firewall. There is a need for improved understanding of the differences between
routers, gateways and servers.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/12
Theory Fundamentals
Key messages
Precision in answers is important. Vague answers and answers that repeat the information given in the
question will not gain any credit.
Many candidates would benefit from a better understanding of the different command words used in the
questions.
If large parts of a response are crossed out, it helps if the replacement answer is written somewhere else in
the script rather than above the crossed-out work, and there should be a clear indication of where to find any
replacement answer. Using the page numbers printed on the question paper is good practice. It helps if
rough work is crossed out.
General comments
Questions may have quite specific instructions and it essential that candidates follow these instructions.
some candidates had frequently put the incorrect number of ticks or lines in tick box and line drawing
questions.
Tracing the low level language program and completing the truth table were usually completed successfully;
questions about networks and utility software were more challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
(a)
Almost all candidates correctly completed the truth table.
(b)
There were many correct answers to this question. A common incorrect answer was the use of a
NOR gate instead of the OR gate.
Question 2
There were a few completely correct answers to this question. A common incorrect link was from the Current
Instruction Register (CIR) to the description ‘holds the current value in the Index Register’.
Question 3
(a)
A significant number of candidates found tracing this low level language program challenging.
There were two distinctly different incorrect trace tables. Some candidates had misinterpreted the
LDI instruction on line 50 and had loaded the value 100 into the accumulator instead of the
contents of address 100. Other candidates had completed the first iteration correctly, but on the
second loop at the ADD 102 instruction on line 53 had used the original value in address 102
instead of the updated value.
(b)
Many candidates need to improve their understanding of the different modes of addressing. A
popular incorrect response was LDD 103.
www.dynamicpapers.com
(c) (i)
(ii)
(d)
Almost all candidates correctly converted the value to binary.
Almost all candidates correctly converted the value to hexadecimal.
Many candidates correctly identified two other modes of addressing. These are technical names,
and it is expected that they would be written correctly. Some candidates need to be careful with
spelling.
Question 4
(a)
The question asked for the drawbacks of a file-based approach. Some candidates instead wrote
about the benefits of a relational database. Many statements were too vague and applied equally to
a file-based approach or a relational database. There was considerable confusion between security
and privacy, with a misconception that security could not be applied to a file.
(b)
Most candidates were able to state that there was repetition of data and give an example from the
table. Some candidates need to understand that giving the same answer three times with a
different example is only one reason not three. Another popular correct answer was the lack of a
primary key. Many candidates found it more challenging to give a third reason.
(c)
There were some completely correct DDL scripts. Some candidates displayed little or no grasp of
writing SQL statements. These skills are best learnt through the practical process of writing and
testing SQL statements within a DBMS environment.
Question 5
(a)
Many candidates recognised the identifiers in the code. Some candidates need to understand that
JavaScript is case-sensitive, so ‘Area’ and ‘area’ are not the same identifier.
(b)
Some candidates need to improve their understanding of the use of functions in programming
code; repeating the text from line 04 of the program is not enough to explain the purpose of the
code on line 08.
(c)
There were many correct answers to this question. A common error was the omission of the colon.
Some candidates should understand that quotation marks are not required on output when it is not
part of a programming statement.
(d)
Almost all candidates recognised the symbol as logical OR.
(e) (i)
Many candidates correctly identified the data validation as a presence check.
(ii)
(f)
Many candidates were able to identify two other validation checks that could be used.
Many candidates found this question challenging. The question needed to be read carefully as
there were quite specific statements about HTML, JavaScript and PHP. Some candidates need to
improve their understanding of the use of each of these, particularly the use of HTML tags and
JavaScript code.
Question 6
(a)
There were some interesting responses to this question. Some candidates need to understand that
two distinct points are required for the two marks. Some answers about Latifah’s actions were the
same point written in two different ways.
(b)
There were many interesting responses to this question too. Many answers discussed whether a
computer security expert would be required for a banking application.
(c)
There were some very insightful answers to this question. Many candidates appear to have a good
understanding of the use of personal data by social media websites. Some candidates need to
understand that vague statements which repeat information given in the question such as, ‘Jason
www.dynamicpapers.com
should take further action’ are not enough for credit at this level. The further action must be
described.
Question 7
(a) (i)
The whole of Question 7(a) required the application of knowledge. The stem of the question stated
that a photographer was storing images, so the uses of the various utility software needed to be
applied to this context. There were many good answers about how backup software would be used
to make copies of the images in case of loss.
(ii)
Explaining how the photographer would use defragmentation software was more challenging. Many
candidates found it difficult to explain how it would improve disc access time. Statements such as,
‘it would make the disk work faster’ are not precise enough, there needs to be the idea of improving
the time taken to access and load files.
(iii)
Many of the answers to this part question lacked sufficient detail. Statements such as, ‘disk repair
software repairs the disk’ are too vague for credit.
(b)
Many candidates were able to correctly identify three items that would be stored in the header of a
bitmap file. Some candidates found it more challenging to identify four different items.
(c)
This question also required the application of knowledge to the images used on the website. Many
responses described lossy or lossless compression in generic terms rather than justifying why one
would be more appropriate than the other in this context.
Question 8
(a)
There were many correct answers to this question.
(b)
Many candidates need to improve their understanding of what is meant by a digital signature.
There was considerable confusion between a digital signature and a digital certificate. Some
responses described the use of an electronic tablet and stylus when signing something.
Question 9
(a)
Many candidates found this question challenging. Stating that wireless networks do not need
cables is not a benefit, it is a description of a wireless network. The benefit is that because there
are no cables, devices can be mobile. Some responses described drawbacks of wired networks,
with no reference to any corresponding benefit of a wireless network.
(b)
Some candidates found describing drawbacks of a wireless network more straightforward. Weaker
security and interference were popular correct answers. Some responses to this question also
described benefits of wired networks, with no reference to any corresponding drawback of a
wireless network.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/13
Theory Fundamentals
Key messages
Precision in answers is important. Vague answers and answers that repeat the information given in the
question will not gain any credit.
Many candidates would benefit from a better understanding of the different command words used in the
questions.
If large parts of a response are crossed out, it helps if the replacement answer is written somewhere else in
the script rather than above the crossed-out work, and there should be a clear indication of where to find any
replacement answer. Using the page numbers printed on the question paper is good practice. It helps if
rough work is crossed out.
General comments
Questions may have quite specific instructions. It is essential that candidates follow these instructions. Some
candidates had frequently put the incorrect number of ticks or lines in tick box and line drawing questions.
The truth table and tracing the low level language program were usually completed successfully. The
questions about codes of conduct and video compression were more challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
(a)
Many candidates were able to correctly identify the four validation types.
(b) (i)
Almost all candidates were able to correctly identify another method of protecting the integrity of
the data. The most popular correct answer was verification.
(ii)
Many candidates were able to correctly identify two correct measures to protect the integrity of the
data during transmission. The most popular correct answers were parity and checksum.
Question 2
(a)
There were many completely correct answers to this question. Some candidates interpreted the
final XOR gate as a second OR gate.
(b)
Almost all candidates were able to name the four logic gates used in the circuit.
Question 3
(a)
Many candidates were able to correctly trace this code. A very common incorrect response was the
inclusion of quotation marks around the output. Some candidates should understand that these are
not required on output when it is not part of a programming statement.
www.dynamicpapers.com
(b)
There were some good answers to this question. Some candidates need to read the question
carefully. The question asked for modes of addressing that had not been used in the program.
(c) (i)
Almost all candidates correctly converted the value to binary.
(ii)
Almost all candidates correctly converted the value to hexadecimal.
(iii)
Some candidates need to improve their understanding of two’s complement binary. A frequent
incorrect answer was 217, where candidates had treated the binary value as an unsigned integer
rather than a two’s complement value.
(d)
There were a number of excellent complete answers to this question. Some candidates need to
ensure they understand the use of brackets in register transfer notation. Some answers showed
the registers correctly but with the brackets omitted.
Question 4
(a) (i)
There were some good answers where candidates wrote about installing device drivers and the
management of buffers. Almost all candidates found listing three device management tasks
challenging. Many answers listed general operating system management tasks rather than tasks to
do with device management.
(ii)
The most popular correct answer here was dealing with interrupts. Almost all candidates found
listing three error detection and recovery management tasks challenging. Many answers referred to
errors in code.
(iii)
Many candidates were able to correctly list two other operating system management tasks. Some
candidates listed hardware management or peripheral management which is the same as the
device management task given in the question.
(b) (i)
There were many completely correct answers to this question. A common incorrect answer was to
identify an IDE as a utility program.
(ii)
Almost all candidates were able to correctly give two other utility programs. Disk formatter and file
compression were the most common answers.
Question 5
(a)
Almost all candidates were able to correctly identify the variables. Care must be taken when writing
the variable names in the answer. Variables in PHP are case sensitive and must start with the $
symbol.
(b)
Almost all candidates were able to correctly locate the lines where an output was produced.
(c)
Candidates found describing the purpose of the code quite challenging. Answers often referred to
concatenating the variables, rather than the contents of the variables and omitted the space
between the two names. The full line of code also includes the assignment to the $result
variable. There was little mention of this.
Question 6
(a)
There were many completely correct answers to this question. A common incorrect answer was the
reversal of steps B and D.
(b)
Candidates found this question challenging. Many answers provided great detail about how the
DNS converted a domain name into an IP address, which did not answer the question. Few
responses included examples of a domain name and an IP address.
Question 7
(a)
Many of the answers to this question concentrated on the general features of a compiler rather
than the drawbacks of using a compiler. There were lots of statements about an executable file
www.dynamicpapers.com
being produced with little understanding that such a file would not be produced if there were any
syntax errors remaining in the code.
(b)
Descriptions of the two licences were generally very good. Many candidates were able to write
about the difference in the availability of the source code, the cost implications, and whether the
source code could be modified or not.
(c)
Many candidates found this question challenging. There was a lot of confusion between a
professional code of conduct and the production of professional program code.
Question 8
(a)
Almost all candidates recognised that there would be two one-to-many relationships, one between
EMPLOYEE and PROJECT_TEAM and one between PROJECT and PROJECT_TEAM. Many
candidates need to improve their understanding of the notation used for E-R diagrams. The ‘crows
foot’ symbol for the many end of the relationship was often on the wrong end of the line.
(b)
Identifying the primary keys and corresponding foreign keys was correctly done by almost all the
candidates. Explaining how these keys were used to link the tables was more challenging.
(c)
There were some good attempts at writing this DDL statement. Candidates must take care when
using names given in the question that they write them exactly as given.
(d)
This DML statement involved just a single table and there were many completely correct answers.
Question 9
(a) (i)
Almost all candidates were able to correctly identify the term needed.
(ii)
Almost all candidates were able to correctly identify the term needed.
(b)
Candidates found this question challenging. There was considerable confusion between the two
terms and a lack of precision in answers. Statements such as, ‘if there are different pixels that are
the same colour’ are not enough. It must be clear when describing Run-Length Encoding (RLE)
that the identical pixels must be adjacent to each other within a frame (spatial redundancy) and that
for inter-frame compression (temporal redundancy) the identical pixels must be in exactly the same
position in consecutive frames.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/21
Problem-Solving and Programming
Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and be able to apply them to the scenarios presented if they are to achieve high marks.
This is a technical subject and makes use of many technical words and phrases. These have specific,
defined meanings and it is important that these are used 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. Answers may address
individual topics in a number of different ways.
General comments
A few excellent programming solutions were seen, but most responses suggest most candidates had little or
no programming experience and the majority of candidates attempted few questions. There were a high
number of ‘no responses’ to the programming and pseudocode questions.
Candidates who offer solutions using Python need to take care to maintain the correct indentation, as this is
key to defining the program structure.
Candidates need to understand that no marks are awarded for programming answers that do not use one of
the three permitted languages.
If answers are crossed out, the 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 important to cross out this text.
Comments on specific questions
Question 1
(a) (i)
(ii)
(b) (i)
(ii)
Few candidates achieved both marks. Those achieving a mark stated that ASCII characters are
represented by a unique value.
Few candidates provided a correct response with many not attempting this question. A whole range
of incorrect values were seen.
Again, few candidates gave the correct response. The remainder either gave no response or the
correct values.
Few candidates provided a correct response. Various incorrect answers were given.
www.dynamicpapers.com
(c)
Most candidates achieved at least one mark. Many identified that there was no error in statement 4
and many identified that there were not enough characters in the string ‘Cat’ to extract 4 characters
from the left. A few candidates simply wrote ‘NO ERROR’ for each case.
Question 2
(a)
The majority of candidates either did not answer this question or produced something unrelated to
a program flowchart.
(b)
Of the small number of candidates that attempted this question, there seemed to be some
confusion as to what was required. Some were comparing consecutive elements with each other
rather than setting the initial element as max, then comparing this with each element of the array
and setting max to the current element if higher than max. Some mentioned sorting the array to find
the highest, which is an acceptable solution, but did not describe the sorting mechanism.
Question 3
(a)
Few candidates attempted this question. Many gained marks for correctly identifying some of the
parameters. The selection diamond was not seen on any response. A single response correctly
showed the iteration arrow for Module_X.
(b) (i)
Many achieved the mark for identifying the module is a function, but many could not give a correct
justification.
(ii)
Few candidates achieved any marks. Candidates who correctly wrote the procedure name then
lost marks by stating a return value, only required in function headings. ParZ was passed by
reference and therefore needed ByRef in the declaration.
Question 4
(a)
Few candidates achieved 3 or more marks for this question, and many did not attempt this
question. Of those making an attempt, some good solutions were seen but many lost marks due to
writing pseudocode statements or using incorrect syntax for their chosen language.
Common errors were the incorrect type of brackets used in Visual Basic solutions, and an array
subscript should be in round brackets ( ) and not square brackets [ ].
(ii)
Some Python solutions used functions such as Left and Mid, which are not valid for Python.
(iii)
Many incorrect assignment symbols were seen in both Python and VB.
(b)
This response required candidates to have had experience of writing programs and therefore
having the experience of using an IDE. The lack of correct responses indicated that most
candidates are not familiar with coding.
(c) (i)
Most candidates were unable to answer this question or gave an unrelated response. Again,
candidates must have experience of programming to be able to identify the stages of the program
development life cycle. Some gained a mark for giving a description of a task.
(ii)
As with the previous question, due to a lack of programming experience, candidates were generally
unable to answer this question.
www.dynamicpapers.com
Question 5
(a) (i)
12 per cent of candidates achieved at least one mark for this question. Many did not attempt it. Of
these, marks were gained mostly for the prompt and input of a number and for indicating a loop is
needed. Many used the incorrect range for the Random function, by using 21. This would select the
range 0 to 20. Some omitted the INT function to ensure an integer was used.
Some candidates lost marks for not ending constructs in loops or IF statements. These candidates
tended to be those familiar with Python where endings are not required. However, when writing
pseudocode, it is essential that candidates clearly indicate where a loop or selection statement
ends.
(ii)
A few candidates stated correctly that a check should be made that the input is within the range 1
to 20. Many just stated the name of a validation method, such as type check or range check which
gained no credit.
(b) (i)
Most achieved no marks. The question asked for the type of testing. Those that attempted
generally gave any type of testing method they’d heard of, in particular white box/black box testing.
Less than 5 per cent stated the correct answer.
(ii)
A few candidates mentioned a simple line of code should be entered in the function but did not
state that a known value should be returned. Many did not attempt the question.
(iii)
Vague responses such as’ turns program code into machine type code’, gained no credit. As with
previous questions, it is essential that candidates have experience of writing and executing their
code. This helps gain an understanding of the process of producing executable code from a high
level language.
Question 6
(a)
This question tested candidates understanding and use of selection and logic statements in their
chosen language. Most did not attempt to answer this. The responses seen that lost marks,
generally used incorrect syntax, or used functions incorrectly.
(b)
Most did not attempt to answer this question. Of the few that did, some excellent solutions were
seen. A few missed out a loop and as in the previous pseudocode solution, selection and loop
statements were not ended correctly.
Candidates should also be reminded that they must close the file that has been opened.
(c)
This question required a programming solution which included string and array manipulation. The
better candidates produced their solution in Python using a range of different features of the
language. Some used slicing to extract substrings and some made use of the split method to
separate each substring.
As before, most candidates did not attempt to answer this question.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/22
Problem-Solving and Programming
Key messages
The emphasis for this paper is on the application of practical skills. These skills involve analysing and
understanding the requirement as well as designing and presenting a solution. Requirements are often
presented using a scenario description. Candidates need to be able to identify the key elements of each
requirement (for example, the need for an iterative structure) when designing their solution. The development
of these skills requires practice.
This subject makes use of many technical words and phrases. These have specific, defined meanings and
they need to be used correctly.
Answers should be as precise and specific as possible. Candidates should familiarise themselves with the
meanings of the command words used in this paper and form their answers accordingly. Candidates should
also be aware that answering a question by simply repeating phrases from the question will not gain marks.
TI is important that candidates are familiar with the fundamental programming concepts. Lack of
understanding is often illustrated by the confusion between a literal value and an identifier, or the misuse of
OUTPUT in place of RETURN. Many candidates appear unaware of the use of parameters, often replacing
parameters to a subroutine with a series of prompts and inputs within the body of the subroutine itself.
Candidates need to read and understand each question before attempting to answer it. Questions may
address topics in many different ways, and it is often necessary to apply knowledge in a specific way if marks
are to be gained. It should not be assumed that simply because a question contains some recognised terms
that it is the same question that has appeared in previous papers.
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. As in previous sessions, no marks were awarded for programming
answers that did not use one of the three languages given in the syllabus. A significant number of candidates
demonstrated skill levels suggesting they had little programming experience.
If answers are crossed out, the 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 important to cross out this text.
If typed answers are provided then it is very helpful if these are organised so that individual answers do not
span page breaks. This is particularly important for programming answers. If the question involves
completing a table, they typed answers should clearly indicate any unfilled rows.
Comments on specific questions
Question 1
(a)
Many candidates provided fully correct answers. ‘Corrective and ‘Adaptive’ were the most
commonly identified types of maintenance, and where these were given, most answers then went
www.dynamicpapers.com
on to give a correct reason. ‘Perfective’ was seen much less frequently, and the reason given for
this type was often not clear.
Reasons for corrective maintenance often focused on just the testing and omitted than the
correction of the error.
Answers referencing computer science terms not related to maintenance were common.
(b)
The question asked why characters need to be expressed in ASCII or Unicode. Many candidates
simply provided an answer describing what encoding meant, such as ‘each character is
represented by a unique number’. Candidates should expect that the emphasis of a question
should change from series to series and that simply repeating an answer from a past paper will not
always be successful.
Only a small number of answers addressed the fact that the encoding system complied with a
standard and would therefore be recognised by all programs.
(c)
Successful responses referred to the character’s use as a separator between data items. A small
number of answers described the use of a special character (one that would not appear in the
data). Very few answers adequately described the role of the separator in terms of simplifying the
extraction algorithm.
Several answers referred to a separator being used between lines in the file, and in many cases, it
was the user that was reading the line and extracting the individual data items, rather than a
program.
(d)
A wide range of marks was awarded. Some excellent answers were seen, where comprehensive
error descriptions were provided. Many descriptions were too brief, to the point where it was
unclear whether the actual error had been identified. An example of this would be ‘invalid function’
which is saying little more than had already been stated in the question.
The second ‘No Error’ answer was the most often correct, followed by the description for the error
in the second statement.
The last statement seemed to be the most challenging. A popular assumption was that the
identifier Index was an Integer; many stated that operator and could not be used with an integer
but failed to mention the value 3.
Several candidates simply offered ‘logic error’ or ‘run-time error’ for every statement.
Question 2
(a)
There was a wide range of responses to this question, with many full-mark responses provided.
Most identified ‘Overload’ as the global variable. The last two answers proved too much of a
challenge for many.
(b)
Most candidates gained marks for the START and END, followed by the initial assignments. Many
went on to also gain the mark for the ‘Is Status = TRUE’ test together with the corresponding
assignments.
Many solutions had incorrect flow lines. Some candidates did not label the lines coming out from
decision (diamond) boxes. A common mistake was to omit the ‘NO’ line from the ‘Is Overload =
TRUE?’ decision (diamond) box.
Question 3
(a) (i)
(ii)
This question part was generally, well answered. ‘Selection’ and ‘Iteration’ were the most popular
correct answers.
Many candidates achieved four marks from the available five, with the mark for the selection
diamond being the one most often missed.
www.dynamicpapers.com
The double-headed arrow for the BYREF parameter was often missed, or occasionally shown as
two separate parameter arrows. A small number of candidates seem unclear as to the significance
of the circle on each parameter arrow, and whether it should be shaded or not.
(b)
Many candidates seemed unfamiliar with the three stages of the program development cycle. Many
different stages were often given, but often the core ‘Design – Code – Test’ was absent.
Few responses illustrated the cyclic nature of the process.
Some candidates offered a variant of the diagram used for the previous question. There were many
blank responses and a variety of concepts from other parts of the syllabus such as Input – Process
– Output.
Question 4
(a)
This question split candidates into two distinct groups. Some good answers were seen, often
gaining full marks for accurate and complete solutions. Many candidates struggled to write the
required pseudocode.
While some candidates produced a textbook solution using only six lines, many solutions spilled
into a second column.
Several solutions omitted the initialisation (MP1) in favour of an INPUT statement.
Although the question asked for a post-condition loop, many did not use a REPEAT ... UNTIL,
opting instead for either a FOR or WHILE loop.
The loop condition frequently contained the error as illustrated below, which would stop after the
first pass through the loop:
num ← 101
REPEAT
<looped statements>
UNTIL num > = 100 AND num < = 200
Solutions using a FOR loop frequently included a separate statement to increment the loop counter.
Many candidates demonstrated a lack of understanding of the back-arrow assignment symbol
through use of statements such as:
UNTIL num ← 201
A range of attempts at trying to test for an odd number was seen (MP3). The simple method of
starting with the first odd number in the range and adding 2 each time around the loop was
common but by no means universal. The use of MOD()was common. Some solutions extracted the
last digit using string handling functions and others divided the number by 2 then attempting to
check if the result was an integer.
(b)
There were some very good solutions, especially in Python.
Although many solutions stated VB or Python, the answer given was clearly pseudocode. Some
answers contained a mixture.
VB responses commonly lost the first mark point for incorrect syntax: the use of RETURNS
instead of AS.
Many solutions included the re-declaration of the array as a local variable so were prevented from
gaining MP2
MP3 was gained by many solutions.
www.dynamicpapers.com
VB solutions regularly lost marks from the use of incorrect brackets for the array index (MP4).
Python solutions often incorrectly used a single bracket for the 2D array syntax.
Many solutions included an attempt at MP5. A common mistake was in the logical combination of
the tests for Par1 and Par2.
A frequent mistake was to use an ELSE statement inside the FOR loop which set the return value to
–1 each time there was no match with Par1 and Par2, so effectively ‘overwriting’ a correct value.
Question 5
(a) (i)
Pretty print and Indentation were common correct responses. Many general computing terms were
offered, and a significant number of candidates made no attempt at this question.
(ii)
The context in this question was given as initial error detection but this was missed by many who
offered general debugging and fault-finding techniques.
(b) (i)
Answers tended to be awarded either both marks or neither. An exception were those answers
where the Boolean value was correctly declared but then OUTPUT rather that RETURN was used.
Many answers included a declaration statement for the first mark, but often this declared UserID,
which was parameter to the function.
(ii)
A small number of excellent solutions were seen. Many answers struggled to achieve any marks,
with many candidates making no realistic attempt at answering the question. Many pseudocode
answers were seen.
Despite the simple scenario, many solutions lacked any sort of loop to allow the user to ‘try again’
(MP2). A common mistake when using post-condition loops was to omit the initialisation of the loop
counter.
Most gained at least the mark for the prompt and input of the password (MP3)
Many candidates correctly wrote the function heading with UserID as the parameter but then went
on to prompt and input the UserID.
Many solutions attempted to compare the value of UserID, using an IF UserID = ‘Guest’
THEN... construct, but several omitted the quotation marks around the string ‘Guest’ and/or failed
to return TRUE at that point or to avoid the rest of the algorithm.
Although the line which performs the validation is given in the question, many copied this
incorrectly and missed out the ...AND TODAY() part (MP4). Many resorted to the simpler, but
incorrect:
IF password = valid THEN
Solutions that did contain the correct validation line usually also gained MP5 and MP6.
Question 6
(a)
As for Question 5 (b) (ii), A small number of excellent solutions were seen. Many answers
struggled to achieve any marks, with many candidates making little or no attempt at answering the
question.
Many pseudocode answers were seen.
A simple scenario based around a linear search of an array; however, many solutions included
some form user input.
Many solutions did not initialise the variables used for the Count and Total (MP1).
www.dynamicpapers.com
Most solutions included a count-controlled loop (MP2). A common mistake was to attempt to use
the array itself as a loop counter as illustrated:
FOR StockID() = 1 TO 10000
The incorrect inclusion of a comma in the number 10 000 was not uncommon.
Many solutions contained successful attempts to skip elements containing the initial value (MP3).
Occasionally this took the form of a WHILE... rather than an IF... which would have generated
an endless loop.
Many did not correctly calculate the overall stock and simply gave an expression of the form:
Total = Cost * Quantity
Many answers omitted the final output (MP5)
(b)
The introductory paragraph as for Question 6 (a) applies equally here.
Many solutions started with a correct function header but in many cases, there was no function end
(MP1). Some candidates attempted to pass a parameter with a name such as ThisFile.txt
Solutions that included a reasonable attempt at file handling usually gained MP2.
Many correctly opened the file in read mode but in very many cases the corresponding CLOSEFILE
was missing (MP3). A common mistake was to treat the parameter name as a literal string by
enclosing it in quotation marks when used in the OPEN and subsequent file operations.
Addressing MP4, a common mistake was to test the filename itself, rather than the file contents.
Another mistake was to compare EOF(filename) with an empty string rather than a Boolean
value.
Many candidates addressed M6 via a conditional loop.
MP7 was frequently missed due to the use of incorrect parameters when calling Unpack().
MP8 required a check on whether the file was empty or not after reaching the end of the array but
few addressed this point.
Some candidates made this question more complicated than it was by trying to write additional
functions not required, such as Unpack().
(c)
Previous Question 6 introductory paragraphs apply.
Frequently a loop was missing from the solution (MP1)
MP2 was generally present, although this had to be within a loop to gain the mark. and this was
often not the case.
Many correctly checked the length of the file name (MP3). Some lost marks for incorrect range
comparisons (< instead of < = ) or for incorrect logic (AND instead of OR).
‘Impossible’ comparisons were seen frequently, for example:
IF LENGTH(Filename) < 4 AND LENGTH(Filename) > 10 THEN
MP4 was one of the easier marks and often achieved.
Many VB solutions achieved MP5 for extracting a character using MID and the Python solutions
using the index reference filename(x).
www.dynamicpapers.com
Mark points 6 and 7 were usually addressed. Solutions based on built-in language functions or
methods were generally more successful than those based on range comparisons.
Common errors seen included:
•
•
•
•
missing quotes around the characters in comparison statements (both alphabetic and numeric)
only testing uppercase and missing out lowercase (or vice versa)
incorrect logic
incorrect ASCII values used.
Many included the output of a warning message and re-input the file name following an invalid attempt, but
then missed out the return of the filename. (MP8)
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/23
Problem-Solving and Programming
Key messages
This paper addresses the application of practical skills. These skills involve analysing and understanding the
requirement, often presented in this paper via the use of a scenario description, as well as designing and
presenting a solution. Candidates need to be able to identify the key elements of each requirement (for
example, the need for an iterative structure) when designing their solution. The development of these skills
requires practice.
This subject makes use of many technical words and phrases. These have specific, defined meanings and
they need to be used correctly.
Answers should be as precise and specific as possible. Candidates should familiarise themselves with the
meanings of the command words used in this paper and form their answers accordingly. Candidates should
also be aware that answering a question by simply repeating phrases from the question will not gain marks.
Familiarity with fundamental programming concepts is vital. Lack of understanding is often illustrated by the
confusion between a literal value and an identifier, or the misuse of OUTPUT in place of RETURN. Many
candidates appear unaware of the use of parameters, often replacing parameters to a procedure or function
with a series of prompts and inputs within the body of the subroutine.
Candidates need to read and understand each question before attempting to answer it. Questions may
address topics in many different ways, and it is often necessary to apply knowledge in a specific way if marks
are to be gained. It should not be assumed that simply because a question contains some recognised terms
that it is the same question that has appeared in previous papers.
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. As in previous sessions, no marks were awarded for programming
answers that did not use one of the three languages given in the syllabus. A significant number of candidates
demonstrated skill levels suggesting they had little programming experience.
If answers are crossed out, the new answers must be written clearly so that the text may be read easily.
Many candidates make use of blank pages for rough work when preparing their final answer. In these cases,
it is extremely important that this text is crossed out.
Comments on specific questions
Question 1
(a)
A few candidates stated pseudocode for the programming language used despite having been told
that programming code must be used.
(b) (i)
Many candidates did not correctly identify the loop structure. They stated that it was a while or
repeat loop which was not enough to gain this mark.
Only a small number of candidates gained both marks available.
www.dynamicpapers.com
(ii)
(c)
Most candidates gained at least one mark and a significant number gained both marks. A common
mistake was giving the reason as ‘value not found in array’, which was not enough in this instance,
and they did not identify that the value was not found when all the array elements had been
checked.
This question part was generally well answered. Most candidates achieved at least one mark for
this question with a significant number achieving all three marks available.
Question 2
(a)
Not well answered. Very few candidates achieved both marks available with the second mark point
being the one which proved most elusive.
(b) (i)
Many candidates did not give a detailed enough answer to gain the mark for this question. For
example, just giving the reason ‘as easier to understand’ instead of ‘easier to understand the
purpose of the identifier’.
(ii)
A range of marks awarded but few candidates obtained all three marks available. A significant
number giving the example already given in (b)(i) which was not enough.
(c)
This part was well answered by most candidates.
Question 3
(a)
Many candidates referred to program instead of problem in their answer.
(b)
Many candidates gaining at least two marks with a significant number gaining all four marks. A
common mistake was in the check made for the upper bound of the loop which meant either too
few or too many values would have been output.
(c)
A wide range of marks was awarded and a significant number of full-mark answers were seen.
Common mistakes were the use of a repeat loop instead of a while loop and calling ReCheck()
multiple times.
Question 4
(a) (i)
(ii)
Most candidates gained some marks for their trace tables with a wide range of marks being
awarded. A significant number achieved all five marks available. The mark point for the last stage
of the trace table was the one which most candidates did not achieve. They did not set Result to
–1 and then 0.
Most candidates successfully answered this question part.
(b) (i)
Few candidates identified and explained one of the two errors in the program. They were only
required to explain one of these errors.
(ii)
Few candidates gained the one mark available here for describing how the algorithm could be
corrected. This was mainly due to few candidates correctly identifying an error in the algorithm
asked for in (b)(i).
(c)
A well answered question with many candidates gaining the two marks available.
www.dynamicpapers.com
Question 5
(a)
There were some very good solutions where the full 8 marks were awarded. Many candidates
made a reasonable attempt at writing the pseudocode required with nearly all of these obtaining
some marks.
The most common mark awarded was for the function header (MP1) with many candidates gaining
the marks for initialisation (MP2) and for using a loop (MP3). The correct use of the MID function
(MP4) was also often achieved.
A common mistake was not using the STRING_TO_NUM function (MP5) appropriately or not at all or
not concatenating (MP7 and MP 8) strings correctly.
(b)
Many of the answers candidates gave were too vague or the type of check given was the same for
both checks. No mark was given where candidates just stated type check with no further details.
Only a few candidates obtained all four marks available with a significant number either being
awarded no marks for their answer or making no attempt.
Question 6
(a)
Many answers struggled to achieve any marks, with many candidates making little or no attempt at
answering the question.
Many solutions included a conditional loop (MP1) but few of these correctly set the loop termination
conditions correctly (MP7).
Few candidates correctly opened and closed the file correctly (MP3).
Few candidates correctly achieved the three linked mark points for testing if a file was empty (MP4)
and if not empty, confirming overwrite (MP5 and MP6).
(b)
A small number of excellent solutions were seen. Many answers struggled to achieve any marks,
with many candidates making no realistic attempt at answering the question. Some pseudocode
answers were seen.
A simple scenario based around a linear search based on a substring.
Although many solutions correctly used a loop to check each element of the StockID array (MP3)
only a small proportion of theses extracted the correct substring from the current array element
(MP4)
Most candidates who attempted the questions correctly achieved the marks for the procedure
heading (MP1).
Many solutions did not initialise the variables used for the Count and Total (MP2) and
misunderstood the requirement to use the Cost and Quantity arrays when calculating the Total
(MP5).
Many solutions did not produce the outputs in the required manner.
(c)
A small number of excellent solutions were seen. Many candidates made no realistic attempt at
answering the question. Some pseudocode answers were seen.
Many solutions started with a correct function header but in some cases, there was no function end
(MP1). Some candidates attempted to pass a parameter where none was required.
Many solutions also achieved the declaration and initialisation mark (MP2) along with the correct
use of a for loop to iterate through 10 000 elements (MP3).
Most solutions did not skip unused elements in the Stock array (MP4).
www.dynamicpapers.com
Although solutions often did not correctly extract the correct group from the current element of
StockID (MP5). Some did achieve a mark (MP6) for using the LookUp function correctly by using
the value they had extracted and then a further mark (MP7) for storing the value extracted correctly
in the Summary array.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/31
Advanced Theory
Key messages
Candidates need to show an in-depth study of the syllabus topics and make good use of the appropriate
technical terminology required to answer questions this paper. Candidates, who have studied the theory and
have also practised the precise use of these tools and techniques, were able to demonstrate successfully
how they could be used to solve the problems set on the examination paper.
Candidates need to ensure that they provide the information asked for in the question set. It is not enough to
rewrite the information given in the question as an answer.
General comments
Candidates need to read examination paper questions carefully before writing an answer. For example, in
Questions 4(a)(i) and 4(a)(iv), the answer must be shown as a sum-of-products. In Questions 5(b) and
5(b)(ii), Backus-Naur Form (BNF) is required. In Question 7(d)(ii), only the instructions set out in the
question can be used in the answer.
Comments on specific questions
Question 1
(a) (i)
Most candidates correctly identified the numbers as positive or negative. A common error seen in
the justification was to omit the reference to the mantissa.
(ii)
Most candidates converted the binary values to denary for the two exponents. Correct denary
values for the two mantissas proved more challenging for some candidates. A common error was
to treat the mantissa as an integer instead of a fraction.
(iii)
Many candidates correctly calculated the denary values of the numbers.
(b)
Most candidates correctly identified the normalised number. A common error seen in the
justification was to omit the reference to the mantissa.
Question 2
(a)
Most candidates correctly identified at least one of the missing layers. A minority of candidates
provided acceptable descriptions for the Application and Internet/Network layers. Common errors
included incorrectly identifying the lowest layer as the Network layer rather than the Network
Interface Layer and incorrectly including the transport of packets in a description of the application
layer.
(b) (i)
A minority of candidates explained why communication protocols are necessary. A common error
was to define a communication protocol. An acceptable answer is ‘All data is transmitted using the
same rules and format meaning that the communication is independent of the hardware and
software used.’
(ii)
Most candidates could identify one communication protocol and state its purpose. Describing the
protocol proved more challenging for some candidates.
www.dynamicpapers.com
Question 3
Most candidates included diagrams showing bus and star network topologies. Some diagrams were clearly
labelled. A common error in either the diagram or the description of the bus network topology was to
incorrectly name the terminators at each end of the cable as terminals.
Question 4
(a) (i)
Those candidates who correctly wrote their answer as a sum-of-products usually gained full marks.
A common error was to incorrectly write P.Q.R.S for P.Q.R.S
(ii)
Many responses showed a correctly completed Karnaugh Map (K-map).
(iii)
Nearly all responses showed correct grouping.
(iv)
Most candidates provided a correct simplified sum-of-products for the answer to part (a)(iii).
(b)
Some candidates showed good use Boolean algebra to simplify the expression for X. Some
candidates did not attempt this part of question 4.
Question 5
(a)
Most candidates gave acceptable reasons why each statement was invalid.
(b)
Nearly all candidates correctly completed the BNF for <operator> and <digit>. Many
candidates correctly completed the BNF for <variable> and <unsigned_integer>. A minority
of candidates correctly completed the BNF for <assignment_statement>.
(c) (i)
Many candidates provided an acceptable syntax diagram for the revised variable.
(ii)
A minority of candidates provided acceptable BNF for the revised variable. Some candidates did
not attempt this part of question 5.
Question 6
(a) (i)
(ii)
(b) (i)
(ii)
Many candidates provided acceptable explanations of the use of asymmetric key cryptography.
Stating benefits of asymmetric key cryptography proved more challenging for some candidates. An
acceptable benefit is ‘Increased message security as the decryption key is only known by the
intended recipient.’
A minority of candidates provided acceptable explanations the way in which communication
security is provided by Transport Layer Security (TLS). Some candidates did not attempt this part
of question 6.
Many of candidates provided acceptable situations for the use of TLS. Some candidates did not
attempt this part of question 6.
Question 7
(a) (i)
(ii)
The majority of candidates correctly identified the system as a control system.
Providing a justification proved more challenging for some candidates. An acceptable answer is
‘The system uses feedback to automatically control the heater and air conditioning unit using
actuators.’
(b)
Many candidates correctly identified the containers where the temperature was out of range and
gave the values in denary. A common error seen was to give the value of the temperature in
container 4 as 254 degrees.
(c)
This question part was generally correctly answered.
www.dynamicpapers.com
(d) (i)
Some candidates showed good understanding of the container control system by clearly explaining
the purpose of each instruction it applied to the container control system. For example, a
description of the first instruction:
LDD
300
loads the accumulator with the current status of the heaters and air conditioning
units held in location 300
A common error seen was to copy the explanation from the table and not apply it to the container
control system.
(ii)
Most candidates completed the short assembly language program. A common error was to load
the data from another address (304).
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/32
Advanced Theory
K