wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Sorting and searching

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Which of these are sorting algorithms?

a)

Bubble

b)

Merge

c)

Binary

d)

Linear

e)

Caesar

2.

Which of these are search algorithms?

a)

Bubble

b)

Merge

c)

Linear

d)

Binary

e)

Caesar

3.

Which of these algorithms compares consecutive pairs of items and swaps two items if they're not in order?

a)

Bubble sort

b)

Linear search

c)

Merge sort

d)

Binary search

4.

Which of these algorithms requires that the items it's given are in order?

a)

Bubble sort

b)

Merge sort

c)

Binary search

d)

Linear search

5.

Which of these algorithms sorts items by first splitting the list of items down into smaller and smaller groups?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary search

6.

Which of these algorithms searches for something by first looking in the middle of a list?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary search

7.

Which of these algorithms is usually more efficient (takes fewer steps) in sorting a list of items?

a)

Bubble sort

b)

Merge sort

8.

What algorithm does this image represent?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary search

9.

Which of these algorithms eliminates half of its possibilities each time it makes a check?

a)

Binary search

b)

Bubble sort

c)

Merge sort

d)

Linear search

10.

Which algorithm does this image represent?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary Search

11.

Which algorithm does this image represent?

a)

Linear search

b)

Binary search

c)

Bubble sort

d)

Merge sort

12.

Advantages of a linear search algorithm include...

a)

Easy to write

b)

Items don't need to be in order

c)

More efficient than other searches

d)

Doesn't use any variables