Dijkstra's and A* Algorithm Quiz

Dijkstra's and A* Algorithm Quiz

11th Grade

10 Qs

quiz-placeholder

Similar activities

157. OCR A Level (H446) SLR26 – 2.3 Dijkstra’s shortest path

157. OCR A Level (H446) SLR26 – 2.3 Dijkstra’s shortest path

11th Grade

15 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

10 Qs

AP Computer Science Principles - Unit 6: Algorithms

AP Computer Science Principles - Unit 6: Algorithms

9th - 12th Grade

10 Qs

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

10th - 12th Grade

15 Qs

Week 11 Networks and Routing

Week 11 Networks and Routing

10th Grade - Professional Development

15 Qs

Codehs Unit 6

Codehs Unit 6

9th - 12th Grade

15 Qs

Code.org Algorithms

Code.org Algorithms

9th - 12th Grade

15 Qs

Code.org Algorithm

Code.org Algorithm

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?