Identify the name of the sorting algorithm that repeatedly steps through a list, compares adjacent elements, and swaps them if they are in the wrong order.
A
Bubble sort
B
Insertion sort
C
Merge sort
D
Selection sort
Markscheme
Searching and sorting algorithms Questions
36 exam-style questions on OCR GCSE Computer Science Searching and sorting algorithms. Each one has a worked solution and a mark scheme showing where the marks go.