Cambridge International AS & A Level: Computer Science 9618/ NA
Cambridge International AS & A Level: Computer Science 9618/ NA
Published
This mark scheme is published as an aid to teachers and candidates, to indicate the requirements of the
examination. It shows the basis on which Examiners were instructed to award marks. It does not indicate the
details of the discussions that took place at an Examiners’ meeting before marking began, which would have
considered the acceptability of alternative answers.
Mark schemes should be read in conjunction with the question paper and the Principal Examiner Report for
teachers.
Cambridge International will not enter into discussions about these mark schemes.
Cambridge International is publishing the mark schemes for the NA series for most Cambridge IGCSE™,
Cambridge International A and AS Level components and some Cambridge O Level components.
[Turn over
Cambridge International AS & A Level – Mark Scheme
PUBLISHED
These general marking principles must be applied by all examiners when marking candidate answers.
They should be applied alongside the specific content of the mark scheme or generic level descriptors
for a question. Each question paper and mark scheme will also comply with these marking principles.
• the specific content of the mark scheme or the generic level descriptors for the question
• the specific skills defined in the mark scheme or in the generic level descriptors for the question
• the standard of response required by a candidate as exemplified by the standardisation scripts.
Marks awarded are always whole marks (not half marks, or other fractions).
• marks are awarded for correct/valid answers, as defined in the mark scheme. However, credit
is given for valid answers which go beyond the scope of the syllabus and mark scheme,
referring to your Team Leader as appropriate
• marks are awarded when candidates clearly demonstrate what they know and can do
• marks are not deducted for errors
• marks are not deducted for omissions
• answers should only be judged on the quality of spelling, punctuation and grammar when these
features are specifically assessed by the question as indicated by the mark scheme. The
meaning, however, should be unambiguous.
Rules must be applied consistently, e.g. in situations where candidates have not followed
instructions or in the application of generic level descriptors.
Marks should be awarded using the full range of marks defined in the mark scheme for the question
(however; the use of the full mark range may be limited according to the quality of the candidate
responses seen).
Marks awarded are based solely on the requirements as defined in the mark scheme. Marks should
not be awarded with grade thresholds or grade descriptors in mind.
Question Answer Marks
1 Breaking down a problem / task into sub problems / steps / smaller parts
2 In order to explain / understand // easier to solve the problem
3 Leading to the concept of program modules // assigning problem parts to
teams
Max 2
1(b) 3
Answer
The technical terms for minimum and Lower bound, upper bound
maximum values that variable n may take
1(c) 4
Expression Evaluates to
ASC('C') 67
2 * STR_TO_NUM ("27") 54
INT(27 / 2) 13
1(d) 2
Expression Evaluates to
2(a) 5
Note:
• Sum and increment steps (bottom-right rectangles) may be in reverse
order in which case sum group will have two output lines
• Data structures
• Algorithms / flowcharts / pseudocode
• Program structure (modules) / use of library routines / module - team
allocation
• User interface // Web-page layout / content (for given scenario)
• Testing method / plan
• Choice of programming language / program environment
Max 3
1 Cat
2 Fish
3(b)(i) One mark for data values plus one mark for pointers 3
0 Frog
1 Cat
3 Elk
4 Wasp
5 Bee
3(b)(ii) 2
0 Shark ← End of queue pointer
1 (Cat)
2 (Fish)
3 (Elk)
5 Bee
6 Mouse
7 Dolphin
Example answer
OUTPUT Count
Mark as follows:
Alternative Solution:
OUTPUT Count
Mark as follows:
Mark as follows:
IsPal TRUE
Index 1
Num INT(LENGTH(InString) / 2)
ENDFUNCTION
Mark as follows:
6(b) 4
Label
a ext
F YE
G NO
ENDPROCEDURE
NumUnused ← 0
RETURN NumUnused
ENDFUNCTION
7(c) ‘Pseudocode’ solution included here for development and clarification of mark scheme. 8
Programming language example solutions appear in the Appendix.
Max 8 marks from 9 available mark points
CLOSE "Backup.txt"
RETURN ArrayIndex
ENDFUNCTION