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.
DAA Lab Viva

Quiz
•
Other
•
University
•
Medium

bhawani pattnaik
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Derecho Notarial C.1

Quiz
•
University
10 questions
Christmas Music (Finish the lyrics)

Quiz
•
5th Grade - Professio...
14 questions
INTRODUCCIÓN A LA INVESTIGACIÓN DE OPERACIONES

Quiz
•
University
10 questions
PHD640-Q1

Quiz
•
University
11 questions
Day 10 Quiz- Multiplying Matrices

Quiz
•
University
12 questions
Encelado

Quiz
•
University
10 questions
Sist. Ec. Lineales y Álgebra Matricial

Quiz
•
University
12 questions
Ciencia y Tecnología de Materiales

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Other
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University