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
10 questions
Analysis of Algorithms Quiz

Quiz
•
University
15 questions
Chapter 11 - Switch Security Configuration

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
10 questions
Quiz1 2nd Form- Intro to Data Communications

Quiz
•
9th Grade - University
10 questions
Cybersecurity Fundamentals Week 6 Quiz

Quiz
•
KG - University
10 questions
Huffman Coding

Quiz
•
University
14 questions
Greedy Algorithms Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade