4.3: Fundamentals of Algorithms: revision quiz and key terms
Free practice for 4.3: Fundamentals of Algorithms in AQA A Level Computer Science (7517). It has 9 parts, listed below. Try the questions, then check the key terms.
Try 5 free questions
A typical application of depth-first search is:
Reverse Polish notation eliminates the need for brackets in sub-expressions.
What is a typical use of pre-order traversal?
Depth-first search typically uses a queue to manage vertices still to be visited.
What is the Reverse Polish notation for the infix expression (3 + 4) × 2?
In RADevo, this topic has fill-in-the-blank, matching, multiple-choice and true or false activities, and every question you get wrong comes back in Revise today until you've learnt it.
Key terms for 4.3: Fundamentals of Algorithms
- Breadth-first search
- A graph traversal that visits all neighbours of a vertex before moving further away, using a queue.
- Depth-first search
- A graph traversal that follows one branch as far as possible before backtracking, using a stack.
- Dijkstra's algorithm
- Finds the shortest path from one vertex to every other vertex in a weighted graph.
- In-order traversal
- Visits the left subtree, then the node, then the right subtree.
- Linear search
- An algorithm that checks each item in a list in order until the target is found or the list ends.
- Merge sort
- Repeatedly splits a list into halves, then merges the sorted halves back together.
- Post-order traversal
- Visits the left subtree, then the right subtree, then the node.
- Pre-order traversal
- Visits a node, then its left subtree, then its right subtree.
What 4.3: Fundamentals of Algorithms covers
In RADevo this topic has a full topic test and a focused quiz for each part:
- 4.3.1.1 Simple Graph-Traversal Algorithms
- 4.3.2.1 Simple Tree-Traversal Algorithms
- 4.3.3.1 Reverse Polish – Infix Transformations
- 4.3.4.1 Linear Search
- 4.3.4.2 Binary Search
- 4.3.4.3 Binary Tree Search
- 4.3.5.1 Bubble Sort
- 4.3.5.2 Merge Sort
- 4.3.6.1 Dijkstra's Shortest Path Algorithm
Teaching AQA A Level Computer Science (7517)?
Set this topic as homework in two clicks, see who has done it and which questions your class got wrong, and start every lesson with a Do Now built from their mistakes.
Start a free 2-week trialRevising for this?
If your school uses RADevo, sign in to do the full quizzes and keep your progress. If it doesn't, show this page to your Computing teacher.
Log in to RADevo