greedy-dijkstra

greedy-dijkstra

8th Grade

16 Qs

quiz-placeholder

Similar activities

Programming Fundamentals

Programming Fundamentals

KG - University

20 Qs

Gaming Lesson 2

Gaming Lesson 2

6th - 8th Grade

15 Qs

AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

8th - 10th Grade

18 Qs

Computational Thinking Vocabulary

Computational Thinking Vocabulary

6th - 8th Grade

20 Qs

Neural Network Introduction

Neural Network Introduction

7th - 12th Grade

11 Qs

Coding Vocabulary

Coding Vocabulary

7th - 8th Grade

19 Qs

Computer Science

Computer Science

6th - 8th Grade

17 Qs

Algorithms and Flowol

Algorithms and Flowol

7th - 8th Grade

13 Qs

greedy-dijkstra

greedy-dijkstra

Assessment

Quiz

Other, Computers

8th Grade

Hard

Created by

Edna Dayao

Used 41+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Using the figure above, what is the best-case scenario for the longest path using a greedy algorithm?

optimal choice

greedy choice

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which of the following greedy algorithm is NOT the value using greedy choice?

34

110

38

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the first value of the figure above using greedy choice for the longest path?

34

110

38

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Using greedy choice of the above figure, what is the scenario?

BEST CASE

AVERAGE CASE

WORSE CASE

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Using the figure above, what is the shortest path of A for the Dijkstra algorithm?

B

C

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Using the figure above, what is the shortest path of E for the Dijkstra algorithm?

B

C

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Using the figure above, what is the shortest path of D for the Dijkstra algorithm?

C

E

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?