Dijkstra's Algorithm

Dijkstra's Algorithm

University

6 Qs

quiz-placeholder

Similar activities

DAA Quiz 1

DAA Quiz 1

University

10 Qs

Kompyuter ko'rish

Kompyuter ko'rish

University

10 Qs

informatika

informatika

7th Grade - University

10 Qs

typing practise 3

typing practise 3

12th Grade - University

10 Qs

Programming Concepts - Algorithms with array

Programming Concepts - Algorithms with array

7th Grade - University

10 Qs

Analysis of Algorithms

Analysis of Algorithms

University

10 Qs

Post-Test CoR AdvProg

Post-Test CoR AdvProg

University

10 Qs

DCO, Pega Express and Testing

DCO, Pega Express and Testing

University

10 Qs

Dijkstra's Algorithm

Dijkstra's Algorithm

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Pretty C

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dijkstra’s Algorithm is used to solve _____________ problems.

All pair shortest path

Single source shortest path

Network flow

Sorting

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the most commonly used data structure for implementing Dijkstra’s Algorithm?

Max priority queue

Stack

Circular queue

Min priority queue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Dijikstra’s algorithm?

O(N)

O(N3)

O(N2)

O(logN)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dijkstra’s Algorithm cannot be applied on ______________

Directed and weighted graphs

Graphs having negative weight function

Unweighted graphs

Undirected and unweighted graphs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many priority queue operations are involved in Dijkstra’s Algorithm?

1

3

2

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the given graph, identify the shortest path having minimum cost to reach vertex E if A is the source vertex.

a) a-b-e
b) a-c-e
c) a-c-d-e
d) a-c-d-b-e

a-b-e

a-c-e

a-c-d-e

a-c-d-b-e