Candidate surname Other names
Centre Number Candidate Number
Pearson Edexcel International GCSE (9–1)
Monday 10 – Wednesday 12 June 2025
Time 3 hours Paper 4CP0/02
reference
Computer Science
PAPER 2: Application of Computational Thinking
You must have: A computer workstation with appropriate Total Marks programming
language code editing software and tools, including a code interpreter / compiler, CODES
folder containing code and data files, and pseudocode command set (enclosed)
Instructions
•
• Use black ink or ball-point pen.
Fill in the boxes at the top of this page with your name, centre
number and candidate number.
•
• Answer all questions.
Answer the questions requiring a written answer in the spaces provided –
there may be more space than you need.
•
Only one programming language (Python, C# or Java) must be used throughout the
examination.
•
Carry out practical tasks on the computer system and save new or amended code
using the name given in the question with the appropriate file extension.
, •
• Do not overwrite the original code and data files provided to you.
You must not use the internet during the examination.
Information
•
• The total mark for this paper is 80.
The marks for each question are shown in brackets
– use this as a guide as to how much time to spend on each question.
• •
• This paper covers Python, C# and Java.
The CODES folder in your user area includes all the code and data files you need.
The invigilator will tell you where to store your work.
Advice
••
• Read each question carefully before you start to answer it.
Save your work regularly. Check your answers if you have time at the end.
P75737A ©2024 Pearson Education Ltd. *P75737A0116*
F:1/1/1/1/1/
, 1 SEND ‘Enter an integer: ’ TO DISPLAY
2 RECEIVE theNumber FROM (INTEGER) KEYBOARD
264,140,120,284,192
3 420,377,435,376,392
IF (theNumber < 40) THEN
619,589,606,586,600
4 SEND ‘Low range’ TO DISPLAY
799,811,788,814,788
5 END IF 982,1007,1013,989,1009
6 IF (theNumber > 39) AND (theNumber < 70) THEN
There are , the
7 SEND ‘Middle range’ TO DISPLAY
8 END IF
9 IF (theNumber > 69) THEN
10 SEND ‘High range’ TO DISPLAY
11 END IF
Perfect
1000
1 apple banana
2000
3000Alasiabanana
2 wrist
4000 leg
5000Castorwrist
leg wrist
Grand total: 15000
Electra
3 blue yellow
yellow
1 SEND ‘Enter Gudja
an integer: ’ TO DISPLAY
4 speaker keyboard
2 Izar keyboard
RECEIVE theNumber FROM (INTEGER) KEYBOARD
keyboard speaker
3 Kang
IF (theNumber < 40) THEN
4 Maia
SEND ‘Low range’ TO DISPLAY
5 ELSE Ogma
6 IF (theNumber < 70) THEN
7 SEND ‘Middle range’ TO DISPLAY
8 ELSE
9 SEND ‘High range’ TO DISPLAY
10 END IF
11 END IF
, *P75737A0316*
*P75737A0416*
*P75737A0516*
*P75737A0616*
*P75737A0716*
*P75737A0816*
*P75737A0916*
*P75737A01016*
*P75737A01116*
*P75737A01216*
*P75737A01316*
*P75737A01416*
*P75737A01516*