wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Select Sort, Bubble Sort, Merge Sort

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

A bubble sort involves finding the smallest item in the unsorted portion of the array and swapping it with the first unsorted item

a)

True

b)

False

2.

A selection sort puts one more item into its permanent place after each swap

a)

True

b)

False

3.

A merge sort is a “divide and conquer” sort algorithm.

a)

True

b)

False

4.

Which of the following sorts is typically the most efficient with large arrays?

a)

Selection sort

b)

Bubble sort

c)

Merge sort

5.

Perform a bubble sort on the list below and keep count of how many swaps you make until the list is sort

[7, 4, 12, 9, 11]

How many swaps are needed to get the original list into the sorted list (least to greatest)?

a)

1

b)

2

c)

3

d)

4

6.

Merge-Sort Algorithm consists of repeatedly dividing the list of half-list elements until sub-lists with one element each. The next step is to merge two sublists in an orderly manner from sub-lists with 1 element to the complete list.

a)

True

b)

False

7.

The first step of the merge sort is to...

a)

split the list values into half

b)

split the list values into pairs

c)

separate the list values into single data items 

d)

none of the above 

8.

The next process of the merge sort will require...

a)

place values into pairs and compare and swap if necessary 

b)

compare and swap only the paired values from smallest - largest if necessary

c)

placing the list values into smallest - largest order

d)

none of the above

9.

It is Friday, March 3, 2023

a)

True

b)

False

10.

An algorithm is...

a)

A set of steps to follow in order

b)

When you search data for a specific entity

c)

When you sort data into the correct order

11.

Which type of sort algorithm is this?

a)

Bubble

b)

Selection

c)

Merge

d)

Purge