Cambridge Assessment International Education: Computer Science 0478/21 October/November 2019
Cambridge Assessment International Education: Computer Science 0478/21 October/November 2019
Cambridge Assessment International Education: Computer Science 0478/21 October/November 2019
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 October/November 2019 series for most
Cambridge IGCSE™, Cambridge International A and AS Level components and some Cambridge O Level
components.
This syllabus is regulated for use in England, Wales and Northern Ireland as a Cambridge International Level 1/Level 2 Certificate.
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.
• Length // Width
• « real
• « to store the length // width of the patio
• StoneType
• « string
• « to store the type of stone slab chosen by the user
• PatioArea
• « integer
• « to store the area of stone needed for the patio
• Type check
• « to make sure any dimension entered is a number
• Presence check
• « to make sure a length/width has been entered for the area of the patio
Structure Library
Description diagram Flowchart routines
Total ← 0
INPUT CounterLimit
FOR LoopCounter ← 1 To CounterLimit
INPUT Number
Total ← Total + Number
NEXT LoopCounter
OUTPUT ″The average equals ″, Total / CounterLimit
0 0 58 58
1 1 40
1 2 67 67
2 3 85 85
3 4 12
3 5 13
3 6 75 75
4 7 82 82
5 Number
passed 5
1 1 1 1 1 1
mark mark mark mark mark mark
5(a) 3
Field name Example of data
CarID ID07
Doors 1 // 2 // 3 // 4 // 5
5(b) • CarID 2
• Which contains unique values to identify each record
5(c) 3
Field: Model FuelType Doors
Sort: Ascending
Show: ; ;
Criteria: ="Petrol"
or: