Dynamic Programming_CSE

Dynamic Programming_CSE

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Basics of R Programming-II

Basics of R Programming-II

12th Grade - Professional Development

10 Qs

Multiplication and Division Within 100

Multiplication and Division Within 100

3rd Grade - University

10 Qs

Data Science

Data Science

Professional Development

15 Qs

Dinamik prog

Dinamik prog

University

6 Qs

Linear Inequalities in Two Variables and Linear Programming

Linear Inequalities in Two Variables and Linear Programming

9th Grade - University

10 Qs

Math in the Modern World_Module 4 and 5

Math in the Modern World_Module 4 and 5

University

12 Qs

Operation research

Operation research

University

10 Qs

Discrete Time Systems

Discrete Time Systems

University

10 Qs

Dynamic Programming_CSE

Dynamic Programming_CSE

Assessment

Quiz

Mathematics

University - Professional Development

Hard

Created by

Srinivasan SP

Used 121+ times

FREE Resource

10 questions

Show all answers

1.

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If an optimal solution can be created for a problem by constructing optimal solutions for its subproblems, the problem possesses ____________ property.

Overlapping subproblems


Optimal substructure

Memoization

Greedy

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a problem can be broken into subproblems which are reused several times, the problem possesses ____________ property.

Overlapping subproblems


Optimal substructure

Memoization

Greedy

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a problem can be solved by combining optimal solutions to non-overlapping problems, the strategy is called _____________

Dynamic programming

Greedy

Divide and conquer

Recursion

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When dynamic programming is applied to a problem, it takes far less time as compared to other methods that don’t take advantage of overlapping subproblems.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A greedy algorithm can be used to solve all the dynamic programming problems.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following problems is NOT solved using dynamic programming?

0/1 knapsack problem


Matrix chain multiplication problem

Edit distance problem

Fractional knapsack problem

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?