Sorting Practice Quiz

Question 1

Rearrange the following to show the appropriate steps that occur during one pass of the bubble sort algorithm. The initial order of the list is [11, 7, 3, 14, 8, 6, 9, 2].

Question 2

Question 3

Question 4

Rearrange the following to show the results of each pass of the selection sort algorithm. The initial order of the list is [11, 7, 3, 14, 8, 6, 9, 2].

Randomized Practice Questions

You can practice sorting by hand using bubble and selection sort here:

Randomized Sorting Practice Quiz

Next Section - Recursion Practice Quiz