Search Header Logo

DAA Lab Viva

Authored by bhawani pattnaik

Other

University

Used 4+ times

DAA Lab Viva
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given items as {value,weight} pairs {{40,20},{30,10},{20,5}}. The capacity of knapsack=20. Find the maximum value output assuming items to be divisible.

60

80

100

40

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case time complexity of merge sort?

O(n log n)

O(n2)

O(n2 log n)

O(n log n2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Time Complexity of Breadth First Search is?

(V – number of vertices, E – number of edges)

O(V + E)

O(V)

O(E)

O(V*E)

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

In a Flow Network what is the source?

Vertex with no leaving edges

Centre vertex

Vertex with no incoming edges

Vertex with the least weight

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods can be used to solve n-queen’s problem?

greedy algorithm

divide and conquer

iterative improvement

backtracking

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problems that can be solved in polynomial time are known as?

intractable

tractable

decision

complete

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?