Dijkstra's and A* Algorithm Quiz

Dijkstra's and A* Algorithm Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

Sorting Algorithms

Sorting Algorithms

9th - 12th Grade

10 Qs

 undecidable problems/Heuristics Quizizz!

undecidable problems/Heuristics Quizizz!

9th - 12th Grade

6 Qs

Exploring Graphs and Trees Quiz

Exploring Graphs and Trees Quiz

11th Grade

10 Qs

Encryption - AQA A Level Computer Science

Encryption - AQA A Level Computer Science

11th - 12th Grade

10 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

Exploring Pathfinding Algorithms Quiz

Exploring Pathfinding Algorithms Quiz

11th Grade

10 Qs

CSP - Vocab Quiz JAN2023

CSP - Vocab Quiz JAN2023

9th - 12th Grade

14 Qs

AP CSP Algorithms & Programming (College Board Style)

AP CSP Algorithms & Programming (College Board Style)

9th - 12th Grade

15 Qs

Dijkstra's and A* Algorithm Quiz

Dijkstra's and A* Algorithm Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?