Dijkstra’s Algorithm is the prime example for ___________

DAA QUIZ-II

Quiz
•
Computers
•
University
•
Easy
SRINIVASARAO 22PHD7042
Used 14+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dynamic Programming
Backtracking
Branch & Bound
Greedy Algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fractional knapsack problem is solved most efficiently by which of the following algorithm?
Backtracking
Greedy algorithm
Dynamic programming
Divide and conquer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is false about the Kruskal’s algorithm?
It constructs MST by selecting edges in increasing order of their weights
It is a greedy algorithm
It uses union-find data structure
It can accept cycles in the MST
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the given graph.
What is the weight of the minimum spanning tree using the Kruskal’s algorithm?
24
23
15
19
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of Kruskal’s algorithm?
O(log V)
O(E log V)
O(E2)
O(V log E)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following graph. Using Kruskal’s algorithm, which edge will be selected first?
GF
DE
BE
BG
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Every graph has only one minimum spanning tree.
TRUE
FALSE
Create a free account and access millions of resources
Similar Resources on Quizizz
26 questions
Analysis Algorithms Introduction

Quiz
•
University
28 questions
Computer Science quiz

Quiz
•
11th Grade - University
30 questions
Data Structures and Its Applications

Quiz
•
University
28 questions
ALGO - Lesson 4 (Data Structure)

Quiz
•
University
30 questions
BUG-OFF

Quiz
•
University
25 questions
CA mcq

Quiz
•
University
25 questions
Machine Learning (Concept Learning)

Quiz
•
University
26 questions
Searching Algorithms

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade