Search Header Logo

Dynamic Programming_CSE

Authored by Srinivasan SP

Mathematics

University - Professional Development

Used 121+ times

Dynamic Programming_CSE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?