Specimen Set 3
Pearson Edexcel GCSE In Computer Science
(1CP2)
Paper 02: Application of Computational Thinking
,Edexcel and BTEC Qualifications
Edexcel and BTEC qualifications are awarded by Pearson, the UK’s largest awarding body. We provide a
wide range of qualifications including academic, vocational, occupational and specific programmes for
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
All the material in this publication is copyright
© Pearson Education Ltd 2020
, Paper 2 Mark Scheme
Question Answer Additional guidance Mark
number
1 Award marks as shown. • Bullet 4: Accept any (10)
appropriate string
prompt.
• Add a line to import the math library (1)
Original: <Blank> • Bullet 6: Accept any
Amended: import math appropriate message.
• Create and set an integer variable (1) • Bullet 7: Accept any
Original: <Blank> order for calculation.
Amended: radius = 0 Accept approximate
• Create and set a real variable (1) numeric value of Pi, if
Original: <Blank> math library not used
Amended: circumference = 0.0
• Complete the line to take input from the user
Original: radius =
Amended: radius = int (input ("Enter the radius of a circle: "))
Call to input(), with a prompt (1)
Call to int() to convert string to integer (1)
• Complete the line to validate for negative radii (1)
Original: radius
Amended: radius <= 0
• Add a line to print an invalid input message (1)
Original: <Blank>
Amended: print ("Invalid radius")
• Complete the calculation of the circumference (1)
Original: circumference =
Amended: circumference = 2 * math.pi * radius
• Complete the line to round circumference to three decimal places
Original: circumference =
Amended: circumference = round (circumference, 3)
Call to round() (1)
Correct parameters to round() (1)