Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

OCR GCSE Computer Science Paper 2 (J277/02 Computational Thinking, Algorithms and Programming) June 2025 QUESTION PAPER

Puntuación
-
Vendido
-
Páginas
20
Grado
A+
Subido en
12-12-2025
Escrito en
2025/2026

OCR GCSE (9–1) Computer Science Paper 2 (J277/02 Computational Thinking, Algorithms and Programming) June 2025 QUESTION PAPER

Institución
OCR GCSE Computer Science Paper 2 2025
Grado
OCR GCSE Computer Science Paper 2 2025

Vista previa del contenido

Oxford Cambridge and RSA

Tuesday 20 May 2025 – Afternoon
GCSE (9–1) Computer Science
J277/02 Computational thinking, algorithms and programming
Time allowed: 1 hour 30 minutes

Do not use:
* 1 8 6 0 3 9 6 2 5 3 *




• a calculator




* J 2 7 7 0 2 *




Please write clearly in black ink. Do not write in the barcodes.

Centre number Candidate number


First name(s)

Last name


INSTRUCTIONS
• Use black ink.
• Write your answer to each question in the space provided. If you need extra space use
the lined pages at the end of this booklet. The question numbers must be clearly shown.
• Answer all the questions.

INFORMATION
• The total mark for this paper is 80.
• The marks for each question are shown in brackets [ ].
• This document has 20 pages.

ADVICE
• Read each question carefully before you start your answer.
• We advise you to spend approximately 50 minutes on Section A and approximately
40 minutes on Section B.




© OCR 2025 [601/8355/X] OCR is an exempt Charity
DC (WW/JG) 355817/3 Turn over

, 2
Section A

We advise you to spend approximately 50 minutes on Section A.

1 A program asks a user to enter a number. Only integer values between 1 and 100 (inclusive) are
accepted. The program is tested.

(a) Tick (✓) one or more boxes in each row to identify the type or types of test for each example of
test data.

Invalid /
Example Normal Boundary
erroneous
test data test data test data
test data

27


"Hello"


105


100

[4]

(b) An algorithm is written for the program.

(i) Complete the algorithm for the program.

num = input("Enter a number between 1 and 100")

if num ........................................ AND ........................................ then

print("accepted")

........................................

print("not accepted")

endif
[3]

(ii) Give the identifier of one variable used in the algorithm in part (b)(i).

..................................................................................................................................................... [1]

(iii) Give one Boolean operator used in the algorithm in part (b)(i).

..................................................................................................................................................... [1]




© OCR 2025

, 3
2 This flowchart uses iteration.


Start



INPUT x



OUTPUT "OK"



x = x - 2



FALSE
IS x < 0?


TRUE

End


(a) Complete the table by identifying how many times "OK" will be output for when each value is input.

Input value Number of times "OK" is output

3


10

[2]

(b) Iteration is a programming construct.

(i) Identify and describe two different examples of iteration that can be used in a high-level
language.

1 .......................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

2 .......................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................
[4]
© OCR 2025 Turn over

Escuela, estudio y materia

Institución
OCR GCSE Computer Science Paper 2 2025
Grado
OCR GCSE Computer Science Paper 2 2025

Información del documento

Subido en
12 de diciembre de 2025
Número de páginas
20
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$18.49
Accede al documento completo:

¿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

Conoce al vendedor
Seller avatar
classteacher1
2.7
(3)

Conoce al vendedor

Seller avatar
classteacher1
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
7
Miembro desde
8 meses
Número de seguidores
0
Documentos
91
Última venta
1 mes hace

2.7

3 reseñas

5
0
4
1
3
1
2
0
1
1

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