
quiz_module 2
Authored by Navin Agrawal
Computers
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Linguaxes de marcas: HTML
Quiz
•
Professional Development
20 questions
e_commerce
Quiz
•
Professional Development
20 questions
Adobe Fireworks CS6 - 4° Secundaria
Quiz
•
10th Grade - Professi...
20 questions
UF0320
Quiz
•
Professional Development
20 questions
UD3 Plaques Mare
Quiz
•
Professional Development
20 questions
UFCD6059 - Autómatos Programáveis
Quiz
•
Professional Development
20 questions
Avaliação - HTML e CSS
Quiz
•
Professional Development
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...