Advance data-structures

Advance data-structures

University

20 Qs

quiz-placeholder

Similar activities

Ch 2 EC Mechanism

Ch 2 EC Mechanism

University

15 Qs

ASSESSMENT QUIZ 1

ASSESSMENT QUIZ 1

University

20 Qs

Personality Development

Personality Development

University - Professional Development

23 Qs

Client Strategy and Relation

Client Strategy and Relation

University

15 Qs

BUSINESS COMMUNICATION

BUSINESS COMMUNICATION

University

20 Qs

AKT 1rk 3 chast

AKT 1rk 3 chast

University

25 Qs

COMP PROG 2 MOCK EXAM

COMP PROG 2 MOCK EXAM

University

24 Qs

Advance data-structures

Advance data-structures

Assessment

Quiz

Business

University

Hard

Created by

Eben Sophia Paul

Used 17+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Dynamic Programming is often used for (choose all that apply):

Optimization problems that involve making a choice that leave one or more subproblems to be solved.

Problems previously solved using divide and conquer that have over lapping subproblems

Non polynomial solution problems

Subproblems where resources are shared

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.................technique doesn't give guarantee that our solution is optimal

greedy method

dynamic programming approach

backtracking

branch and bound

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following problems is equivalent to the 0-1 Knapsack problem?

You are given a bag that can carry a maximum weight of W. You are given N items which have a weight of {w1, w2, w3,…., wn} and a value of {v1, v2, v3,…., vn}. You can break the items into smaller pieces. Choose the items in such a way that you get the maximum value

You are studying for an exam and you have to study N questions. The questions take {t1, t2, t3,…., tn} time(in hours) and carry {m1, m2, m3,…., mn} marks. You can study for a maximum of T hours. You can either study a question or leave it. Choose the questions in such a way that your score is maximized

You are given infinite coins of denominations {v1, v2, v3,….., vn} and a sum S. You have to find the minimum number of coins required to get the sum S

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If b is the source vertex, what is the minimum cost to reach f vertex?

8

9

6

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is/are property/properties of a dynamic programming problem?
Optimal substructure
Overlapping subproblems
Greedy approach
Both optimal substructure and overlapping subproblems

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

...........................technique is used by solving optimization problems

divide and conquer

greedy method

dynamic programming

both b and c

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is/are property/properties of a dynamic programming problem?

Optimal substructure

Overlapping subproblems

Greedy approach

d) Both optimal substructure and overlapping subproblems

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?