Home / Engineering / Design and Analysis of Algorithms MCQs / Page 24

Design and Analysis of Algorithms MCQs | Page - 24

Dear candidates you will find MCQ questions of Design and Analysis of Algorithms here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.17K Points
Coach

Q. 231) When dynamic programming is applied to a problem, it takes far less time as compared to other methods that don’t take advantage of overlapping subproblems.

(A) true
(B) false
(C) ---
(D) ---
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 232) A greedy algorithm can be used to solve all the dynamic programming problems.

(A) true
(B) false
(C) ---
(D) ---
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 233) In dynamic programming, the technique of storing the previously calculated values is called                        

(A) saving value property
(B) storing value property
(C) memoization
(D) mapping
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 234) When a top-down approach of dynamic programming is applied to a problem, it usually                            

(A) decreases both, the time complexity and the space complexity
(B) decreases the time complexity and increases the space complexity
(C) increases the time complexity and decreases the space complexity
(D) increases both, the time complexity and the space complexity
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 235) Which of the following problems is NOT solved using dynamic programming?

(A) 0/1 knapsack problem
(B) matrix chain multiplication problem
(C) edit distance problem
(D) fractional knapsack problem
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 236) Which of the following problems should be solved using dynamic programming?

(A) mergesort
(B) binary search
(C) longest common subsequence
(D) quicksort
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 237) What is the time complexity of the recursive implementation used to find the nth fibonacci term?

(A) o(1)
(B) o(n2)
(C) o(n!)
(D) exponential
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 238) What is the space complexity of the recursive implementation used to find the nth fibonacci term?

(A) o(1)
(B) o(n)
(C) o(n2)
(D) o(n3)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 239) return fibo_terms[n]

(A) o(1)
(B) o(n)
(C) o(n2)
(D) exponential
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 240) You are given infinite coins of denominations v1, v2, v3,…..,vn and a sum S. The coin change problem is to find the minimum number of coins required to get the sum S. This problem can be solved using

(A) greedy algorithm
(B) dynamic programming
(C) divide and conquer
(D) backtracking
View Answer Discuss Share

Explore Sets

Design and Analysis of Algorithms MCQs Set 1

Design and Analysis of Algorithms MCQs Set 2

Design and Analysis of Algorithms MCQs Set 3

Design and Analysis of Algorithms MCQs Set 4

Design and Analysis of Algorithms MCQs Set 5

Design and Analysis of Algorithms MCQs Set 6

Design and Analysis of Algorithms MCQs Set 7

Design and Analysis of Algorithms MCQs Set 8

Design and Analysis of Algorithms MCQs Set 9

Design and Analysis of Algorithms MCQs Set 10

Design and Analysis of Algorithms MCQs Set 11

Design and Analysis of Algorithms MCQs Set 12

Design and Analysis of Algorithms MCQs Set 13

Design and Analysis of Algorithms MCQs Set 14

Design and Analysis of Algorithms MCQs Set 15

Design and Analysis of Algorithms MCQs Set 16

Design and Analysis of Algorithms MCQs Set 17

Design and Analysis of Algorithms MCQs Set 18

Design and Analysis of Algorithms MCQs Set 19

Design and Analysis of Algorithms MCQs Set 20

Design and Analysis of Algorithms MCQs Set 21

Design and Analysis of Algorithms MCQs Set 22

Design and Analysis of Algorithms MCQs Set 23

Design and Analysis of Algorithms MCQs Set 24

Design and Analysis of Algorithms MCQs Set 25

Design and Analysis of Algorithms MCQs Set 26

Design and Analysis of Algorithms MCQs Set 27

Design and Analysis of Algorithms MCQs Set 28

Design and Analysis of Algorithms MCQs Set 29

Design and Analysis of Algorithms MCQs Set 30

Design and Analysis of Algorithms MCQs Set 31

Design and Analysis of Algorithms MCQs Set 32

Design and Analysis of Algorithms MCQs Set 33

Design and Analysis of Algorithms MCQs Set 34

Design and Analysis of Algorithms MCQs Set 35

Design and Analysis of Algorithms MCQs Set 36

Design and Analysis of Algorithms MCQs Set 37

Design and Analysis of Algorithms MCQs Set 38

Design and Analysis of Algorithms MCQs Set 39

Design and Analysis of Algorithms MCQs Set 40

Design and Analysis of Algorithms MCQs Set 41

Design and Analysis of Algorithms MCQs Set 42