II CSE B DP

II CSE B DP

University

20 Qs

quiz-placeholder

Similar activities

E-Commerce

E-Commerce

University - Professional Development

16 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Control Structures  C#

Control Structures C#

University

20 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

PythonProgramming

PythonProgramming

University

15 Qs

Pengantar Teknologi Informasi 8

Pengantar Teknologi Informasi 8

University

17 Qs

Text me!

Text me!

University

20 Qs

II CSE B DP

II CSE B DP

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Dr.L.Josephine Dept

Used 2+ 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

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

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers