
ISCP 04 Monday slot 1 (10:30 - 12:00) CSE D&H
Authored by CCC info@ccc.training
English
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Longest increasing subsequence problem can be optimally solved by
Greedy method
Divide & conquer
Dynamic programming
None of these
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given items as {value, weight} pairs {{60,20},{50,25},{20,5}}. The capacity of the knapsack=40. Find the maximum value output assuming items to be divisible and non-divisible respectively.
100, 80
110, 70
130, 110
110, 80
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The time complexity of fractional knapsack problem is?
O(nlogn)
O(n)
O(n2)
O(nW)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statement is correct about 0/1 knapsack?
Items are divisible
It is same as fractional knapsack
It can be solved using greedy technique
Items are indivisible
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following problem must not be solved using dynamic programming?
0/1 knapsack problem
Matrix chain multiplication problem
Edit distance problem
Fractional knapsack problem
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The property in which optimal solution is found by constructing optimal solution for the subproblems.
Overlapping subproblems
Optimal substructure
Memoization
Greedy
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Time complexity of coin change problem solved using greedy technique is
O(logn)
O(n)
O(n^2)
None of these
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?