wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Algorithms

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

A .................... sort algorithm is usually faster to execute but more complex to write than bubble sort

a)

merge

b)

linear

c)

binary

2.

Executing a merge sort takes up extra space in memory as new lists are made each time a list is split or two lists are combined

a)

False

b)

True

3.

Merge sort works by ............. items in a list into individual ........ .before merging pairs of lists together in order until all the items are sorted

a)

splitting, lists

b)

joining, integers

4.

In computer science, bubble sort is an efficient algorithm that implements a “divide and conquer” approach.

a)

False

b)

True

5.

In computer science, merge sort is an efficient algorithm that implements a “divide and conquer” approach.

a)

True

b)

False

6.

......... algorithms are used to arrange a sequence of items into a particular order (e.g. alphabetically) and is usually done to make searching faster.

a)

Searching

b)

Sorting

7.

.................... involves moving through a list repeatedly, comparing items next to each other and swapping them if they are in the wrong order.

a)

Binary search

b)

Merge sort

c)

Bubble sort

8.

....................... takes each item in turn, compare it to items in the sorted sublist and places it in the correct position.

a)

Bubble sort

b)

Insertion sort

c)

Binary search

9.

........................ splits data until each item is in a list of its own and then combines pairs of lists repeatedly so that the items are in order.

a)

Linear search

b)

Bubble sort

c)

Merge sort

10.

....................... is an algorithm that involves checking each item in a list one at a time to see if it’s the right item. If you have a list that is not in order, a ...................... is the only reasonable way to search through it.

a)

Binary search

b)

Linear search

c)

Merge sort

d)

Bubble sort

11.

.......................... is a much more efficient way of searching through a list of items compared to a ....................... . However, you can only use a binary search algorithm if the data is ordered i.e. smallest to largest.

a)

Binary search, linear search

b)

linear search, Binary search

c)

linear search, Bubble sort

12.

...................... the process of breaking problems down into smaller, more manageable parts.

a)

Abstraction

b)

Decomposition

c)

Algorithmic thinking

13.

........................... the process of removing unnecessary information and focussing on the important details.

a)

Decomposition

b)

Algorithmic thinking

c)

Abstraction

14.

............................ the process of developing an algorithm, which is a precise step-by-step solution to a problem that can be replicated by a human, computer, or both.

a)

Algorithmic thinking

b)

Decomposition

c)

Abstraction

15.

Emily, Aarav, and Ella are trying to find a specific book in a library. They decide to use a binary search algorithm to find the book. However, they realise they can only use this algorithm if the books are ordered from smallest to largest. Is this statement true?

a)

False

b)

True