100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

2025 GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming (Verified Question Paper With Mark Scheme Combined June 2025)

Rating
-
Sold
-
Pages
71
Grade
A+
Uploaded on
03-01-2026
Written in
2025/2026

Tuesday 20 May 2025 – Afternoon GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming Time allowed: 1 hour 30 minutes (Verified Question Paper With Mark Scheme Combined June 2025) 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] DC (WW/JG) 355817/3 OCR is an exempt Charity Turn over Section A We advise you to spend approximately 50 minutes on Section A. 1A 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. Example test data Normal test data Boundary test data Invalid / erroneous 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). .

Show more Read less
Institution
GCSE Computer Science
Course
GCSE Computer Science











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
GCSE Computer Science
Course
GCSE Computer Science

Document information

Uploaded on
January 3, 2026
Number of pages
71
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Oxford Cambridge and RSA - 2025




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




(Verified Question Paper With Mark
Scheme Combined June 2025)

, 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
OCR is an exempt
[601/8355/X] DC
Charity Turn over
(WW/JG) 355817/3

, 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 ..........................................................................................................................................
.............
© OCR Turn over
2025

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.
Smartlearner New York University
View profile
Follow You need to be logged in order to follow users or courses
Sold
10
Member since
1 year
Number of followers
0
Documents
647
Last sold
3 weeks ago
Smart learner

WELCOME TO YOUR ULTIMATE STUDY RESOURCE HUB, Are you a USA or UK student striving for academic excellence? Look no further my STUVIA account is your go- to destination for premium study notes, exams prep materials and practice tests designed to help you ace your courses and exams. WHAT I OFFER Exams Practice Tests: Realistic exam style questions with detailed answers to build your confidence. Time saving materials: focused contents that highlight key concepts saving you hour of study time. WHY CHOOSE MY RESOURSES High quality content Affordable prices Proven results Whether you\'re preparing for GCSEs, A- levels, AP Exams or university level courses, my materials are there to support your academic journey.

Read more Read less
4.8

5 reviews

5
4
4
1
3
0
2
0
1
0

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

Frequently asked questions