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

Design and Analysis of Algorithms MCQs | Page - 37

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. 361) Which of the following is not true about subset sum problem?

(A) the recursive solution has a time complexity of o(2n)
(B) there is no known solution that takes polynomial time
(C) the recursive solution is slower than dynamic programming solution
(D) the dynamic programming solution has a time complexity of o(n log n)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 362) What is meant by the power set of a set?

(A) subset of all sets
(B) set of all subsets
(C) set of particular subsets
(D) an empty set
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 363) What is the set partition problem?

(A) finding a subset of a set that has sum of elements equal to a given number
(B) checking for the presence of a subset that has sum of elements equal to a given number
(C) checking whether the set can be divided into two subsets of with equal sum of elements and printing true or false based on the result
(D) finding subsets with equal sum of elements
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 364) Which of the following is true about the time complexity of the recursive solution of set partition problem?

(A) it has an exponential time complexity
(B) it has a linear time complexity
(C) it has a logarithmic time complexity
(D) it has a time complexity of o(n2)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 365) What is the worst case time complexity of dynamic programming solution of set partition problem(sum=sum of set elements)?

(A) o(n)
(B) o(sum)
(C) o(n2)
(D) o(sum*n)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 366) Recursive solution of Set partition problem is faster than dynamic problem solution in terms of time complexity.

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

M

Mr. Dubey • 51.17K Points
Coach

Q. 367) What will be the auxiliary space complexity of dynamic programming solution of set partition problem(sum=sum of set elements)?

(A) o(n log n)
(B) o(n2)
(C) o(2n)
(D) o(sum*n)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 368) Longest palindromic subsequence is an example of                              

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

M

Mr. Dubey • 51.17K Points
Coach

Q. 369) Which of the following methods can be used to solve the edit distance problem?

(A) recursion
(B) dynamic programming
(C) both dynamic programming and recursion
(D) greedy algorithm
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 370) The edit distance satisfies the axioms of a metric when the costs are non-negative.

(A) true
(B) false
(C) ---
(D) ---
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