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

GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming 2024

Rating
-
Sold
-
Pages
20
Grade
A+
Uploaded on
11-03-2025
Written in
2024/2025

GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programmingGCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming

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










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

Written for

Institution
OCR Computer Science
Course
OCR Computer Science

Document information

Uploaded on
March 11, 2025
Number of pages
20
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

PMT




Oxford Cambridge and RSA

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

Do not use:
* 9 9 3 2 5 3 3 4 3 8 *




• 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.




© OCR 2024 [601/8355/X] OCR is an exempt Charity
DC (ST) 326517/4 Turn over

, PMT


2
SECTION A

1 (a) The table contains four statements about programming languages.

Tick (3) one box in each row to identify whether each statement describes a low-level
programming language or a high-level programming language.

Statement Low-level High-level
The same language can be used on
computers that use different hardware
It allows the user to directly manipulate
memory
It allows the user to write English-like
words
It always needs to be translated into
object code or machine code
[4]

(b) 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]

(c) Three incomplete pseudocode algorithms are given with a description of the purpose of each
algorithm.

Write the missing arithmetic operator for each algorithm.

(i) Outputting 12 to the power of 2.

print(12 ……………… 2) [1]

(ii) Working out if a number is odd or even.

number = 53
if number ……………… 2 == 0 then
print("Even number")
else
print("Odd number")
endif [1]




© OCR 2023

, PMT


3
(iii) Finding the difference between two measurements.

measurement1 = 300

measurement2 = 100

difference = measurement1 ……………… measurement2 [1]

(d) Read the following pseudocode algorithm:

01 start = 3
02 do
03 print(start)
04 start = start - 1
05 until start == -1
06 print("Finished")

Complete the following trace table for the given algorithm.

Line number start Output




[3]
© OCR 2023 Turn over
$13.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
TheExaminar

Get to know the seller

Seller avatar
TheExaminar Cornell University
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
9 months
Number of followers
0
Documents
80
Last sold
-
TopGradePapers

Get AQA, GCSE, Edexcel, and OCR past papers with official marking schemes to revise smarter and achieve top grades easily.

0.0

0 reviews

5
0
4
0
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