
Dijkstra's and A* Algorithm Quiz

Quiz
•
Computers
•
11th Grade
•
Medium

Kenneth Tai
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the initial distance set for the source vertex in Dijkstra's Algorithm?
Infinity
0
1
-1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a limit of computation mentioned in the document?
Memory capacity
Algorithmic complexity
Network speed
User interface
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is an example of a problem that uses heuristic methods?
Sorting numbers
Travelling salesman problem (TSP)
Calculating interest
Multiplying matrices
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the A* algorithm use to improve efficiency?
Random selection
Heuristic
Brute force
Recursion
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the A* algorithm, what does g(x) represent?
Approximate cost from node(x) to the goal node
Real cost from the source to a given node
Total cost of each node
Heuristic estimate
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a strength of Dijkstra’s algorithm according to the document?
Efficient pathfinding with good heuristic
Guarantees shortest path for all nodes
Uses heuristic to estimate remaining cost to goal
Performance depends on heuristic quality
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What happens to the A* algorithm if h(x) heuristic is 0?
It becomes a random search
It becomes Dijkstra’s algorithm
It becomes a brute force search
It becomes a recursive algorithm
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Notes on Blender 3D: Section 14

Quiz
•
6th Grade - University
10 questions
Coding - Computer Programming

Quiz
•
KG - University
15 questions
APCSP Cumulative Test 2

Quiz
•
9th - 12th Grade
15 questions
Web 3 Spring Review (Part I)

Quiz
•
9th - 12th Grade
12 questions
Search Algorithms

Quiz
•
9th - 11th Grade
15 questions
Sorting Algorithms Quiz

Quiz
•
11th Grade
10 questions
Quiz Jaringan Komputer

Quiz
•
11th Grade
11 questions
CFF - Computational Thinking

Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade