• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 111 páginas
Examen

2024 AQA GCSE COMPUTER SCIENCE 8525/1B Paper 1 Computational thinking and programming skills – Python Verified Question Paper with Marking Scheme Combined. June 2024

Document preview thumbnail
Vista previa 4 fuera de 111 páginas

2024 AQA GCSE COMPUTER SCIENCE 8525/1B Paper 1 Computational thinking and programming skills – Python Verified Question Paper with Marking Scheme Combined. June 2024 GCSE COMPUTER SCIENCE Paper 1 Computational thinking and programming skills – Python Wednesday 15 May 2024 Afternoon Time allowed: 2 hours Materials • There are no additional materials required for this paper. • You must not use a calculator. Instructions • Use black ink or black ball-point pen. Use pencil only for drawing. • Answer all questions. • You must answer the questions in the spaces provided. • If you need extra space for your answer(s), use the lined pages at the end of this book. Write the question number against your answer(s). • Do all rough work in this book. Cross through any work you do not want to be marked. • Questions that require a coded solution must be answered in Python. • You should assume that all indexing in code starts at 0 unless stated otherwise. Information The total number of marks available for this paper is 90. Advice box Figure 1 shows an algorithm, represented using pseudo-code. The algorithm assigns different values to two variables, then asks the user to input a letter. Figure 1 film  "Godzilla vs. Kong" year  2021 OUTPUT "Please guess a letter" letter  USERINPUT . Which pseudo-code statement assigns the length of the string film to a variable called value? Shade one lozenge. [1 mark] A film  LEN(value) B film  film + value C value  film D value  LEN(film) 0 1 . 2 The POSITION subroutine returns the position of the first occurrence of a character in a string. For example: • POSITION("Godzilla vs. Kong", "o") would return 1 • POSITION("Godzilla vs. Kong", "z") would return 3 letter and film are variables used in the algorithm in Figure 1. Complete the pseudo-code statement to find the position of the first occurrence of the contents of letter in film and store this position in the variable location You must use the POSITION subroutine in your answer. [1 mark] location  . Which of the following would be the most suitable data type for the variable year? box Shade one lozenge. [1 mark] A Boolean B character C integer D real 0 1 . 4 Describe what is meant by an assignment statement in a program. [1 mark] Question 1 continues on the next page Turn over ► . Write a Python program that: • gets the user to enter the name of a film • displays You entered followed by the name of the film entered by the user. The output from the program must be on one line. You should use indentation as appropriate, meaningful variable name(s) and Python syntax in your answer. box The answer grid below contains vertical lines to help you indent your code accurately.

Vista previa del contenido

2024 AQA GCSE COMPUTER SCIENCE 8525/1B Paper 1
Computational thinking and programming skills – Python
Verified Question Paper with Marking Scheme Combined.
June 2024
Please write clearly in block capitals.

Centre number Candidate number


Surname

Forename(s)

Candidate signature
I declare this is my own work.



GCSE
COMPUTER SCIENCE
Paper 1 Computational thinking and programming skills – Python

Wednesday 15 May 2024 Afternoon Time allowed: 2 hours
Materials
 There are no additional materials required for this paper. For Examiner’s Use
 You must not use a calculator. Question Mark
Instructions 1
 Use black ink or black ball-point pen. Use pencil only for drawing.
2–3
 Answer all questions.
 You must answer the questions in the spaces provided. 4–5
 If you need extra space for your answer(s), use the lined pages at 6–7
the end of this book. Write the question number against your
8–9
answer(s).
 Do all rough work in this book. Cross through any work you do 10–11
not want to be marked. 12
 Questions that require a coded solution must be answered in Python.
13–14
 You should assume that all indexing in code starts at 0 unless stated otherwise.
15

Information TOTAL
The total number of marks available for this paper is 90.

Advice
For the multiple-choice questions, completely fill in the lozenge alongside the appropriate answer.
CORRECT METHOD WRONG METHODS

If you want to change your answer you must cross out your original answer as shown.
If you wish to return to an answer previously crossed out, ring the answer you now wish to select as sho

,
, 2

Do not write
outside the
Answer all box
questions.

0 11 shows an algorithm, represented using pseudo-code.
Figure

The algorithm assigns different values to two variables, then asks the user to input a
letter.

Figure 1

film  "Godzilla vs. Kong"
year  2021
OUTPUT "Please guess a letter"
letter  USERINPUT

0 1 .1 Which pseudo-code statement assigns the length of the string film to a
variable called value?

Shade one lozenge.
[1 mark]


A film  LEN(value)

B film  film + value

C value  film

D value  LEN(film)


0 1 . 2 The POSITION subroutine returns the position of the first occurrence of a
character in a string.

For example:
 POSITION("Godzilla vs. Kong", "o") would return 1
 POSITION("Godzilla vs. Kong", "z") would

return 3 letter and film are variables used in the

algorithm in Figure 1.

Complete the pseudo-code statement to find the position of the first
occurrence of the contents of letter in film and store this position in
the variable location

You must use the POSITION subroutine in your answer.
[1 mark]
location 




IB/G/
Jun24/8525/1B

, 3

Do not write
outside the
0 1 .3 Which of the following would be the most suitable data type for the box

variable year?

Shade one lozenge.
[1 mark]


A Boolean

B characte
r
C integer

D real




0 1 . 4 Describe what is meant by an assignment statement in a program.
[1 mark]




Question 1 continues on the next page




IB/G/
Jun24/8525/1B

Información del documento

Subido en
8 de marzo de 2025
Número de páginas
111
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.98

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
Smartlearner
4.8
(5)
Vendido
19
Seguidores
1
Artículos
637
Última venta
4 meses hace



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