Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

GCSE Computer Science Specimen Paper 2 with Marking Scheme

Note
-
Vendu
-
Pages
42
Grade
A+
Publié le
11-07-2025
Écrit en
2024/2025

Access the GCSE Computer Science Specimen Paper 2 with Marking Scheme. Includes practice questions and detailed answers to help students prepare effectively for exams. Perfect for understanding key computer science concepts and improving problem-solving skills. Download instantly on Stuvia and get a high-quality resource to boost your GCSE Computer Science grades.

Montrer plus Lire moins
Établissement
Gcse Computer Science Specimen 2
Cours
Gcse computer science specimen 2









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Gcse computer science specimen 2
Cours
Gcse computer science specimen 2

Infos sur le Document

Publié le
11 juillet 2025
Fichier mis à jour le
11 juillet 2025
Nombre de pages
42
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

Pearson Edexcel Level 1/Level 2 GCSE (9–1)
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



*S68826A0112*
S68826A
©2020 Pearson Education Ltd.

1/1/1/1/1/

, Answer ALL questions.
Suggested time: 15 minutes
1 A programmer is learning about subprograms. A program includes subprograms
to manipulate numbers and text. It prints out the contents of a data structure and
locates a substring in a quote. It does not function correctly.


Open file Q01.py


Amend the code to:

complete original line 16 to create a one-dimensional data structure,
implemented as a list, and initialise it with nine integers between 0 and 100,
inclusive. The integers can be in any order.
myList =

complete original line 19 to initialise a string variable to the quote:
Better a witty fool than a foolish wit
mySentence =
• fix the indentation error on original line 38
return (location)

complete original line 48 with a built-in function to find the length of the string
variable ‘mySentence’
end = mySentence)
• fix the syntax error on original line 51
while (location != -1)
• complete original line 55 with the keyword for selection
(location != -1):
• fix the syntax error on original line 57
print (FOOL + " found at location: " + str location)
• fix the NameError on original line 44
shwList (myList)
• fix the TypeError on original line 29
outString = outString + item + " "
• fix the logic error on original line 59 that causes an infinite loop.
start = location - 1
Do not add any additional functionality.
Save your amended code file as Q01FINISHED.py

(Total for Question 1 = 10 marks)





2
€14,09
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
Dokkie247 California State University - East Bay
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
170
Membre depuis
1 année
Nombre de followers
5
Documents
864
Dernière vente
1 jours de cela
Dokkie247

Dokkie247 Test Banks and Practice Exams Struggling to find the perfect study materials? Welcome to Dokkie247! We specialize in delivering high-quality test banks, practice exams, and study resources to make exam prep stress-free and effective. Tip: Success doesn’t happen by chance. It happens by choice. Choose Dokkie247 Test Banks and Practice Exams! Study smart, not hard. Your success story starts here! Let’s make exam success your new normal.

Lire la suite Lire moins
4,5

52 revues

5
41
4
4
3
3
2
0
1
4

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions