Search Header Logo

Linear and Binary Searches with Sorting

Authored by B Forman

Computers

9th Grade

Used 2+ times

Linear and Binary Searches with Sorting
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a linear search do?

Looks at the first item of data, then each one in turn, until it finds the data item requested
Organises the data into alphabetical order
Splits the data until the requested data is found

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an advantage of a linear search?

It is very quick
It only works with ordered lists
It is a simple algorithm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a binary search do?

Looks at the first item of data, then each one in turn, until it finds the data item requested
Converts all the data into binary
Takes the data and splits it in half repeatedly until it finds the data item requested

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search algorithm would be best to use with ordered data?

A binary search
Either binary search or a linear search
A linear search

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an advantage of a binary search

It's very quick
It only works with ordered lists
It is a simple algorithm

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the biggest disadvantage of a binary search?

It is slow
It can only be used if the data is sorted into an order
It takes the data and keeps dividing it in half until it finds the item it is looking for

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a sorting algorithm do?

Finds an item of data in a set of data
Saves a set of data
Puts a list of items into order

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?