Time left:

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


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

A.
B.

2. ► Merge sort has linear space requirement

A.
B.

3. ► Merge sort can be parallelized

A.
B.

4. ► Topological sort requires O(V) space

A.
B.

5. ► Heap sort can be parallelized

A.
B.

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

A.
B.

7. ► Binary search on AVL trees can be done at most in O(lgn) steps

A.
B.

8. ► STL doesn’t have an implementation of quick sort

A.
B.

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

A.
B.

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

A.
B.

11. ► Heap sort guarantees O(nlgn) performance

A.
B.

12. ► Topological sort is available in STL

A.
B.

13. ► Binary search performs in linear time

A.
B.

14. ► Searching is more expensive in sorted sequence

A.
B.

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

A.
B.

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

A.
B.

17. ► Topological ordering in a graph is unique

A.
B.

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

A.
B.

19. ► Binary search is there in algorithm package

A.
B.

20. ► Binary is not a divide and conquer algorithm

A.
B.


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