Sorting Algorithms

Sorting Algorithms

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

L Crewe

Used 112+ times

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which sorting algorithm makes one swap per pass (possibly swapping an element with itself)?
Selection Sort
Bubble Sort
Insertion Sort

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which sorting algorithm may make multiple swaps per pass?
Bubble Sort
Selection Sort
Insertion Sort

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which sorting algorithm shifts elements instead of swapping elements if needed in each pass.
Bubble Sort
Selection Sort
Insertion Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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
Bubble Sort
Selection Sort
Insertion Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
 
4    8    6    2    5    7 
4    8    6    2    5    7 
4    6    8    2    5    7
Bubble Sort
Selection Sort
Insertion Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
 
4    8    3    9    2    6 
2    8    3    9    4    6
2    3    8    9    4    6
Bubble Sort
Selection Sort
Insertion Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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