Greedy Method

Greedy Method

University

12 Qs

quiz-placeholder

Similar activities

Logika Fuzzy

Logika Fuzzy

University

10 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

STM10163_T1:INTRODUCTION TO DATABASE CONCEPT

STM10163_T1:INTRODUCTION TO DATABASE CONCEPT

University

10 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

ICT 0513 - Chapter 4 : System Unit

ICT 0513 - Chapter 4 : System Unit

University

15 Qs

Greedy Method

Greedy Method

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Sudeep Manohar

Used 132+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?