100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

GCSE Computer Science Specimen Paper 2 with Marking Scheme

Beoordeling
-
Verkocht
-
Pagina's
42
Cijfer
A+
Geüpload op
11-07-2025
Geschreven in
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.

Meer zien Lees minder
Instelling
Gcse Computer Science Specimen 2
Vak
Gcse computer science specimen 2









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Gcse computer science specimen 2
Vak
Gcse computer science specimen 2

Documentinformatie

Geüpload op
11 juli 2025
Bestand laatst geupdate op
11 juli 2025
Aantal pagina's
42
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

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

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.
Dokkie247 California State University - East Bay
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
170
Lid sinds
1 jaar
Aantal volgers
5
Documenten
864
Laatst verkocht
1 dag geleden
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.

Lees meer Lees minder
4.5

52 beoordelingen

5
41
4
4
3
3
2
0
1
4

Recent door jou bekeken

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 Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Veelgestelde vragen