Search Header Logo

DAA QUIZ-II

Authored by SRINIVASARAO 22PHD7042

Computers

University

Used 14+ times

DAA QUIZ-II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?