Thinking. All Assessment Questions & Mark Scheme [Edexcel 1CP2/02]
Exam Resource Summary
The GCSE Computer Science (9–1) May 2025 Paper 2: Application of Computational Thinking (Edexcel
1CP2/02) – All Assessment Questions & Mark Scheme document integrates the complete official examination
paper with its full mark scheme, serving as a focused and practical revision aid. This paper assesses students’
ability to apply programming knowledge, develop algorithms, and solve computational problems using
logical and structured thinking. It tests coding principles, problem decomposition, and the ability to trace and
design efficient solutions in real-world contexts. The merged format places each question beside its marking
criteria, providing transparency into examiner expectations, mark allocation, and coding accuracy standards. This
resource is essential for focused revision, self-assessment, and building confidence in algorithmic problem-
solving, making it a key tool for preparation for the May 2026 Edexcel GCSE Computer Science (9–1) Paper
2: Application of Computational Thinking examination.
Turn over
, Answer ALL questions.
Suggested time: 10 minutes
1 A program calculates a discount based on the number of two-course meals,
three-course meals and drinks ordered by the user.
When the total number of meals exceeds eight, a 15% discount is applied.
When the number of three-course meals exceeds four, a 10% discount is applied.
When the number of two-course meals exceeds two, a 5% discount is applied.
Only one discount can be applied.
When the number of drinks does not match the total number of meals, an error
message is displayed. The total must not be calculated or displayed.
Open file Q01.py
Amend the code to:
• fix the syntax error on original line 4
cost2Courses = 15.00 Cost of meals
• fix the syntax error on original line 6
cost Drinks = 2.00
• fix the syntax error on original line 10
0 = numDrinks
• fix the TypeError on original line 28
total = "num2Courses" * cost2Courses
• fix the NameError on original line 29
total = total + num3Courses * cost33Courses
• fix the NameError on original line 38
total = 0.95 * tatol
• fix the logic error on original line 33
if (num2Courses - num3Courses > 8): # Get 15% discount
• fix the logic error on original line 34
total = 0.85 + total
• fix the logic error on original line 40
print ("Total is:", total)
2 P78600A
■■■■
, Do not change the functionality of the given lines of code.
Do not add any additional functionality.
Save your amended code file as Q01FINISHED.py
(Total for Question 1 = 9 marks)
P78600A 3
■■■■ Turn over
, Suggested time: 10 minutes
2 A program is required to simulate the countdown to a rocket launch.
The user inputs a number between 1 and 10.
The program counts down from that number.
The wait time between each count is 1.5 seconds and is stored in the program code.
Here is the output of a functioning program, when the user enters the number 3
What is the countdown? 3
3
2
1
Ignition - lift off!
Open file Q02.py
Amend the code to:
• import the time library
• create a variable named countDown and set it to 0
• take the input from the user and convert it to an integer
• ensure the number inputted is valid by using two relational operators and one
logical operator
• ensure that the loop stops when it reaches 0
• display countDown for the user
• call a function in the time library to pause the program for the wait time
• reduce countDown by 1
• display “Ignition – lift off!” for the user.
Do not add any additional functionality.
Save your amended code as Q02FINISHED.py
(Total for Question 2 = 10 marks)
4 P78600A
■■■■