
Dijkstra's and A* Pathfinding Quiz
Authored by L Fanning
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of Dijkstra's algorithm?
To find the longest path in a graph
To find the shortest path in a graph
To sort nodes in a graph
To detect cycles in a graph
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is commonly used to implement Dijkstra's algorithm efficiently?
Stack
Queue
Priority Queue
Linked List
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Dijkstra's algorithm, what is the initial distance assigned to the starting node?
0
1
Infinity
-1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between Dijkstra's algorithm and A* algorithm?
Dijkstra's uses a heuristic, A* does not
A* uses a heuristic, Dijkstra's does not
Dijkstra's is used for undirected graphs, A* for directed graphs
A* is used for undirected graphs, Dijkstra's for directed graphs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a common heuristic used in the A* algorithm?
Manhattan distance
Euclidean distance
Both A and B
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of Dijkstra's algorithm when implemented with a priority queue?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The total cost from the start node to the goal
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade