Exam-style question
Try this first
Which sorting algorithm repeatedly compares adjacent elements and swaps them if they are in the wrong order?.
- A.Merge Sort
- B.Binary Search
- C.Bubble Sort
- D.Linear Search
Answer and explanation
Concise answer
Bubble Sort
Why this is correct
Bubble Sort is defined by its method of repeatedly comparing and swapping adjacent elements until the list is sorted.
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.
