Dynamic Programming DAA

Quiz
•
Computers
•
University
•
Hard
RAHUL SONAWANE
Used 69+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Quiz Condicionales y Ciclos

Quiz
•
University
20 questions
ASP.NET Core Basics (1)

Quiz
•
University
24 questions
Python Lists Quiz 8

Quiz
•
University
15 questions
Mastering Java Interfaces and Strings

Quiz
•
University
20 questions
9b eSafety

Quiz
•
6th Grade - University
25 questions
C Programming Language Quiz

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
25 questions
PHP

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University