100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

A-level AQA Computer Science FUNDAMENTALS OF ALGORITHMS

Rating
-
Sold
-
Pages
3
Uploaded on
15-08-2025
Written in
2025/2026

Level up your skills with these expertly written notes covering the fundamentals of algorithms topic from the AQA A-level Computer Science specification. Whether you're preparing for Paper 1 or reinforcing your understanding throughout the year, this resource is designed to make complex concepts crystal clear (used and made by a consistently A/A* student). What’s Inside: - Detailed explanations - Clear breakdown to reinforce understanding - Key terminology to help you apply concepts effectively - Structured summaries aligned with the AQA spec for efficient revision

Show more Read less
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
August 15, 2025
Number of pages
3
Written in
2025/2026
Type
Class notes
Professor(s)
Nil
Contains
All classes

Subjects

Content preview

FUNDAMENTALS OF ALGORITHMS.

Graph-Traversal

Graph-traversal is the process of visiting each vertex in a graph. There are
two algorithms in this section - depth-first and breadth-first graph-
traversals. In a depth-first search, a branch is fully explored before
backtracking, whereas in a breadth-first search a node is fully explored
before venturing on to the next node.

Depth-first traversal uses a stack. Depth-first traversal is used for
navigating a maze. The following example uses a tree, but a depth-first
algorithm can be performed on any connected graph.

Tree-Traversal

Tree-traversal is the process of visiting/updating/outputting each node in a
tree - it is a form of algorithm. Unlike a graph-traversal, tree-traversals are
unique to trees and must start at the root. From the root, they travel left,
down the tree. There are three types of tree-traversals; pre-order, in-order
and post-order. Pre-order and post-order tree-traversal can be performed
on any tree including binary trees but an in-order traversal is only well
defined for binary trees.

Pre-order traversal is used for copying a tree. It can be performed on
any tree.

In-order traversal is useful for a binary search tree and because it
will output the contents of a binary search tree in ascending order. It
can only be performed on binary trees.

Post-order traversals can be performed on any tree. They are useful
for Infix to RPN (Reverse Polish Notation) conversions, producing a
postfix expression from an expression tree and emptying a tree.

Infix to Postfix; as mentioned above, postorder traversal can be
used to make infix to RPN conversions and make postfix expressions
from expression trees. Technically, these two uses are the same. The
difference is that Infix to RPN would involve the making of and then
traversing of a binary tree, whereas in the latter it can be assumed
the expression tree has already been formed.

Reverse Polish

Humans prefer to use in-fix order of notation. This means that the operand
is either side of the opcode. However, longer equations can cause
confusion over the order of execution.
$10.52
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
leyladavidson

Also available in package deal

Get to know the seller

Seller avatar
leyladavidson Bedford College
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
10 months
Number of followers
0
Documents
20
Last sold
7 months ago
Leyla's A-level Master Notes in CS and GEO!

Welcome to my store, your destination for academically rigorous, exam-focused resources tailored for AQA A-Level Computer Science and OCR Geography who achieves A/A* consistently . Curated by a high-achieving student from Bedford College, these notes are designed to elevate your understanding and performance. Each document is: - Aligned with current specifications and mark schemes - Structured for efficient revision and deep comprehension - Enriched with case studies, and technical terminology - Ideal for students aiming for top grades and conceptual clarity

Read more Read less
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