Vidyalelo
Data Structure · all questions

Sorting Algorithms
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

509

Questions

14/26

Page

Pick an option on a question to see the right answer and solution.

Which of the following sorting algorithm requires the use of binary search in their implementation?

Select an option to see the answer and solution.

What is the best case time complexity Median of three quick sort?

Select an option to see the answer and solution.

Tim sort is a comparison based sort.

Select an option to see the answer and solution.

In C, what are the basic loops required to perform an insertion sort?

Select an option to see the answer and solution.

Which of the following sorting algorithms is closely related to shell sort?

Select an option to see the answer and solution.

The best case behaviour occurs for quick sort is, if partition splits the array of size n into . . . . . . . .

Select an option to see the answer and solution.

What is the best case time complexity of recursive insertion sort?

Select an option to see the answer and solution.

How many comparisons will be made to sort the array arr = {1, 5, 3, 8, 2} using MSD radix sort?

Select an option to see the answer and solution.

What is the best case time complexity of introsort?

Select an option to see the answer and solution.

Quick sort is a stable sorting algorithm.

Select an option to see the answer and solution.

Which of the following algorithm is implemented internally in java when we use function arrays.sort()?

Select an option to see the answer and solution.

What is the worst case running time of shell sort using Hibbard's increments?

Select an option to see the answer and solution.

Find the pivot element from the given input using median-of-three partitioning method.
8, 1, 4, 9, 6, 3, 5, 2, 7, 0.

Select an option to see the answer and solution.

Which of the following is an adaptive sorting algorithm?

Select an option to see the answer and solution.

Which of the following statement is true about comparison based sorting?

Select an option to see the answer and solution.

What is the worst case time complexity of recursive insertion sort?

Select an option to see the answer and solution.

What is the worst case time complexity of comb sort?

Select an option to see the answer and solution.

Any algorithm that sorts by exchanging adjacent elements require O(N2) on average.

Select an option to see the answer and solution.

Quick sort follows Divide-and-Conquer strategy.

Select an option to see the answer and solution.

What is the worst case analysis of shell sort using Shell's increments?

Select an option to see the answer and solution.