Dynamic Programming DAA

Dynamic Programming DAA

University

20 Qs

quiz-placeholder

Similar activities

Chapter 8 - Memory Management Strategies

Chapter 8 - Memory Management Strategies

University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Python Quiz

Python Quiz

University

15 Qs

Spreadsheet Fundamentals - Quiz2

Spreadsheet Fundamentals - Quiz2

University

20 Qs

Dynamic Programming DAA

Dynamic Programming DAA

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

RAHUL SONAWANE

Used 69+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In dynamic programming, the technique of storing the previously calculated values is called ___________

Saving value property

Storing value property

Memorization

Mapping

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the two strings “”(empty string) and “abcd”. What is the edit distance between the two strings?

0

3

4

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are 2 things required in order to successfully use the dynamic programming technique?

Optimal sub structure and overlapping sub problems

A problem that can’t be sub divided and is complex

Non overlapping sub problems and intervals

Recursion and a problem that is complex

4.

MULTIPLE SELECT QUESTION

45 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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The difference between Divide and Conquer and Dynamic Programming is:

The division of problems and combination of subproblems

Whether the sub problems overlap or not

The way we solve the base case

The depth of recurrence

6.

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

Memorization

Greedy

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

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?