
quiz_module 2

Quiz
•
Computers
•
Professional Development
•
Hard

Navin Agrawal
Used 5+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Time complexity of fractional knapsack problem is ____________
O(n log n)
o(n)
O(n2)
O(log n)
2.
MULTIPLE CHOICE QUESTION
2 mins • 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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The main time taking step in fractional knapsack problem is ___________
a) Breaking items into fraction
b) Adding items into knapsack
c) Sorting
d) Looping through sorted items
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider a complete graph G with 4 vertices. The graph G has ____ spanning trees.
15
16
14
12
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If all the weights of the graph are positive, then the minimum spanning tree of the graph is a minimum cost subgraph.
a) True
b) False
may be
do not say
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kruskal’s algorithm is a ______
a) divide and conquer algorithm
b) dynamic programming algorithm
c) greedy algorithm
d) approximation algorithm
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of Kruskal’s algorithm?
a) O(log V)
b) O(E log V)
c) O(E2)
d) O(V log E)
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Machine Learning Quiz

Quiz
•
Professional Development
20 questions
Bezpieczeństwo w internecie

Quiz
•
KG - Professional Dev...
20 questions
Questionário - Informática Aplicada

Quiz
•
Professional Development
20 questions
Processores

Quiz
•
Professional Development
20 questions
ACTUADORES Y SENSORES

Quiz
•
Professional Development
21 questions
Quiz de Informática Básica

Quiz
•
Professional Development
20 questions
REDES

Quiz
•
Professional Development
30 questions
Statistics & Machine Learning

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
14 questions
2019 Logos

Quiz
•
Professional Development
6 questions
GUM Chart Scavenger Hunt

Quiz
•
Professional Development
8 questions
Understanding Government: Limited and Unlimited

Quiz
•
Professional Development
20 questions
tape measure

Quiz
•
Professional Development
24 questions
Street Signs

Quiz
•
9th Grade - Professio...