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

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

Puntuación
-
Vendido
-
Páginas
38
Grado
A+
Subido en
10-01-2024
Escrito en
2023/2024

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

Institución
Grado











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

Escuela, estudio y materia

Institución
Estudio
Grado

Información del documento

Subido en
10 de enero de 2024
Número de páginas
38
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

AQA

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

May 2023

, 2
Do not write
outside the
Answer all questions. box




0 1 Figure 1 shows an algorithm, represented using pseudo-code, which assigns a
different value to four variables.

Figure 1

country  'United States of America'
state  'California'
city  'San Francisco'
landmark  'Alcatraz Island'


0 1 . 1 Define the term algorithm.
[2 marks]




0 1 . The variable x is assigned a value using the
2 statement:

x  LEN(state)

Using Figure 1, what is the value of x?

Shade one lozenge. [1 mark]


A 1

B 5

C 10

D 12




IB/G/Jun23/8525/1B

, 3
Do not write
outside the
0 1 . What is the result of concatenating the contents of the variables city box
3 and
landmark in Figure

1? Shade one lozenge. [1 mark]


A San Francisco Alcatraz Island

B San Francisco,Alcatraz Island

C San Francisco, Alcatraz Island

D San FranciscoAlcatraz Island



0 1 .4 The subroutine SUBSTRING extracts characters from a given string.

For example, SUBSTRING(3, 5, 'Computing') would return
put

The variable y is assigned a value using the statement:

y  SUBSTRING(4, 7, landmark)

Using Figure 1, what is the value of y?

Shade one lozenge. [1 mark]


A Alca

B Atra

C land

D traz



Question 1 continues on the next page




Turn over ►


IB/G/Jun23/8525/1B

, 4
Do not write
outside the
Figure 1 has been included again below. box



Figure 1

country  'United States of America'
state  'California'
city  'San Francisco'
landmark  'Alcatraz Island'


0 1 .5 The subroutine POSITION finds the first position of a character in a

string. For example, POSITION('Computing', 'p') would return

3

The variable z is assigned a value using the statement:

z  POSITION(landmark, 't')

Using Figure 1, what value is assigned to z?
[1 mark]
Shade one lozenge.


A –1

B 3

C 4
6
D 5




IB/G/Jun23/8525/1B
$18.39
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
allexams

Conoce al vendedor

Seller avatar
allexams Havard School
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1
Miembro desde
2 año
Número de seguidores
3
Documentos
247
Última venta
1 año hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

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