
Dynamic programing 2
Authored by 21520474 LêHoàiThương_17
Computers
University
Used 2+ times

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
The solution for TSP problem using bitmask-DP has the complexity:
N3
N!*N
N2*2N
2N*N
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of following are a technique used to optimize DP?
(Multiple choices)
Gradient descent
Open and Close interval trick
Knuth's Optimization
max flow
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does dynamic programing want to optimize?
Money
Time complexity
Memory
Number of code line
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is overlapping subproblems ?
A. It refers to the occurrence of subproblems that share common sub-subproblems during the computation.
B. An other name of divide and conquer
C. A property of problems where the optimal solution can be derived from the optimal solutions of its subproblems
D. Don't know
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which problems can be solved by dynamic programing?
Problems that can be solved using divide and conquer.
Problems that can be solved recursively.
Problems that have optimal substructure and overlapping subproblems.
Problems that have optimal substructure or overlapping subproblems.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which problems below can be solved by dp on tree?
Find the shortest path between 2 vertices in a graph
Find tree diameter
Optimal binary search tree
Finding minimum spanning tree
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tabulation is an approach in dynamic programming that involves:
A. Storing computed solutions in a table or array.
B. Using recursion to solve subproblems.
C. Rearranging elements in a data structure.
D. Finding the maximum or minimum value in a sequence.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
05 - Computer Memory
Quiz
•
University
9 questions
Chapter 3 Static Testing
Quiz
•
University
10 questions
CNN-2
Quiz
•
University
9 questions
Stacks/Queues
Quiz
•
University
10 questions
Quiz Jaringan Komputer
Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
10 questions
ALM-CTPS
Quiz
•
University
15 questions
Quantum Computing Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade