
II CSE B DP

Quiz
•
Computers
•
University
•
Hard
Dr.L.Josephine Dept
Used 2+ times
FREE Resource
20 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
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 solved by combining optimal solutions to non-overlapping problems, the strategy is called _____________
Dynamic programming
Greedy
Divide and conquer
Recursion
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a top-down approach of dynamic programming is applied to a problem, it usually _____________
Decreases both, the time complexity and the space complexity
Decreases the time complexity and increases the space complexity
Increases the time complexity and decreases the space complexity
Increases both, the time complexity and the space complexity
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following standard algorithms is not Dynamic Programming based?
Bellman–Ford Algorithm for single source shortest path
Floyd Warshall Algorithm for all pairs shortest paths
0-1 Knapsack problem
Prim’s Minimum Spanning Tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following problems should be solved using dynamic programming?
Merge sort
Binary search
Longest common subsequence
Quicksort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dijkstra’s Algorithm is the prime example for ___________
Dynamic programming
Back tracking
Branch and bound
Greedy algorithm
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Deep Learning Quiz 2

Quiz
•
University
15 questions
CC 105 - Quiz No 2 (BSIT2A-G2)

Quiz
•
University
21 questions
Introduction to CS

Quiz
•
7th Grade - University
20 questions
Sorting and Searching Algorithms Quiz - Batch 1

Quiz
•
University
21 questions
CIW IBA Lesson 8 Vocabulary

Quiz
•
8th Grade - Professio...
20 questions
Algorithm Exam

Quiz
•
University
20 questions
Artificial Intelligence

Quiz
•
8th Grade - Professio...
15 questions
Week 11 Networks and Routing

Quiz
•
10th Grade - Professi...
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