logo

AQA A-Level Computer Science practice

Why is bubble sort described as particularly inefficient in the specification?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Sorting algorithms

Exam-style question

Try this first

Why is bubble sort described as particularly inefficient in the specification?.

  1. A.It has time complexity O(n2)
  2. B.It cannot sort any list
  3. C.It always uses recursion
  4. D.It has time complexity O(1)

Answer and explanation

Concise answer

It has time complexity O(n2)

Why this is correct

The specification identifies bubble sort as particularly inefficient because its time complexity is O(n2).

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions