Time left:

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


1. ► Stable sorting always preserves the order

A.
B.

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

A.
B.

3. ► Binary search only operates on sorted sequence

A.
B.

4. ► Quick sort works on the principle of divide and conquer

A.
B.

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

A.
B.

6. ► Merge sort can be parallelized

A.
B.

7. ► Binary is not a divide and conquer algorithm

A.
B.

8. ► Topological sort is available in STL

A.
B.

9. ► A ready list can be obtained through topological sort prior to scheduling

A.
B.

10. ► Heap sort guarantees O(nlgn) performance

A.
B.

11. ► Binary search is there in algorithm package

A.
B.

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

A.
B.

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

A.
B.

14. ► Heap sort makes use of heap data structure

A.
B.

15. ► Heap sort doesn’t have an implementation in STL

A.
B.

16. ► Topological sort requires O(V) space

A.
B.

17. ► Heap sort can be parallelized

A.
B.

18. ► Heap sort cannot be done in-place

A.
B.

19. ► Quick sort guarantees O(nlgn) performance in all the cases

A.
B.

20. ► Searching is more expensive in sorted sequence

A.
B.


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