100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

GCSE Computer Science Specimen Paper 2 with Marking Scheme

Puntuación
-
Vendido
-
Páginas
42
Grado
A+
Subido en
11-07-2025
Escrito 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.

Mostrar más Leer menos
Institución
Gcse Computer Science Specimen 2
Grado
Gcse computer science specimen 2









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Gcse computer science specimen 2
Grado
Gcse computer science specimen 2

Información del documento

Subido en
11 de julio de 2025
Archivo actualizado en
11 de julio de 2025
Número de páginas
42
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

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
$15.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Dokkie247 California State University - East Bay
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
170
Miembro desde
1 año
Número de seguidores
5
Documentos
864
Última venta
1 día hace
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.

Lee mas Leer menos
4.5

52 reseñas

5
41
4
4
3
3
2
0
1
4

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes