Specimen Assessment Material for first teaching
September 2020
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
which shows line numbers
• a ‘STUDENT CODING’ folder containing code and data files
• printed and electronic copies of the Programming Language Subset (PLS)
document.
Instructions
• Answer all the questions on your computer.
• ‘COMPLETED
Save new or amended code using the file name provided and place it in the
CODING’ folder.
• You must not use the internet at any time during the examination.
Information
• The ‘STUDENT CODING’ folder in your user area includes all the code and data
files you need.
• The total mark for this paper is 75.
• The marks for each question are shown in brackets.
Advice
• Read each question carefully before you start to answer it.
• Check yourwork
Save your regularly.
• answers and work if you have time at the end.
Turn over
*S68623A0112*
S68623A
©2020 Pearson Education Ltd.
1/1/1/1/1/1/
, Answer ALL questions.
Suggested time: 10 minutes
1 A program generates the shape of a box for a game. The shape of the box is based on
the number that the user inputs.
Open file Q01.py
Amend the lines at the bottom of the code to give the:
• name of a parameter
• symbol used to show assignment
• name of a structured data type implemented as a list
• name of a built-in subprogram in the provided code
• name of a user-devised function
• name of a constant
• name of a local variable.
Do not add any additional functionality.
Save your amended code file as Q01FINISHED.py
(Total for Question 1 = 7 marks)
2