Computer Science · January 2022 · Mark scheme · Paper 2
Edexcel GCSE Computer Science mark scheme for Paper 2, January 2022 — 1CP1/02, file 1CP1_02_rms_20220224.pdf.
Text of this paper
www.dynamicpapers.com
Mark Scheme (Results)
November 2021
Pearson Edexcel GCSE
In Computer Science (1CP1/02)
Paper 2: Application of Computational Thinking
www.dynamicpapers.com
Edexcel and BTEC Qualifications
Edexcel and BTEC qualifications are awarded by Pearson, the UK’s largest awarding body. We p
ea
wide range of qualifications including academic, vocational, occupational and specific programme
employers. For further information visit our qualifications websites at www.edexcel.com or
www.btec.co.uk. Alternatively, you can get in touch with us using the details on our contact us page at
www.edexcel.com/contactus.
Pearson: helping people progress, everywhere
Pearson aspires to be the world’s leading learning company. Our aim is to help everyone progress in their lives
through education. We believe in every kind of learning, for all kinds of people, wherever they are in the world.
We’ve been involved in education for over 150 years, and by working across 70 countries, in 100 languages, we
have built an international reputation for our commitment to high standards and raising achievement through
innovation in education. Find out more about how we can help you and your students at: www.pearson.com/uk
November 2021
Publications Code 1CP1_02_2111_MS
All the material in this publication is copyright
© Pearson Education Ltd 2021
www.dynamicpapers.com
General Marking Guidance
•
•
•
•
•
•
•
•
All candidates must receive the same treatment. Examiners must mark the
first candidate in exactly the same way as they mark the last.
Mark schemes should be applied positively. Candidates must be rewarded
for what they have shown they can do rather than penalised for omissions.
Examiners should mark according to the mark scheme not according to
their perception of where the grade boundaries may lie.
There is no ceiling on achievement. All marks on the mark scheme should
be used appropriately.
All the marks on the mark scheme are designed to be awarded. Examiners
should always award full marks if deserved, i.e. if the answer matches the
mark scheme. Examiners should also be prepared to award zero marks if
the candidate’s response is not worthy of credit according to the mark
scheme.
Where some judgement is required, mark schemes will provide the
principles by which marks will be awarded and exemplification may be
limited.
When examiners are in doubt regarding the application of the mark
scheme to a candidate’s response, the team leader must be consulted.
Crossed out work should be marked UNLESS the candidate has replaced it
with an alternative response.
www.dynamicpapers.com
Question
1(a)(i)
Answer
Any two from
•
•
•
•
•
Question
1(b)
Answer
Any one from
•
•
•
Question
1(c)
dateOfBirth / Date of birth / DOB (1)
membershipType (1)
gender (1)
parent/guardian (if under 16) (1)
address (1)
Input – membership number (1)
Process – check availability (1)
Output – cost of booking / cost (1)
Answer
•
•
(years x discount rate) (1)
Adjusted fee / 12 (1)
Additional Guidance
• Accept any equivalent
names that are
sensible in the context
• Accept variable names
with spaces
Mar
2
Additional Guidance
• Accept sensible
alternative wording.
Mark
3
Additional Guidance
• Ensure that expression
follows the BIDMAS
rules of precedence
Mark
Examples:
• (432 – (432 * (yrs. x 0.05))) / 12
•
•
(fullFee – (fullFee * (numYears * 0.05))) / 12
(membership – (membership * (Years * discount))) / 12
2
www.dynamicpapers.com
Question
2(a)
Question
2(b)
Answer
Additional Guidance
Selection (1)
1
Answer
Additional Guidance
Mark
One mark for each output in the correct cell
Output
Inputs
(month = 7)
(month = 12) AND (time = 19:00)
(month = 4) AND (day =6)
Question
2(c)
Mark
Peak rates apply (1)
Standard rates apply (1)
Peak weekend rates apply (1)
Answer
3
Additional Guidance
Mark
One mark for month (3,4,9 or 10) (1)
One mark for day <= 5 (1)
One mark for time (not between 17 : 00 and 20 : 00) (1)
Example
month = 10 AND day = 4 AND time = 12:00
3
www.dynamicpapers.com
Question
3(a)
Answer
Line 4 – FUNCTION (1) ……pMass , pHeight (2). One parameter (1)
Line 22 – mass , height (2). One variable (1)
Additional Guidance
Ignore case and spacing
Matching order (parameters with variables) (1)
Question
3(b)(i)
Answer
Setting a count controlled loop (1)
Setting a loop that executes for each value in the attendance array (1)
Mark
6
Additional Guidance
Accept iteration
Mark
1
www.dynamicpapers.com
Question
3(b)(ii)
Answer
Additional Guidance
Mark
Initialisation (1)
Count, totals and display from loop, all correct (3)
(1 per correct column)
mean correct (1)
display of mean correct (1)
6
www.dynamicpapers.com
Question
Number
4(a)
Answer
Character / char (1)
Integer (1)
Real / Float / Decimal (1)
Example of correct use of String (1)
Additional Guidance
Mark
4
www.dynamicpapers.com
Question
4(b)(i)
Answer
4(b)(ii)
Any two from:
Range Check (1) used when working with numbers, lets appropriate limits to
be set (1)
Type Check (1) a way to confirm that the correct data type is entered. (1)
Length Check (1) used to make sure that the correct number
of characters are entered (1) .
Lookup (1) – can be when only a limited list of values is valid / improves
accuracy because it lessens the risk of spelling mistakes. (1)
Format / Pattern / pattern-matching check (1) compares data that is entered
to a preassigned template / sequence. (1)
Presence Check (1) this kind of check makes sure that an essential or
required field cannot be left blank / must be filled in. (1)
Additional Guidance
Mar
Validation
Validation is required to make sure any input data is logical / rational /
reasonable / complete / within acceptable limits. (1)
It is needed to reduce / minimise the number of errors in the data input (1)
by checking the input data against a given set of validation rules. (1)
2
4
www.dynamicpapers.com
Question
Number
5(a)(i)
Answer
5(a)(ii)
IF arrayToSort[index,2] < arrayToSort[index + 1,2] THEN
Additional Guidance
Logic error (1)
Correct relational operator (1)
Question
Number
5(b)
Question
Number
5(c)(i)
Mar
2
Answer
Additional Guidance
2 D array / array of records (1)
Do not accept array without
dimension
Answer
Additional Guidance
Mark
1
Mark
An explanation such as:
Change the outer loop from a count controlled loop (1) to be condition
controlled (WHILE, / REPEAT) (1)
A local variable / flag could then be used to control the sort. (1) The flag
could be set to FALSE in the inner loop when no swaps are made. (1) The flag
could then be used in the outer loop to stop the sort and end the procedure.
(1)
Alternative
After every iteration the lowest value will be at the end of the array. (1). The
next iteration need not include already sorted elements (1). Therefore an
improvement would be to restrict the inner loop to avoid already sorted
values (1) by decrementing the loop counter (1).
4
www.dynamicpapers.com
Question
Number
5(c)(ii)
Question
6(a)
Answer
Additional Guidance
Use of comments (1)
Use of whitespace / blank / separating lines (1)
Answer
2
Additional Guidance
• Do not penalise for
missing or incorrect use
of brackets.
• Accept solution based on
range of wTemp
aTemp > wTemp +2 (1)
Correct value for humidity (1)
Correct ON and OFF (1)
Correct construct and structure IF / ELSE / END IF (1)
Question
6(b)
Answer
Indicative content
Mark
Mark
4
Additional Guidance
Mark
wTemp AND NOT aTemp OR NOT humidity /
wTemp AND (NOT (aTemp OR humidity)).
WTemp TRUE (1)
Correct use of AND NOT (1)
Correct use of OR NOT (1)
3
www.dynamicpapers.com
Question
7
Answer
Start race / start timer (1)
Check for false start / reference to pressure sensor (1)
Activate recall with suitable output (1)
Check for input from sensor at 25m / reference to disqualify (1)
Check for input from sensor at 50m / finish (1)
Save result / record time (1)
Additional Guidance
• Do not penalise syntax
Mark
6
www.dynamicpapers.com
Question
Number
8(a)
Answer
Decision T_Count < 3 (1)
Decision F_Count = 6 / <6 (1)
Example of correct use of decision symbol (1) Example of correct Yes / No (1)
Increment T_Count (1) connected to ‘ADD SN process (1)
Additional Guidance
Mark
6
www.dynamicpapers.com
Question
8(b)
Answer
Indicative content
Additional Guidance
Mark
6
www.dynamicpapers.com
Aspect of
Solution
Functionality
0
1
No
There are significant errors
rewardable in logic, leading to an
content
overall solution that is nonfunctional
Accuracy of
No
Notation follows a broadly
notation
rewardable unrecognisable convention
content
that is applied
inconsistently, although
aspects of it are discernible
There is a maximum of 3 marks for functionality.
There is a maximum of 3 marks for accuracy of notation.
Each row is awarded independently.
Marks
2
There are minor errors in
logic, leading to an overall
solution that is not
completely functional
Notation follows a
recognisable convention
which is broadly discernible
but is applied inconsistently
3
There are no errors in logic,
leading to an overall solution
that is fully functional
Notation follows a
recognisable convention and is
applied consistently
throughout
www.dynamicpapers.com
Question
9
Answer
Indicative content:
•
•
•
•
•
•
•
•
•
Mark
9
Assignment of highest and lowest
Assignment of index
While loop with condition
Calculate total
Selection statement for lowest
Selection statement for highest
Increment index
End loop
Calculate dive score
www.dynamicpapers.com
Aspect of
Solution
Functionality
0
1
No
There are significant errors
rewardable in logic, leading to an
content
overall solution that is nonfunctional
Accuracy of
No
Notation follows a broadly
notation
rewardable unrecognisable convention
content
that is applied
inconsistently, although
aspects of it are discernible
Efficiency,
No
There are significant errors
Appropriateness, rewardable in the selection and
and Accuracy of content
accurate use of appropriate
Solution
techniques.
Marks
2
There are minor errors in
logic, leading to an overall
solution that is not
completely functional
Notation follows a
recognisable convention
which is broadly discernible
but is applied inconsistently
3
There are no errors in logic,
leading to an overall solution
that is fully functional
Techniques have been
selected and used with some
accuracy, although the
techniques may not be the
most appropriate.
Techniques have been
selected and used accurately
and appropriately throughout
to demonstrate an efficient
solution.
There is a maximum of 3 marks for functionality.
There is a maximum of 3 marks for accuracy of notation.
There is a maximum of 3 marks for efficiency, appropriateness, and accuracy of solution.
Each row is awarded independently.
Notation follows a
recognisable convention and is
applied consistently
throughout