100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

2025 OCR AS Level Computer Science H046/02 Algorithms and Problem Solving exam paper with Official Mark Scheme and verified answers for full exam preparation

Beoordeling
-
Verkocht
-
Pagina's
38
Cijfer
A+
Geüpload op
17-01-2026
Geschreven in
2025/2026

2025 OCR AS Level Computer Science H046/02 Algorithms and Problem Solving exam paper with Official Mark Scheme and verified answers for full exam preparation

Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
17 januari 2026
Aantal pagina's
38
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Page2025
1 of 382025
OCR ASOCR
Level
A/AS
Computer
Level | Science
QuestionH04602
Paper with
Algorithms
Exam-Ready
and
2025
problem
Examiner
OCR solving
A/AS
Mark
Level
Verified
Scheme
| Question
Question
Paper
paper
with
with
Exam-Ready
Marking Scheme
Examiner
Attached.pdf
Mark Scheme



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
S Level question
2025 2025
OCR
paper,
OCR
AS Level
including
AS Level
Computer
the
Computer
complete
Science
Science
Question
H04602H04602
Paper
Algorithms
Algorithms
with Exam-Ready
and problem
and problem
Examiner
solving
solving
Verified
Mark
Verified
Scheme.
Question
Question
Covers
paperpaper
with
all examinable
Marking
with Marking
Scheme
content
Scheme
Attached.pdf
withAttached.pdf
Verified Answers

, Page2025
2 of 382025
OCR ASOCR
Level
A/AS
Computer
Level | Science
QuestionH04602
Paper with
Algorithms
Exam-Ready
and
2025
problem
Examiner
OCR solving
A/AS
Mark
Level
Verified
Scheme
| Question
Question
Paper
paper
with
with
Exam-Ready
Marking Scheme
Examiner
Attached.pdf
Mark Scheme



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




S Level question
2025 2025
OCR
paper,
OCR
AS Level
including
AS Level
Computer
the
Computer
complete
Science
Science
Question
H04602H04602
Paper
Algorithms
Algorithms
with Exam-Ready
and problem
and problem
Examiner
solving
solving
Verified
Mark
Verified
Scheme.
Question
Question
Covers
paperpaper
with
all examinable
Marking
with Marking
Scheme
content
Scheme
Attached.pdf
withAttached.pdf
Verified Answers

, Page2025
3 of 382025
OCR ASOCR
Level
A/AS
Computer
Level | Science
QuestionH04602
Paper with
Algorithms
Exam-Ready
and
2025
problem
Examiner
OCR solving
A/AS
Mark
Level
Verified
Scheme
| Question
Question
Paper
paper
with
with
Exam-Ready
Marking Scheme
Examiner
Attached.pdf
Mark Scheme



3
BLANK PAGE




DO NOT WRITE ON THIS PAGE




© OCR 2025 Turn over



S Level question
2025 2025
OCR
paper,
OCR
AS Level
including
AS Level
Computer
the
Computer
complete
Science
Science
Question
H04602H04602
Paper
Algorithms
Algorithms
with Exam-Ready
and problem
and problem
Examiner
solving
solving
Verified
Mark
Verified
Scheme.
Question
Question
Covers
paperpaper
with
all examinable
Marking
with Marking
Scheme
content
Scheme
Attached.pdf
withAttached.pdf
Verified Answers

, Page2025
4 of 382025
OCR ASOCR
Level
A/AS
Computer
Level | Science
QuestionH04602
Paper with
Algorithms
Exam-Ready
and
2025
problem
Examiner
OCR solving
A/AS
Mark
Level
Verified
Scheme
| Question
Question
Paper
paper
with
with
Exam-Ready
Marking Scheme
Examiner
Attached.pdf
Mark Scheme



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




S Level question
2025 2025
OCR
paper,
OCR
AS Level
including
AS Level
Computer
the
Computer
complete
Science
Science
Question
H04602H04602
Paper
Algorithms
Algorithms
with Exam-Ready
and problem
and problem
Examiner
solving
solving
Verified
Mark
Verified
Scheme.
Question
Question
Covers
paperpaper
with
all examinable
Marking
with Marking
Scheme
content
Scheme
Attached.pdf
withAttached.pdf
Verified Answers
$8.49
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
learnerluc

Maak kennis met de verkoper

Seller avatar
learnerluc noneya
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
6 maanden
Aantal volgers
0
Documenten
124
Laatst verkocht
6 maanden geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen