Total Questions : 50
Expected Time : 50 Minutes

1. Which sorting algorithm is known for its stability in maintaining the relative order of equal elements?

2. In the context of sorting, what does the term 'external memory' refer to?

3. What is the time complexity of merge sort?

4. What is the time complexity of the Selection Sort algorithm?

5. Which sorting algorithm is known for its efficiency in sorting linked lists?

6. In the context of sorting algorithms, what is the significance of the term 'external sorting'?

7. What is the time complexity of the Quicksort algorithm in its average case?

8. What is the time complexity of the Bubble Sort algorithm?

9. In the context of sorting algorithms, what does the term 'exponential time complexity' indicate?

10. In computer science, what is the term for the process of rearranging data elements in a specific order?

11. Which sorting algorithm is known for its best-case time complexity of O(n log n)?

12. In the context of sorting, what is the significance of the term 'stable'?

13. What is the primary disadvantage of the Shellsort algorithm?

14.

15. What is the role of a pivot in the Quick Sort algorithm?

16. What is the primary advantage of the Pancake Sorting algorithm?

17. How does quicksort choose the pivot element for partitioning?

18. What is the time complexity of insertion sort in the worst case?

19. Which sorting algorithm has a time complexity of O(n^2) in its worst-case scenario?

20. What is the primary disadvantage of the Selection Sort algorithm?

21. Which sorting algorithm is known for its efficiency in handling datasets with a small range of key values?

22. What is the primary advantage of the Quick Sort algorithm over the Bubble Sort?

23. What is the primary advantage of the Timsort algorithm, commonly used in Python's sorting library?

24. What is an in-place sorting algorithm?

25. In the context of sorting algorithms, what does the term 'in-place' mean?

26. In what scenarios is radix sort most efficient?

27. What is the primary advantage of using the Merge Sort algorithm?

28. Which sorting algorithm is known for its efficiency in handling datasets with multiple equal elements?

29. What is the time complexity of the Merge Sort algorithm in the worst-case scenario?

30. Which sorting algorithm uses the concept of 'swapping' to rearrange elements?

31. Which sorting algorithm uses a combination of Merge Sort and Insertion Sort techniques?

32. Which sorting algorithm is based on the idea of 'divide and conquer' and uses a binary tree data structure?

33. Which sorting algorithm is not comparison-based?

34. In the context of sorting algorithms, what does the term 'inversion' refer to?

35. What is the primary advantage of the Shellsort algorithm over the Bubblesort?

36. In the context of sorting algorithms, what is the significance of the term 'adaptivity'?

37. Which sorting algorithm is commonly used for natural language processing tasks, such as sorting words in a dictionary?

38. Which sorting algorithm is commonly used for external sorting and efficiently handles large datasets?

39. What is the primary disadvantage of the Bogosort algorithm?

40. What is the time complexity of the Bubblesort algorithm in its worst-case scenario?

41. Which sorting algorithm is based on the idea of 'divide and conquer' and efficiently handles datasets with duplicate elements?

42. Which sorting algorithm is known for its adaptivity to partially ordered data?

43. Which of the following is a stable sorting algorithm?

44. In the context of sorting, what is the primary advantage of the Cocktail Shaker Sort algorithm?

45. Which sorting algorithm is efficient for small datasets or mostly sorted data?

46. Which sorting algorithm is not suitable for large datasets due to its quadratic time complexity?

47. Explain the working principle of the bubble sort algorithm.

48. What is the key characteristic of the Heap Sort algorithm?

49. Which sorting algorithm is commonly used as a subroutine in other algorithms, such as the Timsort?

50. How does the bubble sort algorithm work?