Professional Documents
Culture Documents
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 2018 series for most
Cambridge IGCSE™, Cambridge International A and AS Level components and some Cambridge O Level
components.
This syllabus is approved 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.
Section A
1(a)(i) 1 mark for any meaningful array name related to Task 1 × 2 4
1 mark for correct data type AND use related to Task 1 × 2
ItemCode
string
to store the item codes
MenuItem
string
to store the menu items
Price
real
to store the prices
1(a)(ii) 1 mark for any meaningful variable name related to Task 2 × 2 4
1 mark for correct data type AND use related to Task 2 × 2, e.g.
ItemCode
string
to allow items from menu to be input
ItemCost
real
to hold price of current menu item
TotalCost
real
to store current total price of the order
Quantity
integer
to store the quantity of an item ordered
Example algorithm
Total_Cost ← 0
Order_Complete ← FALSE
Order_Item ← 0
Order_Number ← 0
Daily_Order_Counter ← 1
// The following would be repeated throughout the day
REPEAT
OUTPUT "Enter item code or X to finish"
INPUT Item_Code[Order_Item]
IF Item_Code[Order_Item] <> "X"
THEN
Menu_Count ← 0
Menu_Flag ← FALSE
REPEAT
IF Menu_Code[Menu_Count] = Item_Code[Order_Item]
THEN
Menu_Place[Order_Item] ← Menu_Count
Menu_Flag ← TRUE
Total_Cost ← Total_Cost + Menu_Price[Menu_Count]
ELSE
Menu_Count ← Menu_Count + 1
ENDIF
UNTIL Menu_Flag ← TRUE
OUTPUT "How many would you like? "
1(d) 1 mark for each correct test data item and related reason for Task 3 which requires a percentage to be input (Answers 3
MUST relate to pre-release task)
e.g.
Section B
e.g.
Total ← 0 Accept alternative correct ranges e.g.
Count ← 1 Count ← 0
WHILE Count <= 50 DO WHILE Count < 50 DO
INPUT Num
Total ← Total + Num
Count ← Count + 1
ENDWHILE
OUTPUT Total
4(b) Total ← 0
Count ← 0 Accept alternative correct ranges e.g.
REPEAT Count ← 1
INPUT Num
Total ← Total + Num UNTIL Count > 50
Count ← Count + 1
UNTIL Count = 50
OUTPUT Total
5(a) 2
Flag TestNum Num OUTPUT
True 7 6
1 7
5(b) 2
Flag TestNum Num OUTPUT
True 6 5
False
6(a) 2
Field Data type
PCID Text
ScreenSize Number
Type Text
Price Currency
Sort: Descending
Show: ; ; ; ; ; ;
or: