wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Sort and search algorithms

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the most efficient sorting algorithm for the value 94714?

a)

Bubble

b)

Insertion

c)

Merge

d)

Binary

2.

What is the average number of items that you will need to look at when performing a linear search on a list with 550 items?

a)

256

b)

225

c)

550

d)

215

3.

What is the easiest sorting algorithm to program?

a)

Linear

b)

Binary

c)

Bubble

d)

Psuedo

4.

Which sorting algorithm does python use?

a)

Quicksort

b)

Merge Sort

c)

Insertion sort

d)

Timsort

5.

What is the easiest searching algorithm to program?

a)

Linear

b)

Bubble

c)

Binary

d)

Flowchart

6.

Which sorting algorithm would be the most efficient in sorting the value 31475?

a)

Bubble Sort

b)

Merge Sort

c)

Binary Sort

d)

Insertion Sort

7.

What is the most efficient sort for a list with 500 values in the options below?

a)

Bubble Sort

b)

Binary Sort

c)

Insertion Sort

d)

Merge Sort

8.

How do you sort a list in python?

a)

Sort []

b)

sortalgo ()

c)

Sort ()

d)

sort.list ()

9.

What is an algorithm?

a)

A sequence of instructions to perform a task

b)

A flowchart

c)

A code that tells you things

d)

Pseudo Code

10.

What is the maximum number of items you will need to look at when performing a binary search on a list with 12 items?

a)

13

b)

6

c)

5

d)

4