Computing (9691) · May/June 2012 · Examiner report
Cambridge Computing (9691) examiner report, May/June 2012 — 9691/M/J/12, file 9691_s12_er.pdf.
More Computing (9691) papers
Other years
- Oct/Nov 2014O/N 2014Examiner report
- May/June 2014M/J 2014Examiner report
- Oct/Nov 2013O/N 2013Examiner report
- May/June 2013M/J 2013Examiner report
- Oct/Nov 2012O/N 2012Examiner report
- May/June 2011M/J 2011Examiner report
- Oct/Nov 2010O/N 2010Examiner report
- May/June 2010M/J 2010Examiner report
Text of this paper
w
w
m
e
tr
.X
w
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
ap
eP
COMPUTING
om
.c
s
er
Paper 9691/11
Written Paper
General comments
A significant number of candidates appear to be rote learning certain topics. Questions which required an
application of knowledge were overall less well answered. Candidates will need to change how they
approach computing topics. This is a challenge which many Centres and candidates, of course, will relish.
Candidates and Centres are reminded that written papers are now scanned in and marked on computer
screens by Examiners. Consequently, if a candidate writes the answer to a question on an additional page
they must indicate VERY CLEARLY to the Examiner where their revised answer is to be found. If answers
are crossed out, the new answers must be very clear so that Examiners can easily read the text and award
candidates the appropriate mark.
Comments on specific questions
Question 1
(a) (i)
Most candidates correctly wrote that ROM is non-volatile and RAM is volatile. The better
candidates also wrote that data held in ROM can not be altered, whereas in RAM data can be
altered.
(ii)
Most candidates knew that the bootstrap program must be held in ROM so that it is present when
the computer is switched on.
(iii)
Most candidates knew that the bootstrap program runs start-up sequences and loads the operating
system.
(b) (i)
Weaker candidates need to be aware not to just rewrite the question. A correct definition of an
input device is a peripheral that allows data to be entered to a computer.
(ii)
Similarly an output device is a peripheral that allows information to be reported by a computer after
processing.
(c)
Many candidates ignored the stem of the question and gave vague answers such as keyboard. A
significant number suggested a monitor as a suitable output device for blind people. A common
error was to call voice recognition an example of a hardware input device. For storage, a
significant number think USB is a storage device. These are two good examples of candidates not
thinking clearly before putting pen to paper. The better candidates suggested a Braille keyboard so
the secretary can feel the characters on each key, a Braille printer to produce documents the
secretary can read and a USB flash memory stick to take back-ups of files.
Question 2
(a)
In part (i), many candidates just re-wrote the question by saying: “it controls the operation of the
system”. There needed to be some reference to the computer here to gain the definition mark.
Part (ii) was not really answered much better; there were some very general answers which could
have been descriptions of ANY type of software.
(b)
For part (i) a large number of candidates gained credit for referring to off-the-shelf software as
being readily available. However, in part (ii) many candidates wrongly thought that you do not
need a programmer to write the software for off-the-shelf packages. The best candidates correctly
explained that off-the-shelf software is cheaper to buy because the development costs are shared.
1
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(c) (i)
Most candidates correctly identified the student could use a word processor to write an essay.
(ii)
Most candidates correctly identified the student could use a spreadsheet to store rainfall readings
and produce graphs.
(iii)
Most candidates correctly identified the student could use desk-top publishing to produce the final
project report.
(d)
There were some good attempts at answering this question. However, some candidates confused
this with time sharing systems. The best answers stated that only one user is allowed access at
any one time, that users are allocated disk space to store their files, accessed by passwords, that
individual users can have different access rights to files and software and that the system will
appear to be running more than one piece of software at a time.
Question 3
(i)
Both types of real time processing (transaction and process control/monitoring) were chosen here
by candidates. The weaker candidates struggled to define what it meant. The better candidates
defined transaction processing as immediate updating of files. Good answers stated that process
control is where the current output affects the next input.
(ii)
Computer games were often chosen as the example. Unfortunately, there needed to be some
indication as to why the game required real time processing before credit could be given. Examples
given of transaction processing included airline booking systems.
(iii)
Most candidates either chose “to avoid double booking” (transaction processing) or an immediate
response is needed (process control/monitoring).
Question 4
(i)
Most candidates could give the response that the reader reads the position of a mark on the paper
document, for example a multiple choice exam question paper. Only the best candidates could
explain that the position the reader collects is then translated into information.
(ii)
As with part (i), many candidates mentioned reading the shape of the character and for giving a
suitable example where OCR would be used. Only the best candidates had the required
understanding of how the character shape was recognised (e.g. by having a library of shapes
stored).
Question 5
This question was very fairly well answered. The majority of candidates mentioned economically possible
and technically feasible. However, many candidates just expanded on these two issues; only the best
candidates could explain further.
Question 6
Many candidates just regurgitated previous mark schemes and referred to colour blind users, use of large
fonts and the natural reading pattern of left to right. Such responses miss the point of this question. Very
few tried to fit their answer to the scenario which was the control/monitoring of a section of railway track
where the need for safety, a fast response and easy navigation would be of paramount importance. Many
candidates really need to spend a few minutes to consider the scenario presented to them before they begin
to write their answer.
Question 7
(a)
Part (i) asked for a 10-bit binary representation. Many candidates gave answers such as
100010110 which is only 9 bits. However, part (ii) gave few problems; the main error here was the
answer 344 instead of 172 (presumably this was due to candidates numbering the binary bit
positions as: 2, 4, 8, … missing out the 1 value in the right-most bit position).
2
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(b) (i)
The course level was stated as a single character, but several candidates still gave answers such
as A Level, AS Level, etc. The start date clearly needed to be in date format. However,
candidates still gave answers such as 15 May 2012 or put the date between quotes.
(ii)
This was generally well answered; although for the NumberOfPrizesWon, whilst data type integer
was correctly chosen, the most common reason given: “since it needs to be an integer value” is not
enough – it is necessary to define an integer as, for example, “the number needs to be a whole
number” or “cannot include decimals”. Likewise, the data type for AverageExaminationMark was
often correctly given as floating point or real, but the reason given was often incorrect or too vague.
All that was required was some statement to the effect that fractional values need to be stored.
Question 8
(a)
Most candidates could explain benefits of connecting computers in a local area network and define
parallel data transmission.
(b)
There was quite a bit of evidence of rote learning but the concept of circuit switching and packet
switching seemed to be reasonably well understood.
Question 9
(a)
Most candidates correctly completed the truth table for a NOR gate.
(b)
Most candidates correctly completed the truth table for the given logic circuit.
3
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/12
Written Paper
General comments
A significant number of candidates appear to be rote learning certain topics. Questions which required an
application of knowledge were overall less well answered. Candidates will need to change how they
approach computing topics. This is a challenge which many Centres and candidates, of course, will relish.
Candidates and Centres are reminded that written papers are now scanned in and marked on computer
screens by Examiners. Consequently, if a candidate writes the answer to a question on an additional page
they must indicate VERY CLEARLY to the Examiner where their revised answer is to be found. If answers
are crossed out, the new answers must be very clear so that Examiners can easily read the text and award
candidates the appropriate mark.
Comments on specific questions
Question 1
(a) (i)
Most candidates correctly wrote that ROM is non-volatile and RAM is volatile. The better
candidates also wrote that data held in ROM can not be altered, whereas in RAM data can be
altered.
(ii)
Most candidates knew that the bootstrap program must be held in ROM so that it is present when
the computer is switched on.
(iii)
Most candidates knew that the bootstrap program runs start-up sequences and loads the operating
system.
(b) (i)
Weaker candidates need to be aware not to just rewrite the question. A correct definition of an
input device is a peripheral that allows data to be entered to a computer.
(ii)
Similarly an output device is a peripheral that allows information to be reported by a computer after
processing.
(c)
Many candidates ignored the stem of the question and gave vague answers such as keyboard. A
significant number suggested a monitor as a suitable output device for blind people. A common
error was to call voice recognition an example of a hardware input device. For storage, a
significant number think USB is a storage device. These are two good examples of candidates not
thinking clearly before putting pen to paper. The better candidates suggested a Braille keyboard so
the secretary can feel the characters on each key, a Braille printer to produce documents the
secretary can read and a USB flash memory stick to take back-ups of files.
Question 2
(a)
In part (i), many candidates just re-wrote the question by saying: “it controls the operation of the
system”. There needed to be some reference to the computer here to gain the definition mark.
Part (ii) was not really answered much better; there were some very general answers which could
have been descriptions of ANY type of software.
(b)
For part (i) a large number of candidates gained credit for referring to off-the-shelf software as
being readily available. However, in part (ii) many candidates wrongly thought that you do not
need a programmer to write the software for off-the-shelf packages. The best candidates correctly
explained that off-the-shelf software is cheaper to buy because the development costs are shared.
4
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(c) (i)
Most candidates correctly identified the student could use a word processor to write an essay.
(ii)
Most candidates correctly identified the student could use a spreadsheet to store rainfall readings
and produce graphs.
(iii)
Most candidates correctly identified the student could use desk-top publishing to produce the final
project report.
(d)
There were some good attempts at answering this question. However, some candidates confused
this with time sharing systems. The best answers stated that only one user is allowed access at
any one time, that users are allocated disk space to store their files, accessed by passwords, that
individual users can have different access rights to files and software and that the system will
appear to be running more than one piece of software at a time.
Question 3
(i)
Both types of real time processing (transaction and process control/monitoring) were chosen here
by candidates. The weaker candidates struggled to define what it meant. The better candidates
defined transaction processing as immediate updating of files. Good answers stated that process
control is where the current output affects the next input.
(ii)
Computer games were often chosen as the example. Unfortunately, there needed to be some
indication as to why the game required real time processing before credit could be given. Examples
given of transaction processing included airline booking systems.
(iii)
Most candidates either chose “to avoid double booking” (transaction processing) or an immediate
response is needed (process control/monitoring).
Question 4
(i)
Most candidates could give the response that the reader reads the position of a mark on the paper
document, for example a multiple choice exam question paper. Only the best candidates could
explain that the position the reader collects is then translated into information.
(ii)
As with part (i), many candidates mentioned reading the shape of the character and for giving a
suitable example where OCR would be used. Only the best candidates had the required
understanding of how the character shape was recognised (e.g. by having a library of shapes
stored).
Question 5
This question was very fairly well answered. The majority of candidates mentioned economically possible
and technically feasible. However, many candidates just expanded on these two issues; only the best
candidates could explain further.
Question 6
Many candidates just regurgitated previous mark schemes and referred to colour blind users, use of large
fonts and the natural reading pattern of left to right. Such responses miss the point of this question. Very
few tried to fit their answer to the scenario which was the control/monitoring of a section of railway track
where the need for safety, a fast response and easy navigation would be of paramount importance. Many
candidates really need to spend a few minutes to consider the scenario presented to them before they begin
to write their answer.
Question 7
(a)
Part (i) asked for a 10-bit binary representation. Many candidates gave answers such as
100010110 which is only 9 bits. However, part (ii) gave few problems; the main error here was the
answer 344 instead of 172 (presumably this was due to candidates numbering the binary bit
positions as: 2, 4, 8, … missing out the 1 value in the right-most bit position).
5
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(b) (i)
The course level was stated as a single character, but several candidates still gave answers such
as A Level, AS Level, etc. The start date clearly needed to be in date format. However,
candidates still gave answers such as 15 May 2012 or put the date between quotes.
(ii)
This was generally well answered; although for the NumberOfPrizesWon, whilst data type integer
was correctly chosen, the most common reason given: “since it needs to be an integer value” is not
enough – it is necessary to define an integer as, for example, “the number needs to be a whole
number” or “cannot include decimals”. Likewise, the data type for AverageExaminationMark was
often correctly given as floating point or real, but the reason given was often incorrect or too vague.
All that was required was some statement to the effect that fractional values need to be stored.
Question 8
(a)
Most candidates could explain benefits of connecting computers in a local area network and define
parallel data transmission.
(b)
There was quite a bit of evidence of rote learning but the concept of circuit switching and packet
switching seemed to be reasonably well understood.
Question 9
(a)
Most candidates correctly completed the truth table for a NOR gate.
(b)
Most candidates correctly completed the truth table for the given logic circuit.
6
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/13
Written Paper
General comments
A significant number of candidates appear to be rote learning certain topics. Questions which required an
application of knowledge were overall less well answered. Candidates will need to change how they
approach computing topics. This is a challenge which many Centres and candidates, of course, will relish.
Candidates and Centres are reminded that written papers are now scanned in and marked on computer
screens by Examiners. Consequently, if a candidate writes the answer to a question on an additional page
they must indicate VERY CLEARLY to the Examiner where their revised answer is to be found. If answers
are crossed out, the new answers must be very clear so that Examiners can easily read the text and award
candidates the appropriate mark.
Comments on specific questions
Question 1
(a) (i)
Most candidates correctly wrote that ROM is non-volatile and RAM is volatile. The better
candidates also wrote that data held in ROM can not be altered, whereas in RAM data can be
altered.
(ii)
A large number of candidates realised that RAM was used to allow files to be altered. The majority
made a reasonable attempt at an answer.
(iii)
Only the best candidates gave the key part to the answer in this question “ …. in current use” . Just
stating “for parts of the operating system” was not sufficient.
(b)
A large number of candidates gained credit for claiming that peripheral storage devices were used
so that files could be downloaded at a later date when required. Only the best candidates made
reference to backing up or that RAM is generally too small to store all the files.
(c)
This question was poorly answered with devices such mouse, microphone, electric motors and
keyboards all being offered as input and output devices for the robot. Such answers are clearly
incorrect in an application of this type. Very few candidates referred to the need for actuators to
control the wheel motors or the need for a solid state memory to contain the control program or
user’s instructions. Most candidates attempted to describe the sensors that would be needed but
very few came up with the right type such as touch or pressure sensors.
Question 2
(a)
In part (i), many candidates just re-wrote the question by saying: “it controls the operation of the
system”. There needed to be some reference to the computer here to gain the definition mark.
Part (ii) was not really answered much better; there were some very general answers which could
have been descriptions of ANY type of software.
7
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(b)
For part (i) a large number of candidates gained credit for referring to off-the-shelf software as
being readily available. However, many candidates wrongly thought that you do not need a
programmer to write the software for off-the-shelf packages. The best candidates correctly
explained that custom-written software is more expensive to buy because the customer has to pay
for the whole development cost.
(c) (i)
Many candidates suggested that drawing packages were used to design new kitchen appliances
and cupboards; this ignored the fact that the question was referring to the sales team and not the
design team.
(ii)
This was fairly well answered with many realising that the database would be used to store data
about potential new customers.
(iii)
Most candidates’ correct response was that presentation software could be used to produce an
audio-visual presentation to attract customers to the mall.
Question 3
(i)
Most candidates responded correctly here.
(ii)
Reference to payroll systems was the most common response here. Equally as correct would be
utility/mobile phone billing systems or the clearing of cheques at a bank.
(iii)
The majority of candidates were given credit here for indicating that all the calculations were similar
or involved large amounts of data and batch processing was therefore very suitable. Very few
realised that pay cannot be calculated until all the data about each worker (e.g. number of hours
worked in the week/month, number of hours overtime, days off sick, etc.) was known; this meant
that real time processing, for example, would not be a suitable method.
Question 4
(i)
The majority of candidates gained credit for reference to barcodes being a series of dark and light
lines of varying thickness and also for supplying a good example of their use. Only the best
candidates realised that the width of the barcode lines was measured by the laser.
(ii)
The majority of candidates gained credit for reference to swiping the card through a card reader
and for giving an example of the use of a card reader (e.g. paying for goods using a credit/debit
card). Only the best candidates knew that such cards have three strips of information available on
which a small amount of data can be stored.
Question 5
This question was very well answered with some really good descriptions of corrective, adaptive and
perfective maintenance.
Question 6
Many candidates just regurgitated previous mark schemes and referred to colour blind candidates and the
natural reading pattern of left to right. Such responses did not really answer the question. The answer really
needed references to the use of bright colours, use of animation and sound and use of large fonts plus the
need to encourage the children by completing some drawing or by playing a fanfare every time they got the
answer right.
Question 7
(a)
Part (i) asked for a 10-bit binary representation. Many gave answers such as 1101 1110 which is
only 8 bits. However, part (ii) gave few problems; the main error here was the answer 216 instead
of 108 (presumably this was due to candidates numbering the binary bit positions as: 2, 4, 8, …
missing out the 1 value in the right most bit position).
8
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(b) (i)
The item size was stated as a single character, but several candidates still gave answers such as
XL, XXS, etc. The sell by date clearly needed to be in date format. However, candidates still gave
answers such as 15 May 2012 or put the date between quotes.
(ii)
This was generally well answered; although for the MinimumStockLevel, whilst data type integer
was correctly chosen, the most common reason given: “since it needs to be an integer value” is not
enough – it is necessary to define an integer as, for example, “the number needs to be a whole
number or cannot include decimals”. Likewise, the data type for Price was often correctly given as
currency or real, but the reason given was often not very clear e.g. “it needs to be a decimal”; a
more detailed answer is required, such as: “currency requires the number to be 2 places of
decimal”.
Question 8
(a)
Most candidates could explain what is meant by a WAN and define serial data transmission.
(b)
Part (i) was answered reasonably well. In part (ii), many candidates realised that byte 5 was
incorrect due to its even parity. Only the very best could explain that because column 4 has an
even number of 1s, the 0 in row 5, column 4 needs to be changed to 1.
Question 9
(a)
Most candidates correctly completed the truth table for a NAND gate.
(b)
Most candidates correctly completed the truth table for the given logic circuit.
9
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/21
Written Paper
Key message
Candidates need practical programming experience to do well in this component.
General Comments
The candidates who did well in this examination session were those who had clearly learnt how to program
in a procedural language. Not only learnt, but had gone through the necessary processes of designing their
programs, writing them in a programming language, compiling them on the computer and testing them using
various testing techniques.
The paper aims to allow candidates to show their abilities in writing pseudocode, writing programming code
and having a good knowledge of the details of their chosen language. They need to be able to use trace
tables, flowcharts and all the methods available to test a program.
The best way to learn all this is to have a problem to solve, and to go through all the processes as if it were
coursework. The problem will need to involve the simple manipulation of data files, and be complex enough
to have to break some of it into procedures. The only way to understand the use of a programming language
is by using it in as real a situation as possible.
The best candidates were the ones who had clearly done a reasonable amount of programming, and who
had dealt with the stages and problems in writing meaningful code. Those who had not written much code at
all struggled with this paper as there was a considerable number of code related questions. This will
continue to be the case.
The questions and responses in detail.
Question 1
(a)
Most candidates gained most of the marks in this question. The better candidates made
appropriate use of a drop-down list for type of books and radio buttons for whether a students
reads novels or not. Candidates need to understand that it is important to indicate to a user how to
write the date into an input box (for example YYYYMMDD). Another way is to provide drop down
lists of a calendar object.
(b)
Many candidates did not seem to realise what ‘justify’ meant. They only described what they had
done, rather than giving reasons. The better candidates could justify the use of drop-down lists and
radio buttons to reduce errors and that these were appropriate for the purpose as well as easy to
use.
(c)
This type of question is now generally well answered by most candidates. Candidates do need to
understand that it is important to give a single value for field size and not a range.
(d)
Most candidates showed that they had some idea of what a nested IF statement was. Common
faults were not initialising the totals and ignoring the three steps that had been put in to help. All
candidates showed that they could write pseudocode.
(e)
Most candidates were able to design a printed report showing a title, totals boxes and percentage
boxes for each book type.
10
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(f)
Some candidates gave thorough, detailed answers to this question. They did well, and must have
used the file handling statements when programming to be so familiar with them. Some candidates
guessed, whilst others did not appear to know what the question meant. They clearly had not
handled files in their practical programming.
Question 2
(a)
There was a considerable improvement in the ability of candidates to use array elements correctly
when tracing some code.
(b)
Most candidates correctly stated that the type of error was a logical error. Not so many candidates
could correct the line of pseudocode. The majority changed the right line, but used a wrong
condition. Candidates need to perform a quick mental check to see if what they had written
worked. This should have show that it required the statement
WHILE Element <= ArraySize DO
(c)
Many candidates started the array at position 0 in spite of the trace table showing that it started at
position 1. Most also got the ending condition wrong, so again they had not checked their work
here. A correct solution would be
Element Å 1
REPEAT
INPUT Number[Element]
Element Å Element + 1
UNTIL Element > ArraySize
(d)
This question was designed to test if the candidate had had to check the logic of his/her
pseudocode before coding. It was a situation where the normal ideas of test data did not apply.
Stating that the way to do this was to run the program were not appropriate as the question did not
refer to a written program.
One method would be to
check starting condition
check state at iteration 499
check state at iteration 500
check state at iteration 501
Question 3
(a)
This question required a good understanding of the string handling facilities in a chosen language.
The weaker candidates tried to make the problem simplistic and not general. The better
candidates showed that they had practised string handling in a real programming language and
were familiar with using the built-in functions listed in the syllabus.
(b) (i)(ii) The better candidates showed that the input string names needed to be the parameters for the
function and were able to write the function header showing the type of result the function was
returning.
(b) (iii) Most candidates stated that the function gave a single output, but they did not gain the mark if they
then stated that a procedure cannot return a value.
This is completely false in all languages. There are many websites that state that a procedure
cannot return a value, often next to an example of one that does. These websites are wrong.
Procedures can return values via parameters passed by reference.
Question 4
(a)
(b)
The majority of candidates got most parts of this question correct, showing that they understood the
difference between the different types of division and that MOD returns the remainder of integer
division.
The better candidates could then apply this understanding into a practical application and state that
Y DIV X will give the number of full boxes, whereas Y MOD X will give the number of melons left
over.
Question 5
11
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(a)
The better candidates answered this part correctly. Others worked their way down through the
procedure levels but did not realise that they had to work back up through those levels to get the
answer.
There are many different ways to represent the working. One example is
Happening (4) becomes Happening (3) + 4
Happening (3) becomes Happening (2) + 3
Happening (2) becomes Happening (1) + 2
Ends at 1
Diagram works back through function calls and finally gives
Happening (4) = 10
(b) (i)
Most candidates were able to give the line numbers 4 and 6 where the pseudocode shows that the
subroutine is a function because the function name is assigned a value.
(b) (ii) Most candidates were able to give the line number 6 where the pseudocode shows that the function
is recursive because the function is defined in terms of itself.
(c)
The better candidates correctly stated that the function call Happening (-1) would cause an
infinite loop and eventually the system would run out of stack space.
(d)
Most candidates found this part of the question difficult to answer. Candidates need to understand
that a recursive solution may be a more elegant solution. However, a recursive solution makes a
large number of function calls when the initial value of Num is very large, which could cause stack
overflow. This is not a problem for small values of Num. An iterative solution is less likely to cause an
error and programmers may find a FOR loop simpler to write and understand.
12
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/22
Written Paper
Key message
Candidates need practical programming experience to do well in this component.
General Comments
The candidates who did well in this examination session were those who had clearly learnt how to program
in a procedural language. Not only learnt, but had gone through the necessary processes of designing their
programs, writing them in a programming language, compiling them on the computer and testing them using
various testing techniques.
The paper aims to allow candidates to show their abilities in writing pseudocode, writing programming code
and having a good knowledge of the details of their chosen language. They need to be able to use trace
tables, flowcharts and all the methods available to test a program.
The best way to learn all this is to have a problem to solve, and to go through all the processes as if it were
coursework. The problem will need to involve the simple manipulation of data files, and be complex enough
to have to break some of it into procedures. The only way to understand the use of a programming language
is by using it in as real a situation as possible.
The best candidates were the ones who had clearly done a reasonable amount of programming, and who
had dealt with the stages and problems in writing meaningful code. Those who had not written much code at
all struggled with this paper as there was a considerable number of code related questions. This will
continue to be the case.
The questions and responses in detail.
Question 1
(a)
Most candidates gained most of the marks in this question. The better candidates made
appropriate use of a drop-down list for type of books and radio buttons for whether a students
reads novels or not. Candidates need to understand that it is important to indicate to a user how to
write the date into an input box (for example YYYYMMDD). Another way is to provide drop down
lists of a calendar object.
(b)
Many candidates did not seem to realise what ‘justify’ meant. They only described what they had
done, rather than giving reasons. The better candidates could justify the use of drop-down lists and
radio buttons to reduce errors and that these were appropriate for the purpose as well as easy to
use.
(c)
This type of question is now generally well answered by most candidates. Candidates do need to
understand that it is important to give a single value for field size and not a range.
(d)
Most candidates showed that they had some idea of what a nested IF statement was. Common
faults were not initialising the totals and ignoring the three steps that had been put in to help. All
candidates showed that they could write pseudocode.
(e)
Most candidates were able to design a printed report showing a title, totals boxes and percentage
boxes for each book type.
(f)
Some candidates gave thorough, detailed answers to this question. They did well, and must have
used the file handling statements when programming to be so familiar with them. Some candidates
13
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
guessed, whilst others did not appear to know what the question meant. They clearly had not
handled files in their practical programming.
Question 2
(a)
There was a considerable improvement in the ability of candidates to use array elements correctly
when tracing some code.
(b)
Most candidates correctly stated that the type of error was a logical error. Not so many candidates
could correct the line of pseudocode. The majority changed the right line, but used a wrong
condition. Candidates need to perform a quick mental check to see if what they had written
worked. This should have show that it required the statement
WHILE Element <= ArraySize DO
(c)
Many candidates started the array at position 0 in spite of the trace table showing that it started at
position 1. Most also got the ending condition wrong, so again they had not checked their work
here. A correct solution would be
Element 1
REPEAT
INPUT Number[Element]
Element Element + 1
UNTIL Element > ArraySize
(d)
This question was designed to test if the candidate had had to check the logic of his/her
pseudocode before coding. It was a situation where the normal ideas of test data did not apply.
Stating that the way to do this was to run the program were not appropriate as the question did not
refer to a written program.
One method would be to
check starting condition
check state at iteration 499
check state at iteration 500
check state at iteration 501
Question 3
(a)
This question required a good understanding of the string handling facilities in a chosen language.
The weaker candidates tried to make the problem simplistic and not general. The better
candidates showed that they had practised string handling in a real programming language and
were familiar with using the built-in functions listed in the syllabus.
(b) (i)(ii) The better candidates showed that the input string names needed to be the parameters for the
function and were able to write the function header showing the type of result the function was
returning.
(b) (iii) Most candidates stated that the function gave a single output, but they did not gain the mark if they
then stated that a procedure cannot return a value.
This is completely false in all languages. There are many websites that state that a procedure
cannot return a value, often next to an example of one that does. These websites are wrong.
Procedures can return values via parameters passed by reference.
Question 4
(a)
(b)
The majority of candidates got most parts of this question correct, showing that they understood the
difference between the different types of division and that MOD returns the remainder of integer
division.
The better candidates could then apply this understanding into a practical application and state that
Y DIV X will give the number of full boxes, whereas Y MOD X will give the number of melons left
over.
Question 5
(a)
The better candidates answered this part correctly. Others worked their way down through the
procedure levels but did not realise that they had to work back up through those levels to get the
answer.
There are many different ways to represent the working. One example is
14
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Happening (4) becomes Happening (3) + 4
Happening (3) becomes Happening (2) + 3
Happening (2) becomes Happening (1) + 2
Ends at 1
Diagram works back through function calls and finally gives
Happening (4) = 10
(b) (i)
Most candidates were able to give the line numbers 4 and 6 where the pseudocode shows that the
subroutine is a function because the function name is assigned a value.
(b) (ii) Most candidates were able to give the line number 6 where the pseudocode shows that the function
is recursive because the function is defined in terms of itself.
(c)
The better candidates correctly stated that the function call Happening (-1) would cause an
infinite loop and eventually the system would run out of stack space.
(d)
Most candidates found this part of the question difficult to answer. Candidates need to understand
that a recursive solution may be a more elegant solution. However, a recursive solution makes a
large number of function calls when the initial value of Num is very large, which could cause stack
overflow. This is not a problem for small values of Num. An iterative solution is less likely to cause an
error and programmers may find a FOR loop simpler to write and understand.
15
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/23
Written Paper
Key message
Candidates need practical programming experience to do well in this component.
General Comments
The candidates who did well in this examination session were those who had clearly learnt how to program
in a procedural language. Not only learnt, but had gone through the necessary processes of designing their
programs, writing them in a programming language, compiling them on the computer and testing them using
various testing techniques.
The paper aims to allow candidates to show their abilities in writing pseudocode, writing programming code
and having a good knowledge of the details of their chosen language. They need to be able to use trace
tables, flowcharts and all the methods available to test a program.
The best way to learn all this is to have a problem to solve, and to go through all the processes as if it were
coursework. The problem will need to involve the simple manipulation of data files, and be complex enough
to have to break some of it into procedures. The only way to understand the use of a programming language
is by using it in as real a situation as possible.
The best candidates were the ones who had clearly done a reasonable amount of programming, and who
had dealt with the stages and problems in writing meaningful code. Those who had not written much code at
all struggled with this paper as there was a considerable number of code related questions. This will
continue to be the case.
The questions and responses in detail.
Question 1
(a)
Most candidates gained most of the marks in this question. The better candidates made
appropriate use of a drop-down list for age and radio buttons for whether a students is a member of
a sports club or not. Candidates need to understand that it is important to indicate to a user what to
write into text boxes and therefore these text boxes need to be clearly labelled.
(b)
Many candidates did not seem to realise what ‘justify’ meant. They only described what they had
done, rather than giving reasons. The better candidates could justify the use of drop-down lists and
radio buttons to reduce errors and that these were appropriate for the purpose as well as easy to
use.
(c)
Most candidates had a good try at this question. Male colour blindness is not considered a visual
impairment.
(d)
This type of question is now generally well answered by most candidates. Candidates do need to
understand that it is important to give a single value for field size and not a range.
16
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
(e)
Most candidates showed that they had some idea of what a CASE statement was. Common faults
were not initialising the totals, ignoring the three steps that had been put in to help and using IF
statements within the CASE statement. All showed that they could write pseudocode.
(f)
Some candidates gave thorough, detailed answers to this question. They did well, and must have
used the file handling statements when programming to be so familiar with them. Some candidates
guessed, whist others did not appear to know what the question meant. They clearly had not
handled files in their practical programming.
Question 2
(a)
This question required a good understanding of the string handling facilities in a chosen language.
The weaker candidates tried to make the problem simplistic and not general. The better
candidates showed that they had practised string handling in a real programming language and
were familiar with using the built-in functions listed in the syllabus.
(b) (i)(ii) The better candidates showed that the input string name needed to be the parameter for the
function and were able to write the function header showing the type of result the function was
returning.
(b) (iii)
Most candidates stated that the function gave a single output, but they did not gain the mark if they
then stated that a procedure cannot return a value.
This is completely false in all languages. There are many websites that state that a procedure
cannot return a value, often next to an example of one that does. These websites are wrong.
Procedures can return values via parameters passed by reference.
17
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Question 3
(a)
A majority of candidates performed this trace correctly. Others did not appear to be able to follow
the nested FOR statements.
(b)
Most candidates correctly stated that the type of error was a logical error.
(c)
The majority changed the right lines, but used a wrong condition. Candidates need to perform a
quick mental check to see if what they had written worked. This should have show that it required
the statements
Line 2 WHILE RowNo <= 4
Line 5 WHILE ColumnNo <= 4
(d)
Most candidates correctly stated that a FOR loop would have been better.
(e)
This was asked to see if candidates could relate array positions to the reality of the problem. A
surprising number appeared not to understand that these squares are at opposite corners of the
board.
(f)
Responses to this question varied. Some were able to draw an immaculate flowchart, not an easy
task in an examination; others got in a muddle with the layout, or did not notice that the row values
were only 1 and 2. An example of a correct flowchart is:
Start
RowNo = 1
ColumnNo = 1
Board[RowNo, ColumnNo] = 1
ColumnNo = ColumnNo + 1
No
ColumnNo > 8 ?
Yes
RowNo = RowNo + 1
No
RowNo > 2 ?
Yes
End
18
© 2012
Cambridge International Advanced Subsidiary Level and Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Question 4
(a)
(b)
(c)
The majority of candidates got most parts of this question correct, showing that they understood the
difference between the different types of division and that MOD returns the remainder of integer
division.
The better candidates could then apply this understanding into a practical application and state that
Y DIV X will give the number of full drums, whereas Y MOD X will give the number of litres of oil left
over.
Most candidates correctly stated that DIV gives the integer part of the result whereas / gives the full
result (integer and fractional part).
Question 5
(a)
The better candidates answered this part correctly. Others worked their way down through the
procedure levels but did not realise that they had to work back up through those levels to get the
answer.
There are many different ways to represent the working. One example is
Something(4) becomes Something(5) + 4
Something(5) becomes Something(6) + 5
Something(6) becomes Something(7) + 6
Ends at 7
Diagram works back through function calls and finally gives
Something(4) = 16
(b)
The better candidates correctly stated that the function call Something(8) would cause an infinite
loop and eventually the system would run out of stack space.
(c)
The better candidates correctly stated that the recursive calls would never end as there would be
no stopping condition.
(d)
There was a little twist to this question in that the answer needed adjusting after using a FOR loop.
About a fifth of the candidates picked this up and answered correctly, showing that they understood
how both the recursion and the FOR loop worked. Well done.
19
© 2012
Cambridge International Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/31
Written Paper
General
The paper presented a challenge to some candidates who did not perform well on questions which moved
away from those which required little more than knowledge recall to questions which required the candidate
to apply their knowledge to some given scenario i.e. assessing their understanding of how to apply this
knowledge. Examples included Question 5 where the candidate was asked to demonstrate their
understanding of two of the modes of addressing in a practical scenario, and then carry this through to part
(c) of the question to make use of the given subset of instructions. Candidates should be re-assured that
they will always be given the instruction set to be used.
Similarly in Question 3(a) where candidates were asked to complete the given pseudocode. It was pleasing
to see the high standard of responses to this question.
Candidates need to be very cautious when reproducing answers which are taken from previously published
mark schemes. See the comments which follow for Questions 2 (d)(ii) and Question 7 (c) and (d).
Question 1
Part (a) was poorly answered with very few candidates aware that the issue here was First Normal Form and
then unable to recognise that the group of attributes Subject, Level and SubjectTeacher were being repeated
for each student.
Part (b) was answered well but candidates were then unable to see how the actual data they had in the
Student table would determine the primary key of table StudentSubjectChoices. By studying the entries
candidates should have been able to deduce that the primary key was a composite key of StudentName +
Subject which was the answer for (c)(i).
For (d) candidates were unable to express why the table was not in 2NF. What was expected was that they
recognised that the SubjectTeacher is only dependant on knowing part of the primary key (i.e. Subject).
Better candidates used the correct terminology of partial dependency.
A similar picture for (d) with few candidates recognising that the issue was a dependency between non-key
attributes i.e. that Tutor would be known from the TutorGroup (or vice versa).
Question 2
Generally most candidates scored well on (a), (b) and (c).
Part (d) proved to be a good discriminator question. Most candidates correctly computed the exponent to be
+4 but there was often a completely wrong interpretation of the mantissa part with many candidates not
appreciating that this is a fraction and giving a wrong answer of 104. The final mark was gained by the
candidate either shifting the binary point the correct number of four places in their mantissa or by putting
together the mantissa of +13/16 and the exponent +4.
Part (i) was well answered but some candidates stated how the normalised pattern would be recognised (i.e.
first two bits of the mantissa would be different) which was not the question asked.
The better candidates correctly stated the mantissa and exponent pattern and computed this to 1/512.
Worryingly, it was not uncommon to see answers using base 10.
Part (e) was no more than knowledge recall which candidates answered well.
20
© 2012
Cambridge International Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Question 3
Part (a) - A different style of question on which candidates scored well.
Part (b) – The suspicion was that candidates thought this was a straightforward question but they were often
let down by poorly expressed answers. “the search will have to look at all the numbers” was a frequent
incorrect statement. Simple correct statements would have secured the marks such as “The search will have
to make a large number of comparisons if the required item is near the end of the list” or “the search will
have considered all the items if the item is not found”.
Most candidates understood what a binary search involved and gained at least one mark by stating that the
list must be in order.
Question 4
With the exception of the final part (d)(iii) the question was well answered by the majority of candidates.
The intention in providing the candidate with the table to complete for (iii) was to be helpful to the candidate
in establishing the sequence of changes in the contents of the stack. A common error was to place the
operators on the stack and candidates who did this generally did not score any marks. Another omission
was not to evaluate the stack contents when an operator is met. E.g. when the stack contained 3 and 7 and
the operator ‘multiply’ was the next term in the expression, the processor will evaluate this and place 21 as
the only stack entry. Many candidates showed this as 3 * 7 and not the computed 21 as the stack contents.
Question 5
Parts (a) and (b) asked the candidate to annotate the diagram to illustrate each mode of addressing. All
candidates were able for direct addressing to show the correct pattern (or binary number) copied to the
Accumulator, but then did not show that it had been copied from address 105. The best answers circled the
contents of 105 and then showed an arrow from this memory cell to the Accumulator.
Part (b) – Indexed addressing – was far less well understood. The annotation expected was to show 101
having 3 added to it (the contents of the Index Register). Then there is effectively direct addressing from the
calculated address of 104. A significant number of candidates are clearly confusing indexed addressing with
direct addressing (and wrongly) showed the contents of 101 being used as a forwarding address.
For part (c) this was the first time a trace of a simple assembly language program had been asked for, but a
significant number of candidates found no difficulty with this and scored the full five marks. Some candidates
had the mistaken understanding that following the copy of a value from the Accumulator to memory the
Accumulator contents are set to zero.
Question 6
Parts (a) and (b) required little more than knowledge recall and candidates generally scored high marks by
describing the ready, blocked and running state of any process.
Part (b)(ii) saw very few correct answers. The concept of each process needing a process control block was
not seen. Some candidates gained the mark by describing a queue data structure for the ready and blocked
processes; some candidates however wrongly stated that there would be a queue structure for all three
states.
Part (c) was poorly answered despite the first and third mark requiring only a statement that the process
would require considerable/very little use of the processor. Few candidates focused on the word ‘application’
in the stem of the question and as a consequence answers were vague such as “performs lots of
calculations” for the second mark and did not score.
Question 7
Candidates were usually unable to gain the two marks. What was expected were the key concepts that the
simulation provides a model of some real-world scenario and that the purpose of doing this is to make
predictions about the way in which the simulated system will behave.
21
© 2012
Cambridge International Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Candidates often made the point about this being a read-world problem with an example and this was
acceptable.
Part (b) then asked for the reasons/benefits of producing a computer simulation and candidates were able to
score here with a large number of varied points.
Parts (c) and (d) were generally well answered with candidates understanding the key issue for (d) that what
was wanted was a ‘cause and effect’ which could be modelled.
There were a number of candidates who were quoting issues which were not relevant to the given scenario,
such as the number of emergency exits and others, which were clearly lifted from the mark scheme for a
previous paper. The message must be to make it clear to candidates that previous mark schemes are of
limited use as a tool for revision.
22
© 2012
Cambridge International Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
COMPUTING
Paper 9691/32
Written Paper
General
The paper presented a challenge to some candidates who did not perform well on questions which moved
away from those which required little more than knowledge recall to questions which required the candidate
to apply their knowledge to some given scenario i.e. assessing their understanding of how to apply this
knowledge. Examples included Question 5 where the candidate was asked to demonstrate their
understanding of two of the modes of addressing in a practical scenario, and then carry this through to part
(c) of the question to make use of the given subset of instructions. Candidates should be re-assured that
they will always be given the instruction set to be used.
Similarly in Question 3(a) where candidates were asked to complete the given pseudocode. It was pleasing
to see the high standard of responses to this question.
Candidates need to be very cautious when reproducing answers which are taken from previously published
mark schemes. See the comments which follow for Questions 2 (d)(ii) and Question 7 (c) and (d).
Question 1
Part (a) was poorly answered with very few candidates aware that the issue here was First Normal Form and
then unable to recognise that the group of attributes Subject, Level and SubjectTeacher were being repeated
for each student.
Part (b) was answered well but candidates were then unable to see how the actual data they had in the
Student table would determine the primary key of table StudentSubjectChoices. By studying the entries
candidates should have been able to deduce that the primary key was a composite key of StudentName +
Subject which was the answer for (c)(i).
For (d) candidates were unable to express why the table was not in 2NF. What was expected was that they
recognised that the SubjectTeacher is only dependant on knowing part of the primary key (i.e. Subject).
Better candidates used the correct terminology of partial dependency.
A similar picture for (d) with few candidates recognising that the issue was a dependency between non-key
attributes i.e. that Tutor would be known from the TutorGroup (or vice versa).
Question 2
Generally most candidates scored well on (a), (b) and (c).
Part (d) proved to be a good discriminator question. Most candidates correctly computed the exponent to be
+4 but there was often a completely wrong interpretation of the mantissa part with many candidates not
appreciating that this is a fraction and giving a wrong answer of 104. The final mark was gained by the
candidate either shifting the binary point the correct number of four places in their mantissa or by putting
together the mantissa of +13/16 and the exponent +4.
Part (i) was well answered but some candidates stated how the normalised pattern would be recognised (i.e.
first two bits of the mantissa would be different) which was not the question asked.
The better candidates correctly stated the mantissa and exponent pattern and computed this to 1/512.
Worryingly, it was not uncommon to see answers using base 10.
Part (e) was no more than knowledge recall which candidates answered well.
23
© 2012
Cambridge International Advanced Level
9691 Computing June 2012
Principal Examiner Report for Teachers
Question 3
Part (a) - A different style of question on which candidates scored well.
Part (b) – The suspicion was that candidates thought this was a straightforward question but they were often
let down by poorly expressed answers. “the search will have to look at all the numbers” was a frequent
incorrect statement. Simple correct statements would have secured the marks such as “The search will have
to make a large number of comparisons if the required item is near the end of the list” or “the search will
have considered all the items if the item is not found”.
Most candidates understood what a binary search involved and gained at least one mark by stating that the
list must be in order.
Question 4
With the exception of the final part (d)(iii) the question was well answered by the majority of candidates.
The intention in providing the candidate with the table to complete for (iii) was to be helpful to the candidate
in establishing the sequence of changes in the contents of the stack. A common error was to place the
operators on the stack and candidates who did this generally did not score any marks. Another omission
was not to evaluate the stack contents when an operator is met. E.g. when the stack contained 3 and 7 and
the operator ‘multiply’ was the next term in the expression, the processor will evaluate this and place 21 as
the only stack entry. Many candidates showed this as 3 * 7 and not the computed 21 as the stack contents.
Question 5
Parts (a) and (b) asked the candidate to annotate the diagram to illustrate each mode of addressing. All
candidate