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

Get Past Paper

This document is the mark scheme for the Cambridge International General Certificate of Secondary Education (IGCSE) Computer Science Paper 2 for October/November 2024, detailing the marking principles and guidelines for examiners. It outlines the generic marking principles, mechanics of marking, and specific marking criteria for various questions, ensuring consistency and clarity in evaluating candidate responses. The document emphasizes the importance of annotating scripts and adhering to the agreed mark scheme during the marking process.
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)
6 views

Get Past Paper

This document is the mark scheme for the Cambridge International General Certificate of Secondary Education (IGCSE) Computer Science Paper 2 for October/November 2024, detailing the marking principles and guidelines for examiners. It outlines the generic marking principles, mechanics of marking, and specific marking criteria for various questions, ensuring consistency and clarity in evaluating candidate responses. The document emphasizes the importance of annotating scripts and adhering to the agreed mark scheme during the marking process.
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/ 21

Cambridge Assessment International Education

Cambridge International General Certificate of Secondary Education

COMPUTER SCIENCE 0478, 2210, 0984/22


Paper 2 Algorithms, Programming and Logic October/November 2024
MARK SCHEME

PRE-STANDARDISAITON

MAXIMUM MARK: 75

This document consists of ?? printed pages.

© UCLES 2024 [Turn over

downloaded from https://pseudocode.pro


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.

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.

This document consists of ?? printed pages.

© UCLES 2024 [Turn over

downloaded from https://pseudocode.pro


Please note the following further points:

Please also read the additional guidance in the mark scheme, it provides further information
about how to mark the question.
Please annotate your scripts. The number of ticks given must match the number of marks
given.
If you award a benefit of doubt (BOD) mark, this must also have a tick.
The sections in brackets in the mark scheme are not necessary in the candidates answer.
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 doesn’t 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.
Red text in the mark scheme is a response that we think it just about okay, but that will not
be published as a response.
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.
Please inform your team leader when you have submitted your standardisation scripts. They
may have many examiners that they are monitoring, so may not see your submission
immediately.
The mark scheme has been agreed at standardisation, so it is the AE’s responsibility to
apply it. You may have differing opinions on how the paper should be marked, but the mark
scheme is what has been agreed by a panel and AE’s are required to apply it.
Please mark your allocation at a steady rate. If you are not able to mark your allocation for
a number of days, inform your team leader, do not wait for them to have to chase you.
Please ensure that you meet the 40% deadline. If you are not close to or meeting this at the
40% deadline, some of your allocation may be reallocated. If you are going to struggle with
this deadline, you must inform your team leader ASAP.
There are 2 blank pages at the start of the exam paper. These needs to be annotated with a
SEEN annotation, to indicate they have been checked for any further responses.
If a candidate writes outside the zoned area for the question, this must be linked to the
response, even if it is not awarded a mark. This demonstrates at EAR that you did read this
part of the response.
If a candidate has crossed out the final section of a response to a question and has not
written anything after the crossed-out work, the crossed-out work must be marked.

This document consists of ?? printed pages.

© UCLES 2024 [Turn over

downloaded from https://pseudocode.pro


Mechanics of Marking:
Every mark given should have a corresponding tick on the script. The number of
ticks on each (part) question should match the number of marks awarded for that
(part) question. If giving Benefit of Doubt, the BOD must be accompanied by a tick.

If a candidate has not given a response or the response is in no way related to the
question, such as ‘don’t know’, NR (the Hash key) should be awarded rather than
zero.

Every part question must be annotated to show that it has been read even if
awarding NR. Please ensure that all part questions that are marked as NR are also
annotated with the SEEN icon. This is a requirement of RM3.

There are 2 blank pages at the start of each script that must be annotated with the
SEEN icon. ☹

NEW: Words or phrases that are underlined, must be present in the candidate’s
answer. Words or phrases that are emboldened indicate that the idea
represented by the bold text must be included.

Even though the comments box is visible at the bottom of the screen, please do not
put comments or question marks on the scripts. When scripts are returned to
centres all the annotations including comments, are visible.

If work has been crossed out and something written in its place, the replacement
work is marked even if the crossed-out work is correct. If the crossed-out work has
not been replaced, mark the crossed-out answer. Please also annotate the
unmarked work as SEEN, especially if the replacement answer is on a separate sheet.

For single mark answers, mark the first answer on the line, unless there is a note to
the contrary on the mark scheme.

If a candidate writes something that is not enough (NE) for a mark, but is not
actually incorrect, continue reading, even if the mark scheme says, for example,
mark first two answers.

Marking Symbols

This document consists of ?? printed pages.

© UCLES 2024 [Turn over

downloaded from https://pseudocode.pro


Symbol Use / Meaning

Mark given. Placed at the point in the answer where the mark point is satisfied.
Number of ticks must match with total mark awarded.

Answer incorrect at this point. (mark point not satisfied)

Carat symbol indicating something has been omitted.


E.g. a function has been called with two parameters but three are required.

Indicates a part of the answer that is not relevant.

Indicates a part of the answer that is incorrect.

DO NOT USE

Used to highlight a part of the answer or show structure of complex answers.


E.g. to highlight the initialisation of a variable, or used as a vertical line to highlight the
beginning and end of a structure such as a FOR loop.

Too vague. Answer not precise or clear enough to gain a mark.

Answer repeats a point that has already been awarded a mark

Not enough. Answer is not enough to be awarded a mark.


E.g. a text file is opened but not closed so NE is placed after the OPENFILE
Benefit of Doubt. The answer is unclear or imprecise and the mark is justified
Note: must be accompanied by a tick

No Benefit of Doubt. The answer is unclear or imprecise and the mark is not justified

Not Answered Question. Answer does not relate to the question in any way.

To show that a question (or part question) where nothing has been written has been
seen by the examiner. Also used to annotate blank pages.

Follow-Through. The answer addresses a mark point but contains an error, however
that same error has already been penalised in a previous mark point.

A section of the answer is ignored.


E.g. when a program answer contains an unnecessary additional loop

This document consists of ?? printed pages.

© UCLES 2024 [Turn over

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

1 C 1

2 C 1

3(a) One mark for each correct line 4

Flowchart symbol Purpose

Subroutine

Process

Flow

Decision

Terminator

Page 6 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

3(b) One mark per mark point, max six 6


START MP1 Two labelled terminators
MP2 Loop initialisation, incrementation and
termination
Total  0 MP3 Input with prompt
MP4 Total initialised and totalling of inputs
MP5 Output with message
Count  1 MP6 All correct arrows and yes/no labels
MP7 All correct symbols

OUTPUT "Enter a
value between 1
and 100"

INPUT Number

Total  Total + Number No


o
IS
Count  Count + 1 Count >
50 ?

Yes
OUTPUT "The total
is ", Total

STOP

Page 7 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

4(a) One mark per mark point, max five 5

 Line 02 / DECLARE Counter : STRING


should be DECLARE Counter : INTEGER

 Line 09 / Temp  TRUE


should be Swapped  TRUE

 Line 10 / WHILE Swapped = TRUE OR Pass <= Limit - 1 DO


should be WHILE Swapped = TRUE AND Pass <= Limit - 1 DO

 Line 17 / ItemList[Counter]  Temp


should be ItemList[Counter + 1]  Temp

 Line 19 / ENDCASE
should be ENDIF

Page 8 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

Correct algorithm:
01 DECLARE ItemList : ARRAY[1:100] OF STRING
02 DECLARE Counter : INTEGER
03 DECLARE Limit : INTEGER
04 DECLARE Pass : INTEGER
05 DECLARE Swapped : BOOLEAN
06 DECLARE Temp : STRING
07 Limit  100
08 Pass  1
09 Swapped  TRUE
10 WHILE Swapped = TRUE AND Pass <= Limit - 1 DO
11 Swapped  FALSE
12 FOR Counter  1 TO Limit – Pass
13 IF ItemList[Counter] > ItemList[Counter + 1]
14 THEN
15 Temp  ItemList[Counter]
16 ItemList[Counter]  ItemList[Counter + 1]
17 ItemList[Counter + 1]  Temp
18 Swapped  TRUE
19 ENDIF
20 Pass  Pass + 1
21 NEXT Counter
22 ENDWHILE

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


 The use of a flag (set initially to FALSE) to show if a swap has been made (during the
current iteration) …
 … to stop the loop if it has been sorted
 The reduction in the limit of the (inner) loop after each iteration (of the loop) …
 … to reduce the number of iterations required

Page 9 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

5(a) One mark per mark point, max one 1 Allow other correct answers e.g.,
 Design ‘maintenance’. Discuss at STM.
 Coding
 Testing
5(b) One mark per mark point, max three 3 Allow other correct answers e.g.,
 Abstraction ‘research into the problem using
 Decomposition of the problem information collected from others’.
 Identification of the problem Discuss at STM.
 Identification of the requirements of the solution to the problem
6 One mark for naming the type of check and one mark for an expansion, max two 2
 Visual check
 … looking at the data that has been entered and either confirming it is correct, or
showing / correcting errors.
OR
 Double entry check
 … data is entered twice and the two sets of data are compared (by the computer). If
they don’t match, an error has been input, so re-entry is requested.

Page 10 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

7(a) One mark per mark point, max five 5


MP1 Correct Value column
MP2 Correct Count column
MP3 Correct Answer column (down to first OUTPUT (120))
MP4 Correct Answer column (remaining rows)
MP5 Correct OUTPUT column

Value Count Answer OUTPUT

5 5

4 20

3 60

2 120

1 120 120

6 6

5 30

4 120

3 360

2 720

1 720 720

−1

Page 11 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

7(b) One mark for correct answer 1


 It multiplies the input number by one less than itself repeatedly, until the value is 1
 It calculates the number of permutations of all the numbers up to the input value
 It calculates the factorial
7(c) One mark per mark point, max two 2
 The program would accept the value and enter the FOR loop
 Value would keep reducing by 1 and would never reach 1, as it would already be less
than 1.
 There would be an endless loop

8 One mark per mark point, max four 4


 80
 The largest whole number that would be accepted // Boundary data that would be
accepted
 81
 The smallest whole number that would be rejected // Boundary data that would be
rejected

Page 12 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

9(a) One mark for each correct gate, with the correct input(s) as shown. 4

Q X

Page 13 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

9(b) 4
P Q R X
Four marks for eight correct outputs
0 0 0 1 Three marks for six or seven correct outputs
0 0 1 0 Two marks for four or five correct outputs
One mark for two or three correct outputs
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1

Page 14 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

10 One mark per mark point, max six 6


MP1 Declaration of appropriate string variables Allow any appropriate input variable
MP2 Input of a line of text name
MP3 Correct use of LCASE
MP4 Correct use of LENGTH
MP5 Opening of both required text files using given names (Main.txt,
Filenames Main.txt and
Lowercase.txt)
Backup.txt must be used as they
MP6 Storing of correct lines to each text file
MP7 Closing of both text files are in the question.
MP8 Correct output

For example: Decide actual marking points at STM


meeting
DECLARE LineOfText : STRING
DECLARE LowercaseText: STRING
INPUT LineOfText
OPENFILE Main.txt FOR WRITE
WRITEFILE Main.txt, LineOfText
Accept file names with or without
CLOSEFILE Main.txt quotes as syllabus does not have the
LowercaseText  LCASE(LineOfText) quotes
OUTPUT LowercaseText, LENGTH(LineOfText)
OPENFILE Lowercase.txt FOR WRITE
WRITEFILE Lowercase.txt, LowercaseText
CLOSEFILE Lowercase.txt

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


 Fields - 11
 Records - 15

11(b) The Type field contains data that repeats // Data is not unique 1

Page 15 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

11(c) Two marks for four correct fields 2


One mark for two or three correct fields

Field Data type

RoomNo // Type alphanumeric


Allow one of the day fields as
Mon // Tue // Wed // Thu // Fri // Sat // alphanumeric, if alphanumeric not
Boolean
Sun already given
Rate$ real

Guests integer

11(d) One mark per mark point, max three 3


 Data from 4 correct columns printed – any number of rows
 Data in rows ordered correctly (at least two rows required)
 All data correct
Accept values with missing trailing
Correct output
zeros in decimal part.
104S Single 1 72.50
105S Single 1 72.50
201F Family 4 160.00 Review method of marking at STM to
301D Double 2 200.00 be fair to candidates who have missed
304P Suite 6 700.00 out a column.

Page 16 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

12 Read and understand the question before starting to mark any scripts. 15

Read the whole answer before marking a script.

Check if each requirement listed below has been met. Requirements may be met using a
suitable built-in function from the programming language used (Python, VB.NET or Java).

On the script, add seen if the requirement has been met, NE if a partial attempt, or a cross
if no attempt (see marked scripts).

Use the tables for AO2 and AO3 below to award a mark in a suitable band using a best fit
approach, then add up the total.

Marks are available for:


AO2 (maximum 9 marks)
 AO3 (maximum 6 marks)

Data Structures required with names as given in the scenario:


Arrays or lists Rooms[], Dimensions[]

Variables Number

Requirements (techniques):
R1 Input and store number of rooms, the names of the rooms and their dimensions,
including validation of number of rooms (input with prompts, (nested) iteration, use of
variables, 1D and 2D arrays, validation).
R2 Calculate and store the area of each room, the total area of the house and the
average room area rounded to two decimal places. Find the smallest and largest
rooms (calculation, totalling, rounding, finding maximum and minimum values,
iteration).
R3 Output the results, including contents of the arrays and the calculated data (iteration,
output).

Page 17 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

12 Example 15 mark answer in pseudocode


// meaningful identifiers and appropriate data structures
// similar variables grouped to save space as in HL languages
DECLARE Rooms : ARRAY[1:20] OF STRING
DECLARE Dimensions : ARRAY[1:20, 1:3] OF REAL
DECLARE Number : INTEGER
DECLARE InLoop, Count, Total, OutLoop : INTEGER
DECLARE TotArea, AvArea, Larea, Sarea : REAL
DECLARE Lindex, Sindex : INTEGER
// input and validation of number of rooms
REPEAT
OUTPUT "How many rooms are in your house (enter a number between 3 and 20 inclusive)?"
INPUT Number
IF Number < 3 OR Number > 20
THEN
OUTPUT "The number of rooms must be between 3 and 20 inclusive, please try again"
ENDIF
UNTIL Number >= 3 AND Number <= 20
// input of room names and dimensions – could be more than one loop
FOR InLoop  1 TO Number
OUTPUT "Enter the name of room ", InLoop
INPUT Rooms[InLoop]
OUTPUT "Enter the length of the room in metres"
INPUT Dimensions[InLoop, 1]
OUTPUT "Enter the width of the room in metres"
INPUT Dimensions[InLoop, 2]
Dimensions[InLoop, 3]  ROUND(Dimensions[InLoop, 1] * Dimensions[InLoop, 2], 2)
NEXT InLoop
// calculates total area and average area – rounded values have been stored
TotArea  0
FOR Total  1 TO Number
TotArea  TotArea + Dimensions[Total, 3]
NEXT Total
AvArea  ROUND(TotArea / Number, 2)
// finding largest and smallest rooms
Larea  0
Sarea  100000
Page 18 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Question Answer Marks Guidance

Lindex  1
Sindex  1
FOR Count  1 TO Number
IF Dimensions[Count, 3] > Larea
THEN
Larea  Dimensions[Count, 3]
Lindex  Count
ENDIF
IF Dimensions[Count, 3] < Sarea
THEN
Sarea  Dimensions[Count, 3]
Sindex  Count
ENDIF
NEXT Count
// outputting the results
FOR OutLoop  1 TO Number
OUTPUT "Room: ", Rooms[Outloop]
OUTPUT "Length: ", Dimensions[OutLoop, 1], " metres"
OUTPUT "Width: ", Dimensions[OutLoop, 2], " metres"
OUTPUT "Area: ", Dimensions[OutLoop, 3], " square metres"
Next OutLoop
OUTPUT "The largest room is: ", Rooms[Lindex]
OUTPUT "The smallest room is: ", Rooms[Sindex]
OUTPUT "The total area of the house is: ", TotArea, " square metres"
OUTPUT "The average area of the rooms is: ", AvArea, " square metres"

Page 19 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Marking Instructions in italics

AO2: Apply knowledge and understanding of the principles and concepts of computer science to a given context, including the
analysis and design of computational or programming problems

0 1-3 4-6 7-9

Some programming techniques used The range of programming techniques


At least one programming technique used is appropriate to the problem.
are appropriate to the problem.
has been used.
More than one technique seen applied All criteria stated for the scenario have
Any use of selection, iteration, been covered by the use of
to the scenario, check list of appropriate programming techniques,
counting, totalling, input and output.
No creditable response. techniques needed. check list of techniques needed.
Some data has been stored but not Some of the data structures chosen The data structures chosen are
appropriately. are appropriate and store some of the appropriate and store all the data
Any use of variables or arrays or data required. required.
other language dependent data More than one data structure used to The data structures used store all the
structures e.g. Python lists. store data required by the scenario. data required by the scenario.

Page 20 of 21

downloaded from https://pseudocode.pro


0478, 0984, 2210/22 Cambridge IGCSE - Mark Scheme October/November 2024
PRE-STANDARDISATION
Marking Instructions in italics
AO3: Provide solutions to problems by:
 evaluating computer systems
 making reasoned judgements
 presenting conclusions
0 1-2 3-4 5-6

Program seen without relevant Program seen with some relevant The program has been fully
comments. comment(s). commented.

Some identifier names used are The majority of identifiers used are Suitable identifiers with names
appropriate. appropriately named. meaningful to their purpose have
Some of the data structures used Most of the data structures used have been used throughout.
have meaningful names.. meaningful names. All of the data structures used have
meaningful names.

The solution is illogical. The solution contains parts that may The program is in a logical order.
be illogical.
No creditable response.
The solution is inaccurate in many The solution contains parts that are The solution is accurate.
places. inaccurate. Solution logically performs all the
Solution contains few lines of code Solution contains lines of code with tasks given in the scenario. Ignore
with errors that attempt to perform a some errors that logically perform minor syntax errors.
task given in the scenario. tasks given in the scenario. Ignore
minor syntax errors.

The solution attempts at least one of The solution attempts to meet most of The solution meets all the
the requirements. the requirements. requirements given in the question.
Solution contains lines of code that Solution contains lines of code that Solution performs all the tasks given
attempt at least one task given in the attempts most tasks given in the in the scenario.
scenario. scenario.

Page 21 of 21

downloaded from https://pseudocode.pro

You might also like