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

Cambridge Computer Science (2210) mark scheme for paper 23, Oct/Nov 2022 — 2210/23/O/N/22, file 2210_w22_ms_23.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge O Level
COMPUTER SCIENCE

2210/23

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 10 printed pages.
© UCLES 2022

[Turn over

2210/23

Cambridge O Level – Mark Scheme
PUBLISHED
Generic Marking Principles

October/November 2022
www.dynamicpapers.com

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 10

2210/23

Cambridge O Level – Mark Scheme
PUBLISHED

October/November 2022
www.dynamicpapers.com

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 10

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question

October/November 2022
www.dynamicpapers.com

Answer

Marks

Section A
1(a)(i)

Many correct answers, the name used must be meaningful. The name given is an example only.

3

One mark per mark point, max three
Constant name
Value
Reason
1(a)(ii)

BasicClean
10.00
this number will not change whilst the program is running

Description
Many correct answers, the name used must be meaningful. The name is an example only.

3

One mark per mark point, max three
MP1
MP2
MP3
1(b)

One mark per mark point, max three
MP1
MP2
MP3

© UCLES 2022

name e.g. NameAddress
appropriate data type e.g. string
sample data for the array e.g. Mrs Singh, Park View
3

use a conditional statement // an example of conditional statement used //
use an input statement with validation// an example of input statement used
any working method – for example, to only store True in the three floors array if the two floors array has not been
set to True
output an appropriate error message when an error condition has occurred //
choose appropriate routes through the program depending upon the choice of floors

Page 4 of 10

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
1(c)

Answer
One mark per mark point, max six
MP1
MP1
MP2
MP3
MP4
MP5
MP6
MP7
MP8

Marks
6

initialise bill total to 10
check for additional windows
… and add in amount to total if required
check for 2 floors or 3 floors
… multiply by 1.1 or 1.15 as required
check for inside and multiply by 1.25 if required
check for polish and multiply by 1.05 if required
MP2 to MP7 completed in correct order
check for solar panels and add 20.00 if required

Sample
Total  10.00
ExtraWindowsCost INT((NumberExtraWindows[Bill] –1) / 5) * 5.00
Total  Total + ExtraWindowsCost
CASE NumberOfFloors[Bill] OF // check number of floors
2 : Total  Total * 1.1
3 : Total  Total * 1.15
ENDCASE
IF Inside[Bill] // check for cleaning inside windows
THEN
Total  Total * 1.25
ENDIF
IF Polish[Bill] // check for polishing windows
THEN
Total  Total * 1.05
ENDIF
IF Solar[Bill] // check for cleaning solar panels
THEN
Total  Total + 20.00
ENDIF

© UCLES 2022

October/November 2022
www.dynamicpapers.com

Page 5 of 10

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question
1(d)

Answer
Explanation

how the program counted the number of customers using a service
… how the program counted this for all services
… excluding basic windows and additional windows
how the program identified the service with the largest number of customers
how the program identified the service with the smallest number of customers
how the program calculated a percentage of the total number of bills stored…
… for largest and smallest
how the program displayed these percentages with suitable messages

Programming statements when used must be explained.

© UCLES 2022

Marks
5

One mark per mark point, max five
MP1
MP1
MP2
MP3
MP4
MP5
MP6
MP7

October/November 2022
www.dynamicpapers.com

Page 6 of 10

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question

October/November 2022
www.dynamicpapers.com

Answer

Marks

Section B
2(a)

One mark per mark point in the correct position, max six
•
•
•
•
•
•

2(b)

line 01
line 08
line 12
line 18
line 23
line 24

50
Value > 50
Reading[Value] + 1
INPUT Value
Reading[Count]
Count + 1

One mark per place in code and action, max three

3

• line 21 set Count to 50 / Count  50
• line 24 subtract 1 from Count / Count  Count –1
• line 25 check for Count equal to 34 / check for Count less than 35 / UNTIL Count = 34 / UNTIL Count < 35
or
One mark per place in code and action, max three
•
•
•

line 21 set up FOR loop stating at 50 and finishing at 35 / FOR Count  50 TO 35 STEP –1
Remove lines 22 and 24
line 25 End FOR loop / NEXT Count

Examples
21 Count  50
22 REPEAT
23 OUTPUT "There are ", Reading[Count], " readings, " of ", Count
24 Count  Count –1
25 UNTIL Count = 34
21 FOR Count  50 TO 35 STEP –1
23 OUTPUT "There are ", Reading[Count], " readings, " of ", Count
25 NEXT Count

© UCLES 2022

6

Page 7 of 10

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23
Question

Answer

3(a)(i)

•

3(a)(ii)

One mark for each correct letter seen, max two
•
•

3(b)(i)

3(c)

C
D
2

two or more digits
transposed
2

multiply each digit by a different number / its place value
before adding them together and dividing by a number

One mark per mark point, max two
•
•
•
•

© UCLES 2022

2

One mark per mark point, max two
•
•

Marks
1

One mark per mark point, max two
•
•

3(b)(ii)

1

October/November 2022
www.dynamicpapers.com

2

length check
type check
presence check
format check

Page 8 of 10

Question
4(a)

October/November 2022
www.dynamicpapers.com

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23

Answer

Marks

One mark for each correct column, max four

4

Stock

Total

Sale

10

0

9

1

Y

8

2

Y

7

3

Y

6

4

Y

5

5

Y

4

6

Y

OUTPUT

14
N

Add new stock
6

4(b)

One mark per mark point, max three
•
•
•
•
•

© UCLES 2022

3

input a number / quantity
… check that the number is less than (or equal to) the number in stock
… after checking for N
update Stock by that number / Stock  Stock – Number
update Total by that number / Total  Total + Number

Page 9 of 10

Question
5(a)

Answer

Marks

One mark per mark point, max two
•
•

5(b)

October/November 2022
www.dynamicpapers.com

Cambridge O Level – Mark Scheme
PUBLISHED

2210/23

2

ItemCode
uniquely identifies each item

One mark per mark point, max three
•
•
•

3

correct rows Field, Table and Sort
correct row Show
correct Criteria row
Field: Description
Table: MUSEUM

Country

InStore

MUSEUM

MUSEUM

Sort:
Show:

Criteria:

N

or:

© UCLES 2022

Page 10 of 10

Advertisement