Linear vs Binary Search

Linear vs Binary Search

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Year 10 percentages 'Green sheet' assessment

Year 10 percentages 'Green sheet' assessment

8th - 9th Grade

15 Qs

Q2 MATH 8 - IF THEN STATEMENT

Q2 MATH 8 - IF THEN STATEMENT

8th - 9th Grade

20 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Conversion Metric to Metric

Conversion Metric to Metric

7th Grade - University

20 Qs

logarithms & index

logarithms & index

10th - 12th Grade

20 Qs

Reviewer for Final Exam

Reviewer for Final Exam

10th Grade

17 Qs

HELLO TRANS GEO

HELLO TRANS GEO

11th Grade

20 Qs

Milestone Packet 1

Milestone Packet 1

9th Grade

20 Qs

Linear vs Binary Search

Linear vs Binary Search

Assessment

Quiz

Computers, Mathematics

9th - 12th Grade

Medium

Created by

Jorge Cecilio

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are linear searching algorithms used for?

Unsorted lists or data sets
Sorted lists or data sets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lists or data sets are binary searching algorithms used for?

Unsorted lists or data sets
Sorted lists or data sets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a linear search algorithm is.

Put the elements in order, check each item in turn.
Put the elements in order, compare with the middle value, split the list in order and repeat.
Elements do not need to be in order, check each item in turn.
Elements do not need to be in order, compare to the middle value, split the list in order and repeat

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the best description to explain what a binary search algorithm is.

Put the elements in order, check each item in turn.

Put the elements in order, compare with the middle value, split the list in order and repeat.

Elements do not need to be in order, check each item in turn.

Elements do not need to be in order, compare to the middle value, split the list in order and repeat

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear search is to be performed on the list:
12   6   8  1  3
How many comparisons would it take to find number 1?

1
2
3
4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where can Linear Search / Binary Search be performed?

On letters
On numbers
Both
None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

On average, which searching algorithm is more efficient?

Binary Search
Linear Search

Create a free account and access millions of resources

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?