Q.1.
Quick sort is a __________
Q.2.
What is the worst case time complexity of the Quick sort?
Q.3.
Apply Quick sort on a given sequence 76 9 4 3What is the sequence after first phase, pivot is first element?
Q.4.
The best case behaviour occurs for quick sort is, if partition splits the array of size n into __________
Q.5.
Quick sort is a stable sorting algorithm.
Q.6.
Consider the Quick sort algorithm in which the partitioning procedure splits elements into two sub-arrays and each sub-array contains at least one-fourth of the elements. Let T(n) be the number of comparisons required to sort array of n elements. Then T(n)<=?
Q.7.
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?
Q.8.
A machine needs a minimum ofsec to sortelements by Quick sort. The minimum time needed to sortelements will be approximately __________
Q.9.
Which one of the following sorting algorithm is best suited to sort an array of 1 million elements?
Q.10.
Quick sort is a space-optimised version of ____