• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 40 pages
Exam (elaborations)

OCR A Level Computer Science Paper 2 2026 Question Paper (PDF)

Document preview thumbnail
Preview 4 out of 40 pages

2026 OCR A Level Computer Science Paper 2 question paper: the complete exam in PDF. Question paper only; the mark scheme is a separate listing. WHAT IS IN THIS FILE - The full 2026 question paper for OCR A Level Computer Science Paper 2, as published by OCR - Original question order, ready to print on A4 or annotate on a tablet - A clean PDF for phone, tablet, laptop or print - Not included: the mark scheme HOW TO USE IT 1. Print the paper or open it on a tablet and start a timer for the full exam time. 2. Work through it in one sitting, with no notes and no breaks beyond what the real exam allows. 3. Mark it afterwards with the matching mark scheme and write your score next to each question. 4. List your three weakest topics and plan revision sessions around them. WHO IT HELPS - A Level Computer Science students preparing for mocks and final exams - Teachers and tutors who want a ready-made paper for lessons, homework or cover work - Resit and private candidates studying without a teacher QUESTIONS STUDENTS ASK Does it include the mark scheme? No. This listing is the question paper only. The mark scheme is a separate document. Which paper and year is it? 2026 OCR A Level Computer Science Paper 2. Can I print it? Yes. It is a standard PDF and prints cleanly on A4. Has the content been edited? No. The OCR material is supplied as published, in PDF form. BOTTOM LINE Download the 2026 OCR A Level Computer Science Paper 2 question paper, sit it like the real exam, and use your mark scheme results to plan what to revise next.

Content preview

Wednesday 17 June 2026 – Morning
A Level Computer Science
H446/02 Algorithms and programming
Time allowed: 2 hours 30 minutes

You can use:
*




• a ruler (cm/mm)
• an HB pencil
Do not use:
• a calculator




* H 4 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. You can use an HB pencil, but only for graphs and diagrams.
• 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 140.
• 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 40 pages.

ADVICE
• Read each question carefully before you start your answer.




Cambridge OCR 2026 [601/4911/5] Cambridge OCR is an exempt Charity
DC (WW/CT) 378411/4 Turn over


for more:

, 2
BLANK PAGE




DO NOT WRITE ON THIS PAGE




Cambridge OCR 2026



for more:

, 3
Section A

1 Data structures store data.

(a) One data structure is a stack.

(i) Give two characteristics of a stack.

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

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

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

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

(ii) A function pop() removes an item of data from a stack.

Describe how the function pop() will work.

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

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

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

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

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

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




Cambridge OCR 2026 Turn over

for more:

, 4
(b) A second data structure is a queue.

A queue is stored as a 1-dimensional array of 100 integers with the identifier intQueue.

The queue has two pointers:

• head that stores a pointer to the first item in the queue. It has a starting value of –1
• tail that stores a pointer to the last item in the queue. It has a starting value of –1

(i) The function enqueue():

• takes an integer parameter to insert into the queue
• stores the parameter in the queue, updates the relevant pointer and returns true if the
queue is not full
• returns false if the queue is full.

Complete the function enqueue() using either pseudocode or program code.

function enqueue(insertData)

if tail > = ............................................ then

return false

endif

if head == ............................................ then

head = 0

tail = 0

else

tail = ............................................

endif

intQueue[............................................] = insertData

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

endfunction
[5]




Cambridge OCR 2026



for more:

Document information

Study Level
Subject
Uploaded on
October 17, 2026
Number of pages
40
Written in
2026/2027
Type
Exam (elaborations)
Contains
Only questions
$14.99

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

Sold
1
Followers
0
Items
391
Last sold
3 days ago



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