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)

2026 Update OCR AS Level Computer Science H046-02 Algorithms and Problem Solving Verified Question Paper

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

The OCR AS Level Computer Science H046-02 Algorithms and Problem Solving Verified Question Paper is part of the OCR Computer Science specification. It assesses students on algorithm design, problem solving, programming techniques, data structures, and computational thinking skills, including pseudocode, flowcharts, and code interpretation. This paper supports AS Level revision and exam preparation.

Show more Read less
Institution
Course

Content preview

2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf




2025 OCR AS Level Computer Science
H046/02 Algorithms and problem solving
Verified Question paper with Marking Scheme Attached



Oxford Cambridge and RSA

Monday 19 May 2025 – Afternoon
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes

Do not use:
• a calculator




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 page 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 70.
• The marks for each question are shown in brackets [ ].
• Quality of extended response will be assessed in questions marked with an asterisk (*).
• This document has 16 pages.

ADVICE
• Read each question carefully before you start your answer




© OCR 2025 [601/5030/0] OCR is an exempt Charity
DC (KS) 324952/8 Turn over
2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf

,2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf



2
1 A gym owner would like a program for members to be able to book gym classes. Each class can have a
maximum of 20 members.

Members will enter their membership ID and then the date and time of the class they want to attend.
Validation rules will check these details meet set rules. If they do not meet the validation rules then an
error message will be displayed. A confirmation message will be displayed if the class is not full. A
bleeping sound will play if the class is full.

(a) Identify two inputs and two outputs for the program.

Input 1 ..............................................................................................................................................

Input 2 ..............................................................................................................................................

Output 1 ...........................................................................................................................................

Output 2 ...........................................................................................................................................
[4]

(b) The programmer is identifying any possible reusable components in the program design.

Explain why the programmer should create reusable program components.

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

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

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

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

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

. .................................................................................................................................................................... [3]




© OCR 2025




2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf

,2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf



3
BLANK PAGE




DO NOT WRITE ON THIS PAGE




© OCR 2025 Turn over



2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf

, 2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf



4
2 Players in a computer game collect items. Each item has a name, e.g. “Fruit” and a type,
e.g. “Apple”. The items for player 1 are stored in a 2D array. The array is 0-indexed.

The pseudocode declaration for the array is:

array p1Items[10,2]

The first dimension stores the item name and the second dimension stores the type.

(a) One characteristic of the array is that it has 2 dimensions.

Identify two other characteristics of the given array.

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

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

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

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

(b) When the game starts, the pseudocode procedure initialiseArraywill initialise each name and type in the
array to "empty".

01 procedure initialiseArray(p1Items:byRef)
02 counter = 0
03 while counter < 10
04 p1Items[counter, 0] = "empty"
05 p1Items[counter, 1] = "empty"
06 counter = counter + 1
07 endwhile
08 endprocedure

(i) State why emptyis in speech marks on lines 04and 05.

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

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

(ii) Rewrite the code in lines 02to 07to use a for loop instead of a while loop.

Write your answer using pseudocode or program code.

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

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

..........................................................................................................................................................
© OCR 2025




2025 2025
OCR2025
OCR
AS Level
OCR
AS Level
Computer
AS Level
Computer
Computer
Science
Science
H04602
Science
H04602
Algorithms
H04602
Algorithms
Algorithms
and problem
and problem
andsolving
problem
solving
Verified
solving
Verified
Question
Verified
Question
paper
Question
paper
withpaper
Marking
with Marking
with
Scheme
Marking
Scheme
Attached.pdf
Scheme
Attached.pdf
Attached.pdf

Written for

Study Level
Examinator
Subject
Unit

Document information

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

Subjects

$13.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.
pykej364 Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
1 year
Number of followers
6
Documents
500
Last sold
4 hours ago

3.7

3 reviews

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