21. What will be the base case in the function of binary search used in the code of binary insertion sort? (high and low are the rightmost and leftmost index of array respectively and item is the element whose correct position is to be determined by the binary search function)
22. What is an external sorting algorithm?
23. What is the advantage of comb sort over merge sort?
24. Heap sort is an extremely stable algorithm.
25. Statement 1: Shell sort is a stable sorting algorithm.
Statement 2: Shell sort is an in-place sorting algorithm.
Statement 2: Shell sort is an in-place sorting algorithm.
26. Choose the correct statement regarding binary insertion sort?
27. Bucket sort is most efficient in the case when . . . . . . . .
28. What is the worst case time complexity of recursive bubble sort?
29. For the following question, how will the array elements look like after second pass?
34, 8, 64, 51, 32, 21
34, 8, 64, 51, 32, 21
30. Which of the following should be used to sort a huge database on a fixed-length key field?
Read More Section(Sorting Algorithms)
Each Section contains maximum 100 MCQs question on Sorting Algorithms. To get more questions visit other sections.