Greedy Method

Quiz
•
Computers
•
University
•
Hard
Sudeep Manohar
Used 132+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Dijkstra algorithm is also called the …………………. shortest path problem.
multiple source
single source
single destination
multiple destination
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Greedy method we get ________ Feasible solutions
one
more than one
zero
hundred
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true about Huffman Coding.
Huffman coding may become lossy in some cases
Huffman Codes may not be optimal lossless codes in some cases
In Huffman coding, no code is prefix of any other code.
All
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The output of Kruskal and Prims algorithm is ________________
Maximum spanning tree
Spanning tree
Minimum spanning tree
None
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you determine the cost of a spanning tree?
By the sum of costs of the edges of the tree
By the sum of the costs of the edges and vertices of the tree
By the sum of the costs of the vertices of the tree
By the sum of costs of the edges of the graph
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is optimal value in the case of job sequence problem
Item : 1 2 3 4 5
Profit : 20 15 10 5 1
Deadline : 2 2 3 3 3
1,3,4
1,2,4
4,2,3
1,5,2
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given the four functions f1(n) = n100 , f2(n) = (1.2)n , f3(n) = 2n/2 , f4(n) = 3n/3..... which function will have the largest value for sufficiently large values of n
f4
f3
f2
f1
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Intro to Network -Nry

Quiz
•
University
15 questions
graph

Quiz
•
University
10 questions
ADA Module-3 Quiz 2025

Quiz
•
University
13 questions
Cisco 2, Module 5 (SubSection Questions)

Quiz
•
University
16 questions
Spanning Tree Protocol Quiz

Quiz
•
University
14 questions
Data Structure

Quiz
•
University
10 questions
Knowledge representations

Quiz
•
University
15 questions
Switch Security Configuration

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University