DAA QUIZ-II

DAA QUIZ-II

University

30 Qs

quiz-placeholder

Similar activities

Data Structures and  Its Applications

Data Structures and Its Applications

University

30 Qs

Design and Analysis of Algorithm

Design and Analysis of Algorithm

University

30 Qs

Data structures:  Chapter 2| 1

Data structures: Chapter 2| 1

University

34 Qs

CA mcq

CA mcq

University

25 Qs

Design And Analysis of Algorithms

Design And Analysis of Algorithms

University

25 Qs

Hard-very- Hard

Hard-very- Hard

University

26 Qs

DSA - Q1

DSA - Q1

University

25 Qs

Analysis Algorithms Introduction

Analysis Algorithms Introduction

University

26 Qs

DAA QUIZ-II

DAA QUIZ-II

Assessment

Quiz

Computers

University

Easy

Created by

SRINIVASARAO 22PHD7042

Used 14+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dijkstra’s Algorithm is the prime example for ___________

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

Media Image

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

Media Image

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

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?