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

4/26

Page

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

Bubble sort performs better as compared to cocktail sort.

Select an option to see the answer and solution.

Which of the following is an advantage of cycle sort?

Select an option to see the answer and solution.

Consider the Quick sort algorithm which sorts elements in ascending order using the first element as pivot. Then which of the following input sequence will require a maximum number of comparisons when this algorithm is applied on it?

Select an option to see the answer and solution.

Sleep sort is an in-place sorting technique.

Select an option to see the answer and solution.

Which of the following sorting techniques is stable?

Select an option to see the answer and solution.

Which of the following sorting algorithm makes use of merge sort?

Select an option to see the answer and solution.

Merge sort uses which of the following algorithm to implement sorting?

Select an option to see the answer and solution.

What is the average time complexity of bottom up merge sort?

Select an option to see the answer and solution.

Which of the following is a combination of LSD and MSD radix sorts?

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 counting sort?

Select an option to see the answer and solution.

In place merge sort has same time complexity as standard merge sort.

Select an option to see the answer and solution.

Odd-even sort is also known as . . . . . . . .

Select an option to see the answer and solution.

In what position does the array for heap sort contains data?

Select an option to see the answer and solution.

Strand sort is most efficient for data stored in?

Select an option to see the answer and solution.

What is the average time complexity of strand sort?

Select an option to see the answer and solution.

What is the auxiliary space complexity of binary insertion sort?

Select an option to see the answer and solution.

Bubble sort is an adaptive sorting algorithm.

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 pigeonhole sort?

Select an option to see the answer and solution.

The auxiliary array used in pigeonhole sorting is called . . . . . . . .

Select an option to see the answer and solution.

Odd-even sort is a variation of . . . . . . . .

Select an option to see the answer and solution.