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

A-Level Comp Sci June 2026 Practice Paper

Rating
-
Sold
-
Pages
16
Grade
A+
Uploaded on
28-12-2025
Written in
2025/2026

Exam for current specification for June 2026 computer science, practice paper containing practice questions with full answers in exam style format.

Institution
Course










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

Written for

Study Level
Examinator
Subject
Unit

Document information

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

Subjects

Content preview

1a.

What is the difference between a variable and a constant in programming?
[1 mark]


1b.

Write a Boolean expression to check if a variable x is greater than or equal to 10 and less than
or equal to 20.
[2 marks]


1c.

You are asked to write a function sumEvenNumbers in a procedural programming style. The
function takes an array of integers and returns the sum of all even numbers in the array.
Describe the steps needed to implement this function. Explain why using local variables in the
function is good practice.
[3 marks]




2a.

What is the purpose of a hash table in programming?
[1 mark]


2b.

Describe the difference between a linear queue and a circular queue.
[2 marks]


2c.

You are tasked with implementing a binary search tree (BST). Describe the basic properties of a
binary tree and explain how the structure of a binary search tree ensures ef cient searching.
[3 marks]



3a.

What is the main advantage of using Breadth-First Search (BFS) over Depth-First Search (DFS)
in graph traversal?
[1 mark]




fi

,3b.

Explain the difference between pre-order, in-order, and post-order tree traversal algorithms, and
provide an example use case for each.
[2 marks]


3c.

Consider the following list of numbers: [5, 3, 8, 4, 2, 7, 6, 1]. Trace the steps of the Bubble Sort
algorithm as it sorts the list, and analyse its time complexity.
[3 marks]



4a.

What is procedural abstraction and how does it differ from functional abstraction in terms of
computation?
[1 mark]


4b.

Explain the concept of data abstraction and provide an example of how it can be used to hide the
details of data representation.
[2 marks]


4c.

Given the following pseudo-code algorithm:


1. Start
2. Set x = 5
3. If x > 3 Then
4. Set y = x * 2
5. Else
6. Set y = x + 2
7. End If
8. Print y
9. End
Hand-trace the algorithm for x = 5, and explain how the values of x and y are determined.
[3 marks]


4d.

, Describe Dijkstra's shortest path algorithm, explaining the steps involved and its typical
applications.
[4 marks]


4e.

Explain the Halting problem and its signi cance in the theory of computation. Why is it considered
unsolvable?
[5 marks]



5a.

What is the difference between rational and irrational numbers, and provide an example of each?
[1 mark]


5b.

Convert the decimal number 45 to binary and hexadecimal.
[2 marks]


5c.

Explain the concept of two’s complement representation in signed binary numbers. How is it used
to represent negative numbers?
[3 marks]


5d.

Describe how bitmapped graphics are represented in a computer system. What factors affect the
storage requirements of an image?
[4 marks]

5e.

Compare the vector graphics approach with the bitmapped graphics approach. Discuss the
advantages and disadvantages of each.
[5 marks]



6a.

De ne the term hardware.
[1 mark]




fi

fi
$10.60
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
samsmith123

Get to know the seller

Seller avatar
samsmith123 University of Exeter
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
5 year
Number of followers
1
Documents
3
Last sold
5 year ago

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