DAA QUIZ-II

DAA QUIZ-II

University

30 Qs

quiz-placeholder

Similar activities

CpE 416 Module 3 - De Honor

CpE 416 Module 3 - De Honor

University

35 Qs

Computer Science quiz

Computer Science quiz

11th Grade - University

28 Qs

COCAT - DAA

COCAT - DAA

University - Professional Development

25 Qs

Data structures:  Chapter 2| 1

Data structures: Chapter 2| 1

University

34 Qs

Design and Analysis of Algorithm

Design and Analysis of Algorithm

University

30 Qs

Machine Learning (Concept Learning)

Machine Learning (Concept Learning)

University

25 Qs

Chapt 14

Chapt 14

University

31 Qs

Data Structures Priliminary

Data Structures Priliminary

University

30 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?

Discover more resources for Computers