Computer Science (9608) · Oct/Nov 2020 · Examiner report
Cambridge Computer Science (9608) examiner report, Oct/Nov 2020 — 9608/O/N/20, file 9608_w20_er.pdf.
Text of this paper
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/11
Written Paper
Key messages
Candidates must read each question carefully and follow any instructions given when answering the
questions. Questions may address topics in various ways and it essential that candidate answers reflect this.
Some questions require candidates to apply their knowledge to a particular scenario. In these instances, it is
essential that answers refer to the context for full marks to be awarded.
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
database or file and table, or memory and storage. Candidates must also understand that if acronyms are
expanded, the correct terms for each initial will be expected.
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.
General comments
Overall, the standard of presentation was good. Most Candidates’ responses were clear to read.
Converting between different representations of data and tracing a low-level language program were usually
carried out successfully. Candidates found questions about the theory of databases and IP addressing more
challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
Candidates generally answered this question well. The question asked candidates to draw one or more lines
to link each language translator to the most appropriate statement or statements. Some candidates need to
understand that while both a compiler and an interpreter will detect errors, neither program is usually able to
correct the error.
Question 2
(a)
This question required some application of knowledge. The question asked the benefits to the
veterinary surgery of upgrading their database. Many answers were generic statements about the
benefits of relational databases over file-based systems. There were few descriptions of the
benefits to the surgery. Some candidates should understand that when asked for a benefit answers
such as ‘it is better’ or ‘it is easier’ without any further explanation will not be given credit at this
level of study.
(b) (i)
This question also required application of knowledge to the given SURGERY database. Many
answers were generic statements about the requirements of 3NF without any application to the
given tables.
(ii)
There were very specific instructions given in the stem of this question. Candidates were told that
the appointment table did not need to change, yet some answers included a changed appointment
www.dynamicpapers.com
table. Candidates were also instructed to identify the primary key(s) in each table. Some otherwise
correct answers had no primary keys identified in any way. Some candidates did not copy the
attribute names correctly from the given tables. These candidates need to understand that if
attribute names are given in a question they must be correctly copied when used in an answer.
(c) (i)
There were many correct answers to this question. Some candidates should understand that SQL
stands for Structured Query language.
(ii)
Many candidates found writing the Data Definition Language (DDL) statement challenging. There is
considerable confusion between the use of the UPDATE statement and the ALTER statement.
(iii)
Many candidates correctly completed the SELECT clause and one part of the WHERE clause, that
is, StaffID = 'JK1'. Completing the second part of the WHERE clause and the ORDER BY
clause was more challenging. Some candidates should understand that the SQL keyword for a sort
in descending order is DESC. Some candidates did not copy the attribute names correctly from the
given tables. These candidates need to understand that if attribute names are given in a question,
they must be correctly copied when used in an answer.
(d) (i)
(ii)
(e) (i)
(ii)
There was considerable confusion between verification and validation. Many candidates described
two validation checks rather than two verification checks. Some candidates who did describe
verification checks should understand that a description of double entry that just says ‘enter the
data twice’ is not enough. There needs to be an indication of a comparison between the two
entries.
Many candidates described verification rather than validation. This question also required some
application of knowledge. Some candidates should understand that paraphrasing the question is
not enough. An example of a good answer is, ‘A format check could be used to validate that the
time is entered in the format <digit><digit><colon><digit><digit>’.
Many candidates correctly completed the description.
Many candidates were able to correctly identify two authentication techniques that could be used.
By far the most popular choices were password and biometrics. Some candidates should
understand that encryption is not an authentication technique.
Question 3
(a) (i)
(ii)
(b)
There were many interesting and imaginative responses to this question. Some candidates did not
read the question carefully enough and gave generic answers not relating to the product.
There were also some good answers to this question. Some candidates need to understand that
for two marks two distinct points must be made. Some answers about Ria and her team acting
ethically towards their colleagues were the same point written in two different ways.
The identification of the types of licences was answered very well. Some candidates found it more
challenging to justify their selection.
Question 4
(a)
Most candidates were able to successfully trace this code.
(b)
There were many correct answers for this question.
(c)
Candidates found tracing this code more challenging. Some candidates need to improve their
understanding of indirect addressing.
(d)
There were many correct answers to this question. The most common incorrect answer was the
writing of Op codes as mnemonics rather than identifying the modes of addressing.
(e)
Candidates generally answered this question well. The most common incorrect responses were to
tick the input and output of data column for STO 120 and LDD 20 instead of the data movement
column.
www.dynamicpapers.com
Question 5
(a) (i)
(ii)
(b) (i)
Almost all candidates correctly identified the streaming method and there were some excellent
reasons why this was the method used. Some candidates found justifying their choice more
challenging. Statements such as ‘because he is watching it at the same time as it is taking place’
which simply repeat the wording of the question are not enough.
There were some excellent responses for this question. The most popular reasons for the
difference were issues of connectivity, buffer size and hardware capabilities. Some candidates
should understand that if the question asks for three reasons, all the reasons given must be
different.
There was considerable confusion when answering this question between progressive encoding
and compression methods. Many candidates described the use of Run Length Encoding (RLE) on
the frames rather than describing how the frames would be encoded for transmission.
(ii)
Many candidates recognised that some lines were the same in the two frames and were able to
state correctly that these lines would not need to be retransmitted.
(iii)
There were many correct answers to this question.
(iv)
Candidates found this question challenging. The most frequent answer was a file type, usually one
of those given in the question.
Question 6
(a)
Some candidates found converting the given denary integer into a two’s complement binary integer
challenging, especially as the denary value was a negative number. Some candidates converted
the value given using a sign and magnitude representation.
(b)
There were many correct answers to this question. Some candidates correctly converted F in
Hexadecimal to 15 in denary and zero in Hexadecimal to zero in denary, but then simply added
these values together giving an incorrect answer of 15 instead of correctly multiplying the 15 by 16
before the addition. Some candidates did not read the question carefully and converted the
Hexadecimal value to binary rather than denary.
(c)
There were many correct answers to this question.
(d)
There were many correct answers to this question. Some candidates correctly converted each
nibble but then incorrectly added their answers together.
Question 7
This was another question that required the application of knowledge. Some candidates should understand
that when a question asks for the differences, it is necessary to make clear which of the items is relevant. It
is not enough to say, for example, ‘One file will take a long time to download, the other will not’. A better
answer is, ‘The 98 kHz file will take longer to download than the 44.1 kHz file’.
Question 8
(a)
There was generally a good understanding that a private IP address gave the laptop greater
security and some candidates were able to correctly state why the router had both a public and a
private IP address. Some candidates need to improve their understanding of the difference
between a private and a public IP address. Some answers incorrectly stated that the private IP
address was used to allow the laptop to connect directly to the Internet.
(b)
There were some excellent answers to this question. Some candidates need to improve their
understanding of the operation of the Domain Name System (DNS).
(c)
There were many excellent answers to this question. Some candidates need to understand that the
range of values allowed in an IPv4 address is 0 – 255, not 0 – 256.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/12
Written Paper
Key messages
Candidates must read each question carefully and follow any instructions given when answering the
questions. Questions may address topics in various ways and it essential that candidate answers reflect this.
Some questions require candidates to apply their knowledge to a particular scenario. In these instances, it is
essential that answers refer to the context for full marks to be awarded.
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
database or file and table, or memory and storage.
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.
General comments
Overall, the standard of presentation was good. Most Candidates’ responses were clear to read.
Converting between different representations of data and tracing a low-level language program were usually
carried out successfully. Candidates found questions about the theory of databases more challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
(a) (i)
There were many correct answers to this question. The most common error was converting the
denary value 105 to the positive binary number 0110 1001 instead of converting to Binary Coded
Decimal (BCD).
(ii)
Some candidates found converting the two’s complement binary integer into denary challenging,
especially as the answer was a negative number. Some candidates correctly showed –128 + 63
but then gave the answer as 65, without the minus sign. Others treated the value given as sign and
magnitude and so gave –63 as the answer. 191 was also a frequent incorrect answer, where the
value had been assumed to be unsigned binary. Some candidates need to understand how to
differentiate between the various representations of binary numbers.
(iii)
There were many correct answers to this question. Some candidates correctly converted A in
Hexadecimal to 10 in denary and B in Hexadecimal to 11 in denary, but then simply added these
values together giving an incorrect answer of 21 instead of correctly multiplying the 10 by 16 before
the addition. Some candidates did not read the question carefully and converted the Hexadecimal
value to binary rather than denary.
(b) (i)
Many candidates found this question challenging. The question asked how the computer uses
ASCII codes to represent characters. Answers were often a description of the ASCII character set,
or a description of how characters input via a keyboard are converted. There was also confusion
between the number of bits used to store each character, 7 (or 8), and the total number of
www.dynamicpapers.com
combinations, 128 (or 256). A common incorrect answer was that each character takes 128 bits to
encode.
(ii)
Candidates had little difficulty converting the three given characters to their equivalent denary
ASCII codes. Some candidates then inexplicably added the three denary values together giving an
incorrect answer of 267. Some candidates inserted punctuation symbols as separators between
the three values. On this occasion these were ignored, in future that will not be the case. Some
candidates gave correct answers in binary or Hexadecimal.
(iii)
Almost all candidates were able to successfully calculate the denary ASCII code for the character
‘H’.
Question 2
(a)
This was a question that required the application of knowledge. Candidates were asked to apply a
given method of file compression (run-length encoding) to a text file. Many candidates incorrectly
described other coding methods of compression rather than RLE. Some candidates ignored the
text file given in the question and described the compression of images, which was not required.
(b)
Many candidates found this question challenging. There appeared to be little understanding that
written text has few repeated sequences of the same character and hence storing a copy of the
character and a count of the number of consecutive occurrences, especially when the count was
often 1, would take more storage space than storing just the sequence of different characters.
Question 3
(a)
Candidates generally this question well. The last four spaces were most often all correctly
completed. The first space was the one most likely to be incorrect. Candidates should understand
that the Von Neumann model for a computer system used the stored program concept, where both
data and instructions are stored in memory.
(b) (i)
There were many very good attempts at tracing this program. There were very few answers that
did not score any marks. Some candidates misinterpreted the instruction at address 51 and added
the denary value 80 into the accumulator instead of the contents of address 80, but then were able
to get back on track from the instruction in address 53. Some candidates incorrectly included the
word END in the output column.
(ii)
This was a clear example of a question where many candidates had not followed the instructions.
The command statement says tick one box in each column. Many candidates had ticked more than
one box in both the first and second columns.
Question 4
(a)
Many of the answers seen for this question were completely correct. Incorrect answers were most
often due to the candidate misinterpreting the position of the brackets in the expression and giving
the truth table for X = (A NOR B) AND ((C XOR A) OR B) instead of for the expression given in the
question.
(b)
Many candidates found it challenging to give complete descriptions of the two gates and hence the
difference between them. Answers such as, ‘An AND gate outputs 1 if both inputs are 1’ are not
enough for the mark. While clearly a true statement, it does not show the exclusivity of the output.
There is no indication that any other combination of inputs results in a zero output. Similarly, for the
NAND gate, giving an output of zero when both inputs are 1. Answers stating that a NAND gate is
the opposite of an AND gate are also not enough for a mark. There needs to be some indication
that the NAND gate inverts the output of an AND gate for any given pair of inputs.
Question 5
(a)
This question required some application of knowledge. The question asked the benefits to the
teacher of using a relational database. Many answers were generic statements about the benefits
of relational databases over file-based systems, but there were few descriptions of the benefits to
the teacher.
www.dynamicpapers.com
(b) (i)
(ii)
Many candidates need to improve their understanding of the developer interface of a DBMS. There
was some confusion with Integrated Development Environments (IDEs) and many answers
repeated benefits from part (a) and explained how the DBMS helped rather than the developer
interface.
There were some very good answers to this question. Some candidates need to understand that
the contents of a Data Dictionary are metadata rather than data.
(c) (i)
There were some very good answers to this question. The Foreign key row was the one most likely
to be incorrectly completed. A few candidates reversed the field names and table names.
(ii)
This question required application of knowledge to the given RESULTS database. Many answers
were generic statements about the requirements of 1NF, 2NF or 3NF without any application to the
given tables.
(iii)
Many candidates correctly completed the SELECT, FROM clauses and the insertion of the keyword
WHERE. Completing the WHERE clause was more challenging. Some candidates did not copy the
attribute names correctly from the given tables. These candidates need to understand that if
attribute names are given in a question they must be correctly copied when used in an answer.
(iv)
(d) (i)
(ii)
Three methods of data validation were usually correctly identified. Many candidates found it more
challenging to give a description of the method applied to the RESULTS database. Vague
statements such as, ‘a type check to check the type of the data’ is insufficient for credit at this level
of study. An example of a good answer would be, ‘Method: A range check Description: The teacher
can use a range check to ensure that the mark input for a test result is between zero and the
maximum marks for that test’.
There were some excellent answers to this question. Many candidates understood the need to
keep the database secure.
There was some confusion between data backup and disk mirroring, backup was better understood
than disc mirroring. Some candidates need to improve their understanding of backup and that it is
not enough to store the backed-up data on an external hard drive unless that external drive is
moved to a different location. Some candidates correctly identified on-line storage as a suitable
location. Some candidates also need to understand that paraphrasing the question will not be
enough for credit. Statements such as ‘data backup is taking a backup of the data’ are not enough.
The concept of disk mirroring proved challenging to many candidates and there needs to be an
improved understanding that disc mirroring requires the simultaneous writing of data to two (or
more) discs and that in case of disc failure operations can be immediately switched to the other
disc with no loss of data as the second disc is an exact replica of the first one.
Question 6
(a)
There were many interesting and imaginative responses to this question. Some candidates did not
read the question carefully enough and explained ways in which Malika was acting ethically rather
than the manager.
(b)
There were also some good answers to this question. Some candidates need to understand that
for two marks two distinct points must be made. Some answers about Malika acting ethically were
the same point just written in two different ways.
(c)
There were many interesting responses to this question too. Popular correct suggestions were
about talking to Malika and her colleagues, or organising team building events.
Question 7
(a)
Many candidates found this question challenging. These candidates need to understand that while
IPv4 is usually shown in denary notation, it can also be shown in Hexadecimal notation. Some
candidates need to improve their understanding of the number of bits required for an IPv6 address.
www.dynamicpapers.com
(b)
There were some good answers to this question. Some candidates found it more challenging and
there was considerable confusion between static and dynamic IP addresses and static and
dynamic RAM.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/13
Written Paper
Key messages
Candidates must read each question carefully and follow any instructions given when answering the
questions. Questions may address topics in various ways and it essential that candidate answers reflect this.
Some questions require candidates to apply their knowledge to a particular scenario. In these instances, it is
essential that answers refer to the context for full marks to be awarded.
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
database or file and table, or memory and storage.
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.
General comments
Overall, the standard of presentation was good. Most Candidates’ responses were clear to read.
Converting between different representations of data and tracing a low-level language program were usually
carried out successfully. Candidates found questions about graphics and IP addressing more challenging.
Comments on specific questions
These comments should be read in conjunction with the published mark scheme for this paper.
Question 1
Candidates generally answered this question well. Some candidates need to understand that a program that
rearranges the data on a disk so that files are contiguous is defragmentation software, not fragmentation
software.
Question 2
There were many correct answers to this question. The most common incorrect link was from progressive
encoding to the description that stated that only the changed pixels were transmitted.
Question 3
(a)
There were some very good answers to this question. Many candidates found it challenging to
describe in enough detail why an interpreter would be used during the writing of a program.
Answers such as, ‘the interpreter is used for debugging’, are not enough as this statement could
equally apply to a compiler. A better answer is, ‘an interpreter is used because debugging is made
easier as the errors can be corrected in real time’.
(b)
There were many correct answers to this question. Some vague statements referred to not needing
the code after compilation, rather than saying that the source code would not be needed to run
the program.
www.dynamicpapers.com
(c)
There were only a small number of correct answers to this question. Many candidates need to
improve their understanding of the process of partial compilation to an intermediate code which is
then interpreted. There was considerable confusion about the order of use of the translation
programs. Many responses just repeated answers given in parts (a) and (b).
Question 4
(a) (i)
Many candidates need to improve their understanding of IP addresses. The question stated in the
stem that the laptop was on a home network and that the laptop connected to the Internet through
a router. A popular answer to this question was, ‘the laptop has an IP address so that it can
connect to the internet’. This says little more than the question stem. A better answer is, ‘the laptop
has a (private) IP address so that it can be identified on the home network and so that the router
can direct data from the internet to the laptop’.
(ii)
There were some good answers to this question. Most popular was the idea of better security as
the laptop’s IP address would not be universally visible.
(iii)
Some candidates should understand that when a question asks for the differences, it is necessary
to include definitive statements about both items under discussion. It is not enough to say, for
example, ‘IPv4 had four groups of digits, IPv6 has more’. A better answer is ‘IPv4 has four groups
of digits, whereas IPv6 has 8 groups of digits’. A popular misconception was that IPv6 used 6 bytes
rather than 16 bytes.
(b)
Many candidates correctly described the cell phone network as a communication system to support
the Internet. Some candidates found describing a second method more challenging.
(c) (i)
Many candidates were able to correctly describe the first two lines of PHP code. The last two lines
proved to be more challenging. A frequent error in an otherwise correct final description was that
<br> meant that the text was emboldened, rather than that the text was followed by a line break.
Candidates should take care when copying variable names from the code. The $ symbol was often
omitted.
(ii)
(d)
There were many correct answers to this question. JavaScript was easily the most popular correct
answer.
This question requires an explanation of how parity checks protect the integrity of the data. It does
not ask for an explanation or a description of parity. Many candidates need to ensure that they read
the question carefully. Descriptions of odd and even parity were often given, with little or no
reference to how the use of parity checks protects data integrity.
Question 5
(a) (i)
(ii)
There were many correct answers to this question. Some candidates need to improve their
understanding of the use of the brackets in register transfer notation.
In general, candidates correctly answered this question.
(b)
There were many correct answers to this question. Some candidates need to improve their
understanding of the buses are bidirectional.
(c) (i)
There were many correct answers to this question.
(ii)
(d) (i)
There were many very good attempts at tracing this program, and although some candidates found
it challenging there were very few answers that did not score any marks. Some candidates
misinterpreted the instruction at address 504 and added the denary value 902 into the accumulator
instead of the contents of address 902, but then were able to get back on track from the instruction
in address 506.
Almost all candidates were able to successfully calculate the denary value of the unsigned binary
integer.
www.dynamicpapers.com
(ii)
Some candidates found converting the two’s complement binary integer into denary challenging,
especially as the answer was a negative number. Some candidates correctly showed –128 + 74
but then gave the answer as 54, without the minus sign. Others treated the value given as sign and
magnitude and so gave –74 as the answer. Some candidates need to understand how to
differentiate between the various representations of binary numbers.
(iii)
There were many correct answers to this question. Some candidates correctly converted the two
nibbles into 12 and 10 in denary then stated that these could not be Binary Coded Decimal (BCD)
as each value was greater than or equal to 10 instead of greater than or equal to 9.
Question 6
(a)
There were many interesting and imaginative responses to this question. Some candidates did not
read the question carefully enough and explained ways in which Benedict could act ethically rather
than Lara.
(b)
There were some good answers to this question. Some candidates need to understand that for two
marks two distinct points must be made. Some answers about Lara acting unethically were the
same point just written in two different ways.
(c) (i)
There were many correct answers to this question.
(ii)
There were many correct answers to this question. A commercial licence and a shareware licence
were the most popular correct answers.
(iii)
There were many correct answers to this question. An open-source licence was the most popular
correct answer.
Question 7
(a)
There were a small number of excellent answers to this question. Many candidates found it
challenging to describe the encoding of the vector graphic logo. There was a lot of confusion with
bitmapped graphics and many answers described the encoding of a bitmap using pixels rather than
the encoding of a vector graphic.
(b) (i)
Many candidates correctly calculated an approximation of the file size of the scanned image. Some
candidates need to ensure that they read the question carefully. The question asked for the answer
rounded to the nearest MB.
(ii)
Many candidates could identify a method of lossy compression for the scanned image. Some
candidates found it challenging to then describe the method identified. There was some confusion
with lossless compression and candidates describing how run-length encoding (RLE) would be
used to compress the image.
Question 8
(a)
There were many correct answers to this question.
(b)
There were many correct answers to this question.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/21
Written Paper
Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and be able to apply them to the scenarios presented.
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. Answers should be as precise and
specific as possible and contain enough detail. For example, simply answering ‘easier to debug’ is not
enough when a question asks for the advantages of modular program design.
Some candidates showed a lack of programming experience. A common mistake was the inclusion of
unnecessary features, for example, file handling operations in a task where none are required, or the
inclusion of code fragments from other solutions such as ‘element swap’ statements from a bubble sort.
Programming skills are best learnt through the practical process of designing, writing and testing programs.
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 instead of RETURN. Many
candidates were 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 each question carefully before attempting to answer it. Questions may address
topics in various ways, and it is often necessary to apply knowledge in a specific way.
General comments
Candidates who offer solutions using Python need to take care to maintain the correct indentation.
A significant number of candidates demonstrated skill levels suggesting they had insufficient programming
experience.
If candidates cross out any answers, they must write any new answers clearly. Many candidates used 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
It is recommended that the following specific comments be read in conjunction with the published mark
scheme for this paper.
Question 1
(a)
Many candidates gained at least two marks, usually from the list ‘Design’ ‘Code’ and ‘Test’. Several
answers correctly identified a preliminary analysis stage. Imprecise names such as ‘planning’ were
often used for this.
General terms such as ‘Development’ were common, as were terms such as ‘execution’,
‘compiling’ and ‘editing’.
A small number of candidates simply responded with unrelated computing terms such as ‘Iteration,
Procedure and Execution’ or ‘Input Process Output’
www.dynamicpapers.com
(b)
The majority of candidates correctly defined Corrective Maintenance, often in very simple terms
such as ‘fixing bugs in the program’.
Adaptive maintenance was not answered as well. Many answers referred to a change being made,
but not to the reason for the change. Good responses often referred to change in specification or
required functionality.
(c)
Most candidates correctly stated that a transferrable skill would help when learning a new language
or when trying to understand a program in an unfamiliar language. Candidates often omitted to
state that it is the skill in the known programming language which leads to the ability to learn and/or
recognise specific features in a different programming language.
Some answers incorrectly stated that it was the ability of a programmer to transfer their skills to
other members of their programming team and a small number referred to the transfer of data
between programs.
(d)
Many candidates understood the problem but often their description was either imprecise or
incorrect. Some referred to identifier naming rules, such as ‘shouldn’t start with a number’ or the
fact that names had to be ‘unique’, which these were.
Many candidates stated that it would be easy to confuse the variables, but far fewer went on to
explain that this would make the program more difficult to understand.
(e)
Most candidates evaluated the four expressions correctly.
Question 2
(a)
A minority of responses presented a clear and concise structured English description of the task. A
wide range of styles was seen, ranging from pure narrative text to complete program code. This
suggested that the use of structured English to describe an algorithm is not well practised.
Many candidates correctly identified the main structure of the solution: the need for input, a loop
including some basic processing and a final output, following a comparison of some kind. Despite
the question specifying ‘prompt and input’, the output of a prompt was omitted by many.
Candidates generally offered imprecise descriptions of the steps required. For example, the
statement ‘check the file for the user name’ is not adequate.
Often, an answer would state that a file needed to be opened but would not specify a mode or a
close operation.
Many recognised a loop was needed but did not state that this needed to continue until the end of
file was reached. Very few stated that the search should stop as soon as new user name is equal
to the name read from the file.
A significant number of candidates had not clearly understood the requirements of the problem and
assumed that if the user name input was not found then it was to be written to the file. Similarly,
some felt that if the name was not found then the user was required to enter subsequent names
until one was found.
(b)
The majority of candidates answered this question correctly.
Some candidates did not correctly count the number of characters needed using the MID() and
LEFT() functions.
(c)
Many candidates provided correct response for the two-line numbers answers, and for recognising
one of the function calls.
Not many suggested the term ‘count controlled loop’ as given in the syllabus. The term ‘conditional
loop’ was seen quite often.
www.dynamicpapers.com
Few candidates demonstrated an understanding of what was meant by the ‘scope’ of the variable
OutString.
Question 3
(a)
Many good responses centred around there not being enough lines in the file for the given
parameter values, or the fact that the given file might not exist.
The question stated that this function had been tested and was known to work with the given data
but still ‘syntax error’ was often suggested as a possible cause of the ‘unexpected result’
Candidates offering ‘logical error’ as a reason needed to provide some additional explanation or
description.
Many answers focussed on the code itself (such as parameter order and syntax statements) rather
than what the procedure was expected to do.
(b)
Many candidates exhibited a very basic understanding of how a text file is processed. A common
mistake was to assume that it was possible to go directly to a required line in the file without
understanding that the text file must be read line by line from the start.
Several solutions, usually programming in Python, read the whole file into an array then used a
single FOR loop to print the required lines using array indexes, demonstrating good problemsolving skills by these candidates.
Most solutions included a count-controlled loop. However, often the statement giving the range was
incorrect. Candidates who opted for the two-loop ‘seek’ solution usually had the first loop correct.
(c) (i)
Most candidates answered this question correctly by describing either a logical or run-time error.
A significant number named and described a syntax error instead.
(ii)
Most candidates correctly referred to ‘white-box testing’ or to carrying out a ‘dry-run with the use of
a trace table’.
The question asked for a technique that may be used to identify an error rather than just to detect
the presence of an error and this limited the scope of acceptable answers.
(d)
‘Tried and tested’ and ‘readily available’ were the two most popular answers.
Many answers did not distinguish between the use of subroutines in general and the availability
and use of library subroutines.
Many answers for this question were in complete. For example, stating that library routines ‘save
development time’ without the pre-cursor that this is possible as they are pre-written and readily
available.
Question 4
(a)
Many candidates understood the requirements and gained good marks. Many candidates did not
put quotation marks around string values.
The question clearly states the data types of each parameter but very often this seemed to have
been overlooked. A common mistake was to suggest values other than TRUE or FALSE for
parameter AddComma.
The question asked for two tests to address different aspects of the function. Validation was not a
feature and so the use of ‘erroneous’ data values was not correct.
(b)
There were some very good attempts at this question. However, there were many responses that
indicated low level of knowledge and understanding. A significant number of candidates did not
attempt this question.
www.dynamicpapers.com
Many candidates recognised the need and correctly used the NUM_TO_STRING() function. An
occasional mistake was to assign the resultant string back to number, which was an Integer.
Several solutions successfully tested the number to see if it was greater than 999 (or checked the
length) but some then changed the value of AddComma accordingly.
There were some good attempts and ingenious ways of splitting up the number string and many of
these made correct use of the LEFT() and RIGHT() functions.
Better solutions successfully concatenated the prefix to the start of the return string A small number
of these contained an unnecessary test, for example:
IF Prefix <> ‘‘
THEN
OutString ← Prefix & OutString
ENDIF
Other issues noted were as follows:
•
•
•
not testing AddComma to determine whether a thousand-separator was required
not using Num_To_String() to convert the Integer parameter to a String
not checking that number provided to the function contained more than 3 digits.
A common final mistake was to output instead of returning the formatted string.
Question 5
(a)
Some excellent solutions were seen. Many candidates made no realistic attempt to answer this
question.
This question asked for a straightforward linear search of a 1D array. Many solutions implemented
an inefficient algorithm that would continue searching even after the required hashtag was found.
Many weaker solutions included unrequired prompt and input statements.
The use of an immediate RETURN from within a loop was condoned. A common search error
when this technique was used was to return –1 immediately if the array element was not equal to
the hashtag being searched for. For example:
WHILE Index <= 10000
IF TagString[Index] = HashTag
THEN
Return Index
ELSE
Return -1
ENDIF
(Contd.)
(b)
Some excellent solutions were seen. Many candidates made no realistic attempt to answer this
question.
Better solutions used a conditional loop which terminated if the nth occurrence was found. These
solutions usually correctly incremented a count when a Hash character was found and then
followed this with a conditional statement to check if this was the required hashtag (as given by the
function parameter).
The use of the MID() function to extract a character from the message string was recognised by
many. As a rule, solutions that gained this mark point (MP2) usually went on to also gain the next
three.
www.dynamicpapers.com
Several solutions attempted to access an individual character using an index, as might be the case
in Python.
A small number of solutions searched only for the third hashtag, as per the example given in the
module definition in the question.
(c)
There were many good solutions to this question. Some candidates displayed little or no grasp of
programming. Some candidates stated a programming language but were unable to program in the
programming language stated. Some solutions were purely pseudocode despite the question
asking for pseudocode.
Many candidates using VB attempted to access characters in a string as if they were elements in
an array.
Some correctly addressed the need to check if the character at the start position was a hash
(MP3), usually enclosing the majority of the remainder of the code in a THEN clause.
Many solutions did not correctly identify the end of a hashtag (MP6). Many of these just checked
for an empty string or a hash character.
Many solutions attempted to concatenate the characters to form the hashtag (MP7) and then return
it (MP9).
Some used an incorrect start position when extracting individual characters from the string and
testing for the termination condition. This resulted in testing the first character (a hash) which would
immediately terminate the loop.
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/22
Written Paper
Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and be able to apply them to the scenarios presented.
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. Answers should be as precise and
specific as possible and contain enough detail. For example, simply answering ‘easier to debug’ is not
enough when a question asks for the advantages of modular program design.
Some candidates showed a lack of programming experience. A common mistake was the inclusion of
unnecessary features, for example, file handling operations in a task where none are required, or the
inclusion of code fragments from other solutions such as ‘element swap’ statements from a bubble sort.
Programming skills are best learnt through the practical process of designing, writing and testing programs.
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 instead of RETURN. Many
candidates were 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 each question carefully before attempting to answer it. Questions may address
topics in various ways, and it is often necessary to apply knowledge in a specific way.
General comments
Candidates who offer solutions using Python need to take care to maintain the correct indentation.
A significant number of candidates demonstrated skill levels suggesting they had insufficient programming
experience.
If candidates cross out any answers, they must write any new answers clearly. Many candidates used 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
It is recommended that the following specific comments be read in conjunction with the published mark
scheme for this paper.
Question 1
(a)
The majority of candidates correctly answered this question.
In cases where only one correct term was given this was usually ‘Output’.
‘Procedure’ was occasionally given instead of ‘process’ and general computing terms were given in
a small number of cases.
www.dynamicpapers.com
(b)
Many candidates misunderstood the question and rather than stating what an algorithm represents,
they described one of the methods given in the question. Candidates need to be sure they have
read and understood the question before they begin to prepare their answer.
(c)
A small number of candidates offered a description of each data type rather than an example data
value.
A common error was to omit quotation marks around string or character data values.
(d)
The majority of candidates correctly answered this question.
(e)
Most candidates evaluated the four expressions correctly.
A minority of candidates wrote a modified form of each expression rather than evaluating it fully.
Question 2
(a)
Many candidates missed the requirement to ensure the values were all unique. Among those who
did attempt this, often just a simple IF… was used for a single repeat of the input values and only
relatively few solutions included a loop to repeat the input as long as the uniqueness test failed.
Two simple mistakes often made were:
•
•
not declaring Average as a real value
calculating the average using the expression A + B + C / 3 rather than (A + B + C )/3
Most candidates made some attempt to find the largest value. In many cases, the logic
implemented with a nested IF… was incorrect. Those who employed a simpler two-stage algorithm
which first found the larger of A and B and then went on to compare this with C in a second IF…
expression usually got the right answer.
(b)
Most candidates correctly answered this question.
The most common mistake was not recognising the need to use the LENGTH() function. Some
suggested the value 12, ignoring the subsequent string parameter given in the expression.
MOD() was substituted for DIV() on a number of occasions.
Some candidates attempted to use the RIGHT() function for the second expression. In some of
these cases the keyword STRING was used to provide the second parameter.
(c)
Some students correctly answered the questions, but many gave answers relating to the benefits of
using subroutines in programs rather than benefits of sub-tasks when designing algorithms.
Question 3
(a)
Many responses provided some good solutions. Other responses indicated a low level of
knowledge and understanding.
A significant number of candidates either did not attempt this question or gave a solution in
pseudocode.
MP1 and MP2 (on the mark scheme) were missed by many. The use of PROCEDURE as a keyword
in VB solutions was common.
Most solutions used four separate variables for the inputs rather than an array and many did not
check the range for the values input. The average was usually correctly calculated but any form of
appropriate tolerance was often missing or incorrect, with weaker solutions often relying on a
comparison such as '>10%':
www.dynamicpapers.com
Better solutions sometimes included the tolerance into the test on each wheel, such as:
IF WheelA > (Average * 1.1) OR WheelA < (Average * 0.9)
THEN
(contd.)
The use of four separate variables often led to repeated lines of essentially identical code.
Quite a few solutions use output instead of return and some omitted this last step completely.
(b)
A common mistake was for the data for Test 1 to indicate a skid.
The clearest responses gave 4 identical (or very closely matched) values for Test 1 and 3 identical
numbers and one very different one for Test 2.
Several answers indicated a lack of understanding of the scenario description. Few candidates
produced obvious and easy values for and against skidding. Many sets of values were
unnecessarily complicated.
Question 4
(a)
Many candidates provided correct solutions.
There were a many fundamental flowchart errors. The absence of an END symbol was one
example as well as the absence of the output prompt.
Candidates should be aware that flow lines must be present in a flowchart. Many decision
diamonds had only one output, and where there were two outputs it was not uncommon for these
to be unlabelled.
Imprecise descriptions were common in the decision boxes intended to implement steps 3 and 4 of
the original algorithm.
A common mistake when testing the number input was the use of the incorrect logical operator
leading to an impossible condition:
IF Number < 0 AND Number > 9
THEN
(Contd.)
(b) (i)
This question split candidates into two distinct groups. Many good answers were seen, often
leading to accurate and complete trace solutions. Many candidates found this challenging and
offered little or no answer.
Many candidates did not use quotation marks to denote a character or string value.
(ii)
Most candidates correctly answered this question.
(iii) and (iv) These were very challenging questions and were only successfully answered by a small
number of candidates, who exhibited a well-developed ability to analyse the pseudocode in order to
identify the problem. Most of these correctly stated that the problem was related to the presence of
repeated characters in String2.
Many answers suggested that the problem was related to the use of unequal length strings, despite
the question stating that the function was for use on two equal-length strings.
Many candidates offered no answer, and many others related to general aspects of testing, rather
than to a specific problem with the given algorithm.
There were few suggestions for part 4(b)(iv). Of those that did suggest a solution, many of these
related to first comparing the lengths of the two strings.
www.dynamicpapers.com
(v)
Most candidates answered this correctly.
Black-box testing was the most common incorrect answer.
(vi)
Single stepping and breakpoints were both well-known features; a variable watch window perhaps
less so.
There was general confusion between features that would be used when writing a program (such
as a context-sensitive prompt) and features that would be useful for later debugging.
Many answers imprecisely referred to error detection, without mentioning that it would be syntax
errors that would be detected and that these would be highlighted, or indicated in some way.
Confused phrases such as ‘Dynamic Syntax Errors’ were common, as were general testing terms.
Question 5
(a)
There were some excellent solutions to this question. Many struggled to provide a sensible
solution.
This question asked for a straightforward initialisation of a 1D array.
A significant number of candidates confused initialisation with declaration. Many solutions
consisted only of declaration statements.
Many solutions omitted the procedure declaration and/or end statement.
The question asked for pseudocode, so square array index brackets were required and the use of
a back-arrow symbol for assignment is also expected.
(b)
There were some excellent solutions to this question. Many struggled to provide a sensible
solution.
Many candidates omitted the function header.
File open and close errors commonly included omitting quotation marks around the literal filename,
opening the file in a mode other than WRITE, and not closing the file.
Most candidates included some form of loop in their solution and many recognised that a simple
FOR… loop which iterated through the 10000 elements in the array was all that was required.
Solutions where the file had been opened in READ mode understandably often also included an
incorrect conditional WHILE NOT EOF() loop.
A successful attempt at identifying an unused element (MP4) was included in many solutions.
Many used incorrect array index brackets.
The formation of the string to write to the file (MP5) often lacked the use of the NUM_TO_STRING()
function.
Many responses did not initialise the counter variable.
Many answered showed some confusion between OUTPUT and RETURN.
(c)
There were some excellent solutions to this question. Many struggled to provide a sensible
solution.
Statements for creating a function heading and declaring and initialising a variable (MP1 and MP2)
were often absent.
File handling (MP 3 and MP5) was usually correct in Python solutions but less frequently in VB,
where the syntax used for opening of files was often incorrect.
www.dynamicpapers.com
Most candidates who attempted this question appreciated the need for a loop that ran until the end
of file was reached (MP4).
Many solutions employed some sort of split() method, although a few good solutions were
based on a linear search for the comma separator, and subsequent sub-string operations. Many
candidates using VB attempted to access characters in a string as if they were elements in an
array.
The type conversion required before the count string could be written to the array was often
missing (MP7).
www.dynamicpapers.com
COMPUTER SCIENCE
Paper 9608/23
Written Paper
Key messages
The emphasis for this paper is on the application of practical skills. Candidates need to have developed
these and be able to apply them to the scenarios presented.
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. Answers should be as precise and
specific as possible and contain enough detail. For example, simply answering ‘easier to debug’ is not
enough when a question asks for the advantages of modular program design.
Some candidates showed a lack of programming experience. A common mistake was the inclusion of
unnecessary features, for example, file handling operations in a task where none are required, or the
inclusion of code fragments from other solutions such as ‘element swap’ statements from a bubble sort.
Programming skills are best learnt through the practical process of designing, writing and testing programs.
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 instead of RETURN. Many
candidates were 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 each question carefully before attempting to answer it. Questions may address
topics in various ways, and it is often necessary to apply knowledge in a specific way.
General comments
Candidates who offer solutions using Python need to take care to maintain the correct indentation.
A significant number of candidates demonstrated skill levels suggesting they had insufficient programming
experience.
If candidates cross out any answers, they must write any new answers clearly. Many candidates used 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
It is recommended that the following specific comments be read in conjunction with the published mark
scheme for this paper.
Question 1
(a)
Most candidates correctly stated that the process involved breaking down a task into sub-tasks. A
large number also explained that this would make the problem easier to solve.
A common mistake was to refer to breaking down a program, often stating that the process would
make the code ‘more efficient’.
www.dynamicpapers.com
(b)
This question was answered correctly by most candidates.
Common problems were the omission of quotation marks around an example of a CHAR and
offering STRING or REAL that had been given in the question and were therefore excluded.
Candidates need to read the given question carefully.
(c) (i)
(ii)
Most candidates correctly answered this question and referred to a language feature such as a
loop or selection statement.
Many candidates correctly identified the term. Some did not make the connection between the
wording of the question and the term ‘transferrable skill’ as used in the syllabus and offered a
general statement that was often little more than a variation on the stem of part 1(c)(i).
Several candidates did not answer this question.
(d)
The phrase ‘identify and locate’ in the question was missed by many and so ‘Black-box testing’ was
a very popular incorrect answer.
Many candidates correctly identified an IDE feature. Many of these gave two other IDE features,
which was not required.
A small but significant number of candidates offered no answer.
Question 2
(a)
A minority of candidates provided a clear and concise structured English description of the task. A
wide range of styles was seen, ranging from pure narrative text to complete program code. This
suggests that the use of structured English to describe an algorithm is not well practised.
Many candidates correctly identified the main structure of the solution: initialisation of the total and
count, a loop including the input of a student mark together with some basic processing, and a final
output following a calculation of the average. Many recognised a loop was needed but did not
specify that this needed to continue until all 30 marks had been input.
Some descriptions attempted to enter all 30 marks at once.
A small number of solutions included an output statement within the loop.
Candidates generally gave imprecise descriptions of the steps required. For example, the
statement ‘look in the list of 30 students’ is not enough.
(b)
Most candidates provided clear statements of each error.
There was no obvious pattern for the few incorrect answers, but the phrase ‘COUNT is not defined’
was seen on several responses as a description of the fourth error.
(c)
Most candidates, who provided an accurate solution to this simple algorithm fragment in their
chosen program language.
Although algorithm mistakes were rare, the one seen most often involved replacing the initial
WHILE... clause with an IF statement. The consequent loss of meaning of the algorithm usually
resulted in the loss of at least two marks.
A common mistake in Python was to use on a single = in a conditional statement.
A small number of candidates gave a solution in pseudocode. In some cases, this followed the
declaration of the proposed programming language.
www.dynamicpapers.com
Question 3
Many candidates exhibited a reasonable grasp of this standard algorithm.
Most identified the need for an inner and outer loop. In many cases these were both count-controlled, but
often the outer loop was conditional and terminated if no swap operation had been performed during the
inner loop. An occasional boundary error on the inner loop meant that the resulting comparison of element
‘n+1’ would be beyond the upper bound of the array.
The element comparison and the swap operation were both usually correct.
Several solutions included a reducing boundary in the outer loop.
A common problem when two count-controlled loops were used was to compare elements using two different
indices, rather than comparing adjacent elements.
For example:
FOR J ← 1 TO 4999
FOR K ← 1 TO Boundary
IF ProdNum[J] > ProdNum[K]
(contd.)
Many simple syntax errors were seen, such as:
•
Incorrect procedure heading (use of ‘PROCEDURE’ in VB and missing colon in Python)
•
Use of a single ‘=‘ in a Python comparison
•
Incorrect brackets for array indices
•
Use of backarrow for assignment
•
Terminating a loop with ENDFOR.
Question 4
(a)
There were some excellent solutions to this question. Many struggled to provide a sensible
solution.
This question asked for a linear search through a 1D array, arguably one of the simplest
algorithms.
Many solutions omitted the function declaration and/or end statement (MP1).
The declaration o