0% found this document useful (0 votes)
17 views

March

This document is the mark scheme for the Cambridge IGCSE Computer Science Paper 2 for October/November 2022, detailing how marks are awarded for various questions. It outlines generic marking principles that examiners must follow and provides specific marking points for each question in the exam. The document serves as a guide for teachers and candidates to understand the marking criteria and expectations for responses.

Uploaded by

thuyayeyint191
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

March

This document is the mark scheme for the Cambridge IGCSE Computer Science Paper 2 for October/November 2022, detailing how marks are awarded for various questions. It outlines generic marking principles that examiners must follow and provides specific marking points for each question in the exam. The document serves as a guide for teachers and candidates to understand the marking criteria and expectations for responses.

Uploaded by

thuyayeyint191
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Cambridge IGCSE™

COMPUTER SCIENCE 0478/21


Paper 2 Problem-solving and Programming October/November 2022
MARK SCHEME
Maximum Mark: 50

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 2022 series for most
Cambridge IGCSE™, Cambridge International A and AS Level components and some Cambridge O Level
components.

This document consists of 9 printed pages.

© UCLES 2022 [Turn over


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Generic Marking Principles

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.

GENERIC MARKING PRINCIPLE 1:

Marks must be awarded in line with:

• 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.

GENERIC MARKING PRINCIPLE 2:

Marks awarded are always whole marks (not half marks, or other fractions).

GENERIC MARKING PRINCIPLE 3:

Marks must be awarded positively:

• 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.

GENERIC MARKING PRINCIPLE 4:

Rules must be applied consistently, e.g. in situations where candidates have not followed instructions or in the application of generic level
descriptors.

© UCLES 2022 Page 2 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
GENERIC MARKING PRINCIPLE 5:

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).

GENERIC MARKING PRINCIPLE 6:

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.

Please note the following further points:

The words in bold in the mark scheme are important text that needs to be present, or some notion of it needs to be present. It does not have to
be the exact word, but something close to the meaning.

If a word is underlined, this exact word must be present.

A single forward slash means this is an alternative word. A double forward slash means that this is an alternative mark point.

Ellipsis (…) on the end of one-mark point and the start of the next means that the candidate cannot get the second mark point without being
awarded the first one. If a mark point has an ellipsis at the beginning, but there is no ellipsis on the mark point before it, then this is just a follow-on
sentence and can be awarded without the previous mark point.

© UCLES 2022 Page 3 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

Section A

1(a)(i) Many correct answers, the names used must be meaningful. The names given are examples only. 5

One mark per mark point, max five

MP1 name one e.g. Name, Age, Gender, Type, TeamMember, AnnualFee, Paid
MP2 one appropriate data type must match name e.g. string, integer, char, string, Boolean, real, Boolean
MP3 sample data for one appropriate array
MP4 all arrays mentioned have appropriate names
MP5 all arrays mentioned have appropriate data types
MP6 sample data for all arrays e.g. Sue, 9, F, Junior, True, 9.00, False

1(a)(ii) One mark per mark point, max two 2

MP1 use a loop e.g. FOR…NEXT / REPEAT…UNTIL / WHILE…DO


MP2 to input the values for each element in every array
MP3 append each value input to the end of the array

1(b) One mark per mark point, max two 2

MP1 use a loop/ FOR/REPEAT/WHILE to check all members


MP2 use a conditional statement / IF to see if the paid field is marked as False
MP3 only transfer the data of those members whose paid field is marked as True to a set of new arrays
// delete the details of the members who have not paid

© UCLES 2022 Page 4 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

1(c) One mark per mark point, max six 6

MP1 loop through all the members


MP2 any suitable correct comparison of age
MP3 if 18 Change membership type to adult
MP4 if 50 Change membership type to senior
MP5 if 80 Change membership type to golden
MP6 check if team member
MP7 no store appropriate full fee
MP8 yes store 90% of appropriate full fee

Example
FOR Member  1 TO Total
CASE Age[Member] OF
18 : Type[Member]  "Adult"
50 : Type[Member]  "Senior"
80 : Type[Member]  "Golden"
ENDCASE

IF Team[Member]
THEN
CASE Type[Member] OF
"Junior" : Fee[Member]  JuniorFee * 0.9
"Adult" : Fee[Member]  AdultFee * 0.9
"Senior" : Fee[Member]  SeniorFee * 0.9
ENDCASE
ELSE
CASE Type[Member] OF
"Junior" : Fee[Member]  JuniorFee
"Adult" : Fee[Member]  AdultFee
"Senior" : Fee[Member]  SeniorFee
"Golden" : Fee[Member]  GoldenFee
ENDCASE
ENDIF
NEXT Member
© UCLES 2022 Page 5 of 9
0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

1(d) Explanation 5

One mark per mark point, max five

MP1 how the program checked all the members // use of loop
MP2 how the program identified a member who has not paid their (annual) fee // use of condition
MP3 how the program kept a running total of members who have not paid their (annual) fees
MP4 for each of the three types of membership that require a fee // excluding golden members
MP5 how the program calculated a percentage for members who had not paid…
MP6 for each of the three types of membership that require a fee
MP7 how the program displayed a percentage for members who had not paid
MP8 all three percentages displayed with suitable messages

Programming statements when used must be explained.

Question Answer Marks

Section B

2(a) One mark per mark point, max six 6

• Line 1 100
• Line 7 Value > 100 // Value >= 101
• Line 11 Reading[Value] + 1
• Line 14 INPUT Value
• Line 18 Reading[Count]
• Line 19 Count – 1

© UCLES 2022 Page 6 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

2(b) One mark per mark point, max three 3

• use an IF/conditional statement


• to check if Reading[Count] not equal to zero
• before outputting the value // between statements 17 and 18 // code sample showing position

IF Reading[Count] <> 0
THEN
OUTPUT
ENDIF

Question Answer Marks

3(a) Two marks per check, description must match name of check if given, max six 6

• Check 1 use a type check


o to ensure that the value is a number / integer
• Check 2 use a length check
o to ensure that there are only 4 characters / digits
• Check 3 use a range check
o to ensure that the value is >= 1000 and <=9999

3(b) One mark per mark point, max three 3

MP1 input the new PIN


MP2 input the new PIN again // ask the user to check the number on screen
MP3 check that both PINs are the same // confirm that it is the PIN to use
MP4 check that the new PIN is not the same as the old PIN

© UCLES 2022 Page 7 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

4(a) One mark for each correct column, max four 4


Sold Stock Total OUTPUT

50 0

24 26 24

12 14 Add new stock

64 36

6 58 42

30 28 72

12 16 Add new stock

66 84

18 48 102

-1 102

4(b) One mark for identification of error, max one 3

• the stock level will fall below zero / become negative

One mark per mark point, max two

• before subtracting the amount Sold from Stock


• test that the stock level / Stock is greater than the rolls to be sold / Sold
• provide a suitable error message / ask to re-input

© UCLES 2022 Page 8 of 9


0478/21 Cambridge IGCSE – Mark Scheme October/November 2022
PUBLISHED
Question Answer Marks

5(a) One mark per mark point, max two 2

• ItemCode
• uniquely identifies each item

5(b) One mark per mark point, max three 3

• correct rows Field, Table and Sort


• correct row Show
• correct Criteria row <10 or <=9

Field: ItemCode Manufacturer Level

Table: WAREHOUSE WAREHOUSE WAREHOUSE

Sort:

Show:    

Criteria: <10

or:

© UCLES 2022 Page 9 of 9

You might also like