Dijkstra's Algorithm

Dijkstra's Algorithm

University

6 Qs

quiz-placeholder

Similar activities

Page Replacement Algorithm

Page Replacement Algorithm

University

10 Qs

BACS3323 Chapter 5 -Pathfinding-Lecture

BACS3323 Chapter 5 -Pathfinding-Lecture

University

10 Qs

Q1-DSA

Q1-DSA

University

10 Qs

Coders Club 10/3/25 Adv Batch

Coders Club 10/3/25 Adv Batch

University

10 Qs

UNIT-2 QUEUE

UNIT-2 QUEUE

University

10 Qs

HEAP TREE

HEAP TREE

University

11 Qs

0xDebug - Python

0xDebug - Python

University

10 Qs

DSA Quiz 4 Set 1

DSA Quiz 4 Set 1

University

10 Qs

Dijkstra's Algorithm

Dijkstra's Algorithm

Assessment

Quiz

Computers

University

Medium

Created by

Pretty C

Used 2+ times

FREE Resource

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