Time left:

[All Quizzes] → [Introduction to Algorithms] → [Sorting and Searching]


1. ► Heap sort guarantees O(nlgn) performance

A.
B.

2. ► Topological ordering in a graph is unique

A.
B.

3. ► Binary search is there in algorithm package

A.
B.

4. ► Heap sort can be parallelized

A.
B.

5. ► Merge sort can be parallelized

A.
B.

6. ► Stable sorting always preserves the order

A.
B.

7. ► Merge sort has linear space requirement

A.
B.

8. ► Quick sort is one of the most extensively used sorting algorithm

A.
B.

9. ► For faster and frequent searches, sorted sequences are better to work on

A.
B.

10. ► Merge sort is not a stable sort

A.
B.

11. ► Binary search only operates on sorted sequence

A.
B.

12. ► Heap sort cannot be done in-place

A.
B.

13. ► Hidden constants are higher in merge sort

A.
B.

14. ► Merge sort works on the principle of divide-and-conquer

A.
B.

15. ► Merge sort’s O(nlgn) performance is not guaranteed

A.
B.

16. ► A simple depth-first walk is enough to give topological ordering

A.
B.

17. ► Binary search performs in linear time

A.
B.

18. ► Heap sort makes use of heap data structure

A.
B.

19. ► Searching is more expensive in sorted sequence

A.
B.

20. ► In unsorted sequence, key and data cannot stay together

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy