Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

A-Level Comp Sci June 2026 Practice Paper

Beoordeling
-
Verkocht
-
Pagina's
16
Cijfer
A+
Geüpload op
28-12-2025
Geschreven in
2025/2026

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

Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
28 december 2025
Aantal pagina's
16
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

€9,23
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
samsmith123

Maak kennis met de verkoper

Seller avatar
samsmith123 University of Exeter
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
5 jaar
Aantal volgers
1
Documenten
3
Laatst verkocht
5 jaar 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 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

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen