Sorting Algorithms (Edexcel A-Level Further Mathematics): Quizzes

📚Quizzes
Sorting Algorithms
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What does Bubble Sort repeatedly compare during the sorting process?

Adjacent elements

How many passes does Bubble Sort require for a list of length nn?

n−1n-1 passes

What is the time complexity of Bubble Sort in the worst case?

O(n2)O(n^2)

What is the space complexity of Bubble Sort?

O(1)O(1)

What type of algorithm is Quick Sort?

Divide-and-conquer algorithm

Which element is selected as the pivot in Quick Sort?

The middle element

What is Quick Sort's time complexity in the best case?

O(nlog⁡n)O(n \log n)

When does Quick Sort have O(n2)O(n^2) time complexity?

When partitions are unbalanced

Which sorting algorithm is best for large, random, or unsorted lists?

Quick Sort

At what sublist length do recursive calls stop in Quick Sort?

Length 00 or 11

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.