Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

EDEXCEL GCSE COMPUTER SCIENCE MAY JUNE 2025 PAPER 2 QUESTION PAPER

Beoordeling
5.0
(2)
Verkocht
13
Pagina's
32
Cijfer
A+
Geüpload op
27-09-2025
Geschreven in
2025/2026

EDEXCEL GCSE COMPUTER SCIENCE MAY JUNE 2025 PAPER 2 QUESTION PAPER

Instelling
Vak

Voorbeeld van de inhoud

Pearson Edexcel Level 1/Level 2 GCSE (9–1)
Tuesday 20 May 2025
Afternoon (Time: 2 hours)
Paper
reference 1CP2/02
Computer Science
 


PAPER 2: Application of Computational Thinking


You must have:
• a computer workstation with appropriate programming language code editing software
and tools, including an IDE that you are familiar with that shows line numbers
• a ‘STUDENT CODING’ folder containing code and data files
• printed and electronic copies of the Programming Language Subset (PLS) document
(enclosed).


Instructions
•• Answer all questions on your computer.
Save the new or amended code in the ‘COMPLETED CODING’ folder using the
name given in the question.
•• Do not overwrite the original code and data files provided to you.
You must not use the internet at any time during the examination.

Information
•• The total mark for this paper is 75.
The marks for each question are shown in brackets
– use this as a guide as to how much time to spend on each question.
• The ‘STUDENT CODING’ folder in your user area includes all the code and data files
you need.

Advice
•• Read each question carefully before you start to answer it.
Save your work regularly.
• Check your answers and work if you have time at the end.



Turn over


P78600A
©2025 Pearson Education Ltd.
Y:1/1/1/1/1/1/1/1
*P78600A* for more: tyrionpapers.com

, 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
for more: tyrionpapers.com


, 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 for more: tyrionpapers.com
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
for more: tyrionpapers.com


Geschreven voor

Instelling
Studie
Vak
School jaar
4

Documentinformatie

Geüpload op
27 september 2025
Aantal pagina's
32
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Alleen vragen

Onderwerpen

$5.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Beoordelingen van geverifieerde kopers

Alle 2 reviews worden weergegeven
2 maanden geleden

2 maanden geleden

for more resources, topic tests and 2o26 predicted papers check out tyrionpapers (dot) com or email tyrionlay (at) gmail (dot) com

4 maanden geleden

4 maanden geleden

for more resources, topic tests and 2o26 predicted papers check out tyrionpapers (dot) com or email tyrionlay (at) gmail (dot) com

5.0

2 beoordelingen

5
2
4
0
3
0
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
tyrionsecond66 TA
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
991
Lid sinds
2 jaar
Aantal volgers
99
Documenten
695
Laatst verkocht
3 weken geleden
tyrionpapers

for more resources, topic tests and 2o26 predicted papers check out tyrionpapers (dot) com or email tyrionlay (at) gmail (dot) com

4.4

186 beoordelingen

5
135
4
17
3
16
2
6
1
12

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen