Computer Science (2210) · Oct/Nov 2024 · Mark scheme 23

Cambridge Computer Science (2210) mark scheme for paper 23, Oct/Nov 2024 — 2210/23/O/N/24, file 2210_w24_ms_23.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge O Level
COMPUTER SCIENCE

2210/23

Paper 2 Algorithms, Programming and Logic

October/November 2024

MARK SCHEME
Maximum Mark: 75

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

This document consists of 14 printed pages.
© Cambridge University Press & Assessment 2024

[Turn over

2210/23

Cambridge O Level – Mark Scheme
PUBLISHED
Generic Marking Principles

www.dynamicpapers.com
October/November 2024

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

© Cambridge University Press & Assessment 2024

Page 2 of 14

2210/23

Cambridge O Level – Mark Scheme
PUBLISHED

www.dynamicpapers.com
October/November 2024

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.

© Cambridge University Press & Assessment 2024

Page 3 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
1

Answer

1

Answer

Marks

B

1

Question
3

Marks

C

Question
2

www.dynamicpapers.com
October/November 2024

Answer

Marks

One mark for each correct line

4

Logic gate

Logic gate symbol

AND

NAND

NOR

XOR

© Cambridge University Press & Assessment 2024

Page 4 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
4

Answer
One mark for each correct term
Database tables consist of rows/columns/fields/records and columns/rows/fields/records
Rows are records.
columns are fields.
Structured Query Language (SQL) scripts are used to query data.
A primary key uniquely identifies a record.

Question
5

www.dynamicpapers.com
October/November 2024

Answer
One mark for stage, one mark for matching description and one mark for matching expansion (max six)
For example:
• design (1) construction of a solution (1) using standard methods e.g. flowcharts (1)
• coding (1) program is written (1) iterative testing takes place (1)
• testing (1) program is tested for errors (1) program is tested that it meets its requirements (1)

Question

Answer

Marks
6

Marks
6

Marks

6(a)

One mark for each point
• 06 C  1
• 08 W  W + A[C]
• 11 X  W / (C – 1) // ROUND(W / (C – 1),0)

3

6(b)

One mark for outputting X
One mark for outputting C - 1
One mark for suitable messages

3

Example:
12 OUTPUT "Number of values stored in the array is ", C - 1
13 OUTPUT "Average of non-zero elements in the array is ", X

© Cambridge University Press & Assessment 2024

Page 5 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
6(c)

www.dynamicpapers.com
October/November 2024

Answer
One mark for meaningful identifier for the array
A Values

Marks
3

Two marks for 3 meaningful identifiers for the variables
or
One mark for 1 to 2 meaningful identifiers for the variables
C Index
X Average
W Total

Question
7

Answer
One mark for test data type, one mark for matching example and one mark for matching outcome (Max nine)
• normal (1) e.g. 25 (1) accepted (1)
• extreme (1) 1/100 (1) accepted (1)
• abnormal (1) e.g. 125 (1) rejected (1)
• boundary (1) 1 and 0 // 100 and 101 (1) first value is accepted, and second value rejected (1)

© Cambridge University Press & Assessment 2024

Page 6 of 14

Marks
9

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
8

Answer
4 marks for 8 correct outputs
3 marks for 6/7 correct outputs
2 marks for 4/5 correct outputs
1 mark for 2/3 correct outputs
A

T

H

W

0

0

0

0

0

0

1

0

0

1

0

1

0

1

1

0

1

0

0

0

1

0

1

0

1

1

0

0

1

1

1

0

Question
9

One mark for each error identified and correction

Marks
4

first decision box flow line labels Yes should be No and vice versa
second decision box OR should be AND
Flow line from A to B should be should A  B
Flowchart symbol for A  C should be a process box / rectangle

© Cambridge University Press & Assessment 2024

Marks
4

Answer

•
•
•
•

www.dynamicpapers.com
October/November 2024

Page 7 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
10(a)

www.dynamicpapers.com
October/November 2024

Answer

Marks

MYWORD

6

Password

Accept

MYWORD

TRUE

Index

Found

OUTPUT
(Please enter
password)

FALSE
FALSE
1

FALSE

FALSE

Rejected

M!word
Password

Accept

M!word

TRUE

Index

Found

OUTPUT
(Please enter
password)

FALSE
1

FALSE

FALSE

© Cambridge University Press & Assessment 2024

Rejected

Page 8 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
10(a)

www.dynamicpapers.com
October/November 2024

Answer

Marks

My!Hidden
Password

Accept

My!Hidden

TRUE

Index

Found

OUTPUT
(Please enter
password)

1

FALSE

2

FALSE

3

TRUE

4
Accepted
For each trace table, one mark Password and output, one mark Accept, Index and Found columns
10(b)

One mark for each correct point
•
•
•

maximum length 20 characters and minimum length 8 characters
cannot be all upper-case letters or all lower-case letters // must contain upper-case and lower-case letters
must contain an !

Question
11(a)

3

Answer
One mark for each line (max two)
One mark for order of lines

3

MT12 Pebbles large
MT06 Cobbles

© Cambridge University Press & Assessment 2024

Marks

Page 9 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
11(b)(i)

www.dynamicpapers.com
October/November 2024

Answer
One mark for correct SELECT and FROM clauses, one mark for correct WHERE clause

Marks
2

SELECT Name
FROM BuildStock
WHERE NOT InStock // InStock = FALSE / No /"No" // WHERE NumberBags = 0;
11(b)(ii)

Two marks for either point
•
or
•

2

WHERE clause can check the InStock field (1) for FALSE / No (1)
WHERE clause can check the NumberBags field (1) for 0 (1)

© Cambridge University Press & Assessment 2024

Page 10 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
12

www.dynamicpapers.com
October/November 2024

Answer
•
•

15

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

Data Structures required names shown underlined must match those given in the scenario
2D Array or list PickerName[], PickedWeight[], PickerCertificate[]
Variables
Requirements (techniques)
R1 Input and validate the weights (input and iteration)
R2 sort the PickerName[], and PickedWeight[]arrays in descending order of weight (nested iteration and sorting)
R3 Output top two members and the weights. Storing the members names who will receive a certificate and outputting the
number of certificates (iteration, selection, assignment, counting and output with appropriate messages)
Example 15-mark answer in pseudocode
CONSTANT GroupSize = 200 // setting the number of members in the club
DECLARE Position : Array[1:2} OF STRING
Position[1]  "Best in Group"
Position[2]  "Second best in Group"
FOR Index  1 TO GroupSize
REPEAT
PRINT "Please enter the weight for ", PickerName[Index],
INPUT PickedWeight[Index]
UNTIL PickedWeight[Index] > 0 AND PickedWeight[Index] < 15
NEXT Index
Last  GroupSize
REPEAT
Swap  FALSE

© Cambridge University Press & Assessment 2024

Marks

Page 11 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
12

www.dynamicpapers.com
October/November 2024

Answer
FOR Index  1 TO GroupSize -1
IF PickedWeight[Index] < PickedWeight[Index + 1]
THEN
TempWeight  PickedWeight[Index]
PickedWeight[Index]  PickedWeight[Index + 1]
PickedWeight [Index + 1]  TempWeight
TempName  PickerName[Index]
PickerName[Index]  PickerName[Index + 1]
PickerName[Index + 1]  TempName
Swap  TRUE
ENDIF
NEXT Index
Last  Last - 1
UNTIL NOT Swap or Last = 1
FOR Index  1 TO 2
OUTPUT Position[Index], PickerName[Index], " with a weight of ", PickedWeight[Index]
NEXT Index
Index  1
Count  0
WHILE PickedWeight[Index] > 3 DO // count number of certificates required and store names
Count  Count + 1
PickerCertificate[Count]  PickerName[Index]
Index  Index + 1
ENDWHILE
OUTPUT "Number of certificates to be printed is ", Count

© Cambridge University Press & Assessment 2024

Page 12 of 14

Marks

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23

www.dynamicpapers.com
October/November 2024

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
No creditable response.

1–3

4–6

7–9

At least one programming technique
has been used.
Any use of selection, iteration,
counting, totalling, input and output.

Some programming techniques used
are appropriate to the problem.
More than one technique seen
applied to the scenario, check list of
techniques needed.

The range of programming
techniques used is appropriate to the
problem.
All criteria stated for the scenario
have been covered by the use of
appropriate programming
techniques, check list of techniques
needed.

Some data has been stored but not
appropriately.
Any use of variables or arrays or
other language dependent data
structures e.g. Python lists.

Some of the data structures chosen
are appropriate and store some of
the data required.
More than one data structure used
to store data required by the
scenario.

The data structures chosen are
appropriate and store all the data
required.
The data structures used store all
the data required by the scenario.

© Cambridge University Press & Assessment 2024

Page 13 of 14

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23

www.dynamicpapers.com
October/November 2024

Marking Instructions in italics
AO3: Provide solutions to problems by:
evaluating computer systems making reasoned judgements presenting conclusions
0
No creditable response.

1–2

3–4

5–6

Program seen without relevant
comments.

Program seen with some relevant
comment(s).

The program has been fully
commented

Some identifier names used are
appropriate
Some of the data structures used
have meaningful names.

The majority of identifiers used are
appropriately named.
Most of the data structures used
have meaningful names.

Suitable identifiers with names
meaningful to their purpose have
been used throughout.
All of the data structures used have
meaningful names.

The solution is illogical.

The solution contains parts that may
be illogical.

The program is in a logical order.

The solution is inaccurate in many
places.
Solution contains few lines of code
with errors that attempt to perform a
task given in the scenario

The solution contains parts that are
inaccurate.
Solution contains lines of code with
some errors that logically perform
tasks given in the scenario. Ignore
minor syntax errors.

The solution is accurate.
Solution logically performs all the
tasks given in the scenario. Ignore
minor syntax errors.

The solution attempts at least one of
the requirements.
Solution contains lines of code that
attempt at least one task given in the
scenario.

The solution meets most of the
requirements.
Solution contains lines of code that
perform most tasks given in the
scenario.

The solution meets all the
requirements given in the question.
Solution performs all the tasks given
in the scenario.

© Cambridge University Press & Assessment 2024

Page 14 of 14

Advertisement