OCR SUMMER 2026
PREDICTED PAPER
GCSE (9–1) Computer Science
J277/02 Computational thinking, algorithms and programming
Do not use:
• a calculator
Time allowed: 1 hour 30 minutes
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.
for more: tyrionpapers.com
, 2
1 Tick (✓) one box to complete this sentence.
A standard method of solution used to find a piece of data in an array is a
A bubble sort.
B counting routine.
C linear search.
D selection search.
[1]
2 The variables num1 and num2 store integers.
Write pseudocode to add the integers stored in num1 and num2. Store the result in a variable
with the identifier total
...............................................................................................................................................................................................
.......................................................................................................................................................................................[1]
3 Four development life cycle stages and five descriptions are shown.
Draw one line from each stage to the most appropriate description.
Not all descriptions will be used.
Stage Description
testing identifying the problem and requirements
reviewing the final solution to suggest further
developments
analysis
making sure the program code works as expected
coding using structure diagrams, flowcharts and pseudocode to
plan the solution
design using a programming language to create the solution
[4]
for more: tyrionpapers.com
, 3
4 (a) A presence check is a type of validation check.
State the purpose of a presence check.
...................................................................................................................................................
. ............................................................................................................................................................. [1]
(b) A value input into a computer system must be an integer.
(i) Identify the validation check used to test whether the value input meets this requirement.
. .................................................................................................................................................... [1]
(ii) Write the pseudocode for an algorithm to allow a number to be input into an appropriate
variable and check whether the number is an integer. If the number is an integer, it is
accepted. If the number is not an integer, an error message is output. Re-input of the
number is required until a valid number is input.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
. .................................................................................................................................................... [5]
for more: tyrionpapers.com
PREDICTED PAPER
GCSE (9–1) Computer Science
J277/02 Computational thinking, algorithms and programming
Do not use:
• a calculator
Time allowed: 1 hour 30 minutes
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.
for more: tyrionpapers.com
, 2
1 Tick (✓) one box to complete this sentence.
A standard method of solution used to find a piece of data in an array is a
A bubble sort.
B counting routine.
C linear search.
D selection search.
[1]
2 The variables num1 and num2 store integers.
Write pseudocode to add the integers stored in num1 and num2. Store the result in a variable
with the identifier total
...............................................................................................................................................................................................
.......................................................................................................................................................................................[1]
3 Four development life cycle stages and five descriptions are shown.
Draw one line from each stage to the most appropriate description.
Not all descriptions will be used.
Stage Description
testing identifying the problem and requirements
reviewing the final solution to suggest further
developments
analysis
making sure the program code works as expected
coding using structure diagrams, flowcharts and pseudocode to
plan the solution
design using a programming language to create the solution
[4]
for more: tyrionpapers.com
, 3
4 (a) A presence check is a type of validation check.
State the purpose of a presence check.
...................................................................................................................................................
. ............................................................................................................................................................. [1]
(b) A value input into a computer system must be an integer.
(i) Identify the validation check used to test whether the value input meets this requirement.
. .................................................................................................................................................... [1]
(ii) Write the pseudocode for an algorithm to allow a number to be input into an appropriate
variable and check whether the number is an integer. If the number is an integer, it is
accepted. If the number is not an integer, an error message is output. Re-input of the
number is required until a valid number is input.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
. .................................................................................................................................................... [5]
for more: tyrionpapers.com