Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

OCR GCSE 9–1 Computer Science J277-02 Computational Thinking Algorithms And Programming Test Bank 2025/ 2026

Rating
-
Sold
-
Pages
52
Grade
A+
Uploaded on
28-04-2026
Written in
2025/2026

Download OCR GCSE 9–1 Computer Science J277-02 Computational Thinking Algorithms And Programming Test Bank 2025/ 2026 with solution. Ideal for mastering algorithms, programming concepts, computational thinking, problem solving skills, exam preparation, and improving academic performance in GCSE Computer Science.

Show more Read less
Institution
Course

Content preview

R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark
2025/2026Page
UK.EDU.OCR1GCSE
of 52 Package Deal | Complete Exam Question Papers with Marking Schemes, Foundation & Higher Tier Bundle
Page 1



2025 OCR GCSE Computer Science
J277/02 Computational thinking, algorithms and programming
Complete Question paper with Marking Scheme Combined


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:
• a calculator




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

Centre number Candidate number
INSTRUCTIONS
• Use black ink.
• Write your answer to each question in the space provided. If you need extra space use
First name(s)
the lined pages at the end of this booklet. The question numbers must be clearly shown.
• Answer all the questions.
Last name
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




Page 12025 1
R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark

,R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark
2025/2026Page
UK.EDU.OCR2GCSE
of 52 Package Deal | Complete Exam Question Papers with Marking Schemes, Foundation & Higher Tier Bundle
Page 2


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




Page 22025 2
R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark

,R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark
2025/2026Page
UK.EDU.OCR3GCSE
of 52 Package Deal | Complete Exam Question Papers with Marking Schemes, Foundation & Higher Tier Bundle
Page 3


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


Page 32025 3
R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark

,R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark
2025/2026Page
UK.EDU.OCR4GCSE
of 52 Package Deal | Complete Exam Question Papers with Marking Schemes, Foundation & Higher Tier Bundle
Page 4


4
(ii) Give the names of two other programming constructs that are used in a high-level language.

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

2 .......................................................................................................................................................
[2]

(c) A programmer implements the flowchart as a program in a high-level language using an
Integrated Development Environment (IDE).

Identify and describe two tools that the programmer could use in the IDE to create a program
from the flowchart.

Tool 1 ................................................................................................................................................

Description .......................................................................................................................................

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

Tool 2 ................................................................................................................................................

Description .......................................................................................................................................

..........................................................................................................................................................
[4]




© OCR 2025




Page 42025 4
R
(9–1)
GCSEComputer
(9–1)
OCR GCSEComputer
Science
(9–1)
J277-02
Science
Computer
–
J277-02
Computational
Science
– Computational
J277-02
Thinking,
– Computational
Thinking,
Algorithms
Algorithms
&Thinking,
Programming
&Algorithms
Programming
May 2025
& Programming
May
Afternoon
2025 Afternoon
Complete
May 2025Complete
Question
Afternoon
Question
Paper
Complete
& Marking
Paper
Question
& Scheme
Marking
PaperScheme
& Mark

Written for

Institution
Study
Course
School year
1

Document information

Uploaded on
April 28, 2026
Number of pages
52
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$15.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Brainey West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
4710
Member since
7 months
Number of followers
7
Documents
456
Last sold
2 hours ago

4.8

346 reviews

5
283
4
49
3
12
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions