Professional Documents
Culture Documents
Question 1
Not yet answered
a.
b.
c.
d.
Question 2
Not yet answered
a. II only
b. I only
c. Both I and II
d. III only
115.240.194.24/vitcc/mod/quiz/attempt.php?attempt=75066&cmid=6506 1/4
9/23/2020 CAT-2 MCQ - CSE2003 DSA - G1 slot ( All students) - 20 Marks (page 1 of 2)
Question 3
Not yet answered
a.
b.
c.
d.
Question 4
Not yet answered
a.
b.
c.
d.
Question 5
Not yet answered
The time complexity of sorting the following numbers 89, 74, 63, 62, 34, 12 using quicksort will be of
a. O(n log n)
b. O(n2)
d. O(log n)
115.240.194.24/vitcc/mod/quiz/attempt.php?attempt=75066&cmid=6506 2/4
9/23/2020 CAT-2 MCQ - CSE2003 DSA - G1 slot ( All students) - 20 Marks (page 1 of 2)
Question 6
Not yet answered
Select all the answers that are false in the case of quicksort.
i) Pivot element cannot be chosen randomly
ii) Always, the first element of the array (sub-array) must be chosen as the pivot
iii) Always, the last element of the array (sub-array) must be chosen as the pivot
(i) only
(iv) only
Question 7
Not yet answered
For deleting a node from Binary Search Tree containing two children can use which of the following node for replacement?
c. Inorder Predecessor
d. Inorder Successor
Question 8
Not yet answered
Check whether the given binary tree is binary search tree or not .
115.240.194.24/vitcc/mod/quiz/attempt.php?attempt=75066&cmid=6506 3/4
9/23/2020 CAT-2 MCQ - CSE2003 DSA - G1 slot ( All students) - 20 Marks (page 1 of 2)
Question 9
Not yet answered
After removing node with value 17, What will be the structure of the binary search tree?
a.
b.
c.
Question 10
Not yet answered
c. Both II and IV
d. Both I and II
115.240.194.24/vitcc/mod/quiz/attempt.php?attempt=75066&cmid=6506 4/4