NEW
Font size
WorksheetsSorting Algorithm
Total questions: 25
Worksheet time: 19mins
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
4 5 9 6 2 7
4 5 6 2 7 9
4 5 2 6 7 9
4 2 5 6 7 9
Bubble Sort
Selection Sort
Insertion Sort
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
4 5 9 6 2 7
4 5 9 6 2 7
4 5 9 6 2 7
4 5 6 9 2 7
Bubble Sort
Selection Sort
Insertion Sort
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
4 5 9 6 2 7
2 5 9 6 4 7
2 4 9 6 5 7
2 4 5 6 9 7
Bubble Sort
Selection Sort
Insertion Sort
We are sorting the following list in ascending order:
1 4 2 9 3 8 5
What does the list look like after one pass of the bubble sort algorithm.
1 2 4 3 8 5 9
1 4 2 5 3 8 9
4 2 9 3 8 5 1
We are sorting the following list in descending order:
1 4 2 9 3 8 5
What does the list look like after one pass of the selection sort algorithm.
1 4 2 9 3 8 5
9 4 2 1 3 8 5
4 2 9 3 8 5 1
We are sorting the following list in ascending order:
1 4 2 9 3 8 5
What does the list look like after one pass of the insertion sort algorithm.
1 4 2 9 3 8 5
4 2 9 3 8 5 1
4 1 2 9 3 8 5
Which of these is not a sorting algorithm?
Bubble
Insertion
Merge
Binary
The following two lists are to be merged, which element first goes into the
new merged list?
List 1: 2 4 8 9
List 2: 1 6 8 4
0
1
2
3
Which sorting algorithm splits a list of items into individual lists?
Merge
Bubble
Insertion
None of these
Which sorting algorithm takes an item from the list, and puts it in the correct place in a sorted list?
Merge
Bubble
Insertion
None of these
What is the most important reason that data needs to be sorted?
It is organised and easier to make sense of.
So it looks nice.
To show we can do it.
Which of the following are sorting algorithms?
Binary, linear
Numerical, phonetic
Bubble, merge
File, alphabetical
