What is the A* Algorithm?

OCR A2 Computer Science Algorithms Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A sorting algorithm that iterates through a list to find the smallest element.
A generalisation of Dijkstra's algorithm that approximately finds the shortest path between two nodes.
A method of traversing a graph by using a stack to travel as far along one route as possible.
An algorithm to search a list for a particular item by iterating through the list and checking each element.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Big O Notation represent?
The average time an algorithm takes to complete on any input size.
The exact number of operations an algorithm will perform.
A way of classifying algorithms based on their complexity by setting an upper bound for the worst case space or time complexity.
The best case scenario for the time complexity of an algorithm.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of Binary Search?
O(n)
O(n^2)
O(log(n))
O(n log(n))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm uses a queue to visit all the neighbours of the current node before exploring each of the neighbours' neighbours?
Depth-First Traversal
Binary Search
Breadth-First Traversal
Insertion Sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of Bubble Sort?
O(n)
O(n log(n))
O(log(n))
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does Depth-First Traversal differ from Breadth-First Traversal?
Depth-First Traversal uses a queue, while Breadth-First Traversal uses a stack.
Depth-First Traversal uses a stack, while Breadth-First Traversal uses a queue.
Depth-First Traversal is a sorting algorithm, while Breadth-First Traversal is a searching algorithm.
Depth-First Traversal is a searching algorithm, while Breadth-First Traversal is a sorting algorithm.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the goal of Dijkstra's Shortest Path Algorithm?
To sort a list by repeatedly halving the sublist.
To search a list for a particular item by iterating through the list.
To find the shortest path between two nodes on a graph using a priority queue.
To divide a list into sorted and unsorted sections and place elements in the correct position.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
20 questions
Algorithm questions

Quiz
•
12th Grade - University
15 questions
SLR5 | Algorithms

Quiz
•
12th Grade
20 questions
ONE 6th FORM A* & Dijkstras and complexities

Quiz
•
12th Grade
16 questions
Y13 Big O notation

Quiz
•
10th Grade - University
10 questions
Algorithm Complexity Quiz

Quiz
•
9th - 12th Grade
16 questions
Sorting & Searching Algorithms

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University