II CSE B DP

II CSE B DP

University

20 Qs

quiz-placeholder

Similar activities

DAA Quiz I

DAA Quiz I

University

15 Qs

DAA quiz2

DAA quiz2

University

15 Qs

CA mcq

CA mcq

University

25 Qs

Selection Sort & Exhaustive Search

Selection Sort & Exhaustive Search

University

15 Qs

Lecture 2b: Solving Search Problems - Parte2

Lecture 2b: Solving Search Problems - Parte2

University

18 Qs

DAA QUIZ

DAA QUIZ

University

20 Qs

Searching and Sorting

Searching and Sorting

University - Professional Development

15 Qs

Technical Assessment

Technical Assessment

University

20 Qs

II CSE B DP

II CSE B DP

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?