wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Algorithm Y8

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.
What is an algorithm
a)
A beat in music
b)
A sequence of events
c)
A flow chart
d)
A computer language
2.

Which is more efficient for large sets of data?

a)
Bubble sort
b)
Merge sort
3.
Which sort looks at two numbers at a time and decides which is higher?
a)
Bubble sort
b)
Merge sort
4.

Which is more efficient for large sets of data?

a)
Linear search
b)
Binary search
5.
Which search looks at each item in order they are stored until it finds what it is looking for?
a)
Linear search
b)
Binary search
6.
Which search has to put the items in order first?
a)
Linear search
b)
Binary search
7.

Which sorting algorithm divides the list into smaller sublists before sorting?

a)

Bubble sort

b)

Merge sort

8.

Which search algorithm checks every element one by one?

a)

Linear search

b)

Binary search

9.

Which sorting algorithm repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order?

a)

Bubble sort

b)

Merge sort

10.

Which search algorithm requires the data to be sorted before it can be used?

a)

Binary search

b)

Linear search

11.

Which sorting algorithm is generally faster for large, unsorted lists?

a)

Bubble sort

b)

Merge sort

12.

When does a linear search stop?

a)

When it finds what it is looking for

b)

It does not stop

c)

When everything is in order

d)

When it gets to the end of the list