Sorting Algorithms (Edexcel A-Level Further Mathematics): Quizzes
📚Quizzes
Practise the questions
10 questions from this quiz
ShowHide
Practise the questions
10 questions from this quiz
What does Bubble Sort repeatedly compare during the sorting process?
What does Bubble Sort repeatedly compare during the sorting process?
Adjacent elements
How many passes does Bubble Sort require for a list of length ?
How many passes does Bubble Sort require for a list of length ?
passes
What is the time complexity of Bubble Sort in the worst case?
What is the time complexity of Bubble Sort in the worst case?
What is the space complexity of Bubble Sort?
What is the space complexity of Bubble Sort?
What type of algorithm is Quick Sort?
What type of algorithm is Quick Sort?
Divide-and-conquer algorithm
Which element is selected as the pivot in Quick Sort?
Which element is selected as the pivot in Quick Sort?
The middle element
What is Quick Sort's time complexity in the best case?
What is Quick Sort's time complexity in the best case?
When does Quick Sort have time complexity?
When does Quick Sort have time complexity?
When partitions are unbalanced
Which sorting algorithm is best for large, random, or unsorted lists?
Which sorting algorithm is best for large, random, or unsorted lists?
Quick Sort
At what sublist length do recursive calls stop in Quick Sort?
At what sublist length do recursive calls stop in Quick Sort?
Length or
