Searching and sorting algorithms - AQA test questions - AQA

1

What is a search algorithm?

2

When does the linear search algorithm stop?

3

With a data set of 0,1,3,5,7,8,9 how many values would a binary search examine before it found the value 8?

4

What is important to know about the data for binary search?

5

Which search algorithm is more efficient for longer, ordered lists?

6

What is a sorting algorithm?

7

With a data set of 0,1,3,5,7,8,9 how many values would a linear search examine before it found the value 5?

8

Why does merge sort reduce lists to one item?

9

Which sorting algorithm is more efficient with longer lists of data?

10

Why might a sorting algorithm be needed before a search?