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

AS Level OCR Computer Science | Actual Exam Question Papers and Mark Schemes (Merged)

Beoordeling
-
Verkocht
-
Pagina's
34
Cijfer
A+
Geüpload op
30-11-2025
Geschreven in
2025/2026

This file includes AS Level OCR Computer Science exam papers along with their official mark schemes, merged into single files for convenience. It is ideal for exam practice, checking marking points, and understanding expected answers. The layout follows the official OCR exam board structure.

Meer zien Lees minder
Instelling
AS Level OCR Computer Science
Vak
AS Level OCR Computer Science











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

Geschreven voor

Instelling
AS Level OCR Computer Science
Vak
AS Level OCR Computer Science

Documentinformatie

Geüpload op
30 november 2025
Aantal pagina's
34
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

PMT




Oxford Cambridge and RSA

Tuesday 21 May 2024 – Afternoon
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes

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




• a calculator




* H 0 4 6 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 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 2024 [601/5030/0] OCR is an exempt Charity
DC (ST) 319817/6 Turn over

, PMT


2
Answer all the questions.

1 Eve enjoys playing board games. Her favourite board game is called “Pot Luck”. This has a
numbered grid of 10 squares by 10 squares. Each square has a number between 1 and 100.

Players place their game counters on square 1. A 30-minute timer is set which counts
downwards. Each player rolls two 6-sided dice and then moves their game counter that number
of squares. Some squares tell the player to pick up a card. These have instructions on, such as
‘Move forward 10 spaces’. If the player lands on one of these squares they move according to
the instruction on the card. The first player to land on square 100, is announced as the winner. If
no winner is announced before the timer runs out, then it is a draw.

(a) Eve would like to create a computerised version of this game.

(i) She has been told that she should make use of abstraction when creating the game.

Describe what is meant by the term ‘abstraction’.

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

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

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

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

(ii) Give three examples of how Eve could use abstraction when creating her game.

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

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

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

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

3 .......................................................................................................................................................

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

(iii) Give two reasons why Eve should use abstraction when designing the game.

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

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

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

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




© OCR 2024

, PMT


3
(b) Eve would like to break the problem down into smaller sub problems so that each sub problem
will complete one specific task.

Identify three sub problems that Eve can use in her game.

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

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

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

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

3 .......................................................................................................................................................

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

(c) Logical conditions are checked once a player has rolled the dice.

Describe two different logical conditions and how the result will affect the outcome of the game.

Logical Condition 1

Condition: .........................................................................................................................................

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

Outcome: ..........................................................................................................................................

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

Logical Condition 2

Condition: .........................................................................................................................................

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

Outcome: ..........................................................................................................................................

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




© OCR 2024 Turn over

, PMT


4
2 A programmer is designing a program that will store data.

The programmer is deciding whether to store the data in a stack or a queue.

(a) Identify one similarity and one difference between a stack and a queue.

Similarity ...........................................................................................................................................

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

Difference .........................................................................................................................................

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

(b) The pseudocode function, enqueue, inserts an item into a queue.

01 function enqueue(item)
02 if tailPointer >= queue.length then
03 return false
04 else
05 queue[tailPointer] = item
06 tailPointer = tailPointer + 1
07 return true
08 endif
09 endfunction

(i) Give the name of the parameter in the function enqueue.

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

(ii) Give the name of one global variable that is used in the function enqueue.

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




© OCR 2024

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
STUVIATESTBANK00 Massachusetts Institute Of Technology
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
87
Lid sinds
10 maanden
Aantal volgers
1
Documenten
1176
Laatst verkocht
1 dag geleden
EliteStudy Vault

Welcome to EliteStudy Vault – your one-stop shop for high-quality academic resources! We offer reliable test banks, detailed study guides, exam reviews, lecture notes, and textbook summaries for a wide range of subjects. Whether you\\\'re prepping for nursing, medicine, business, law, or general education, we\\\'ve got you covered. All documents are well-organized, easy to follow, and designed to help you study smarter and score higher

4,6

30 beoordelingen

5
22
4
5
3
3
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 iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Veelgestelde vragen