Binary and Linear Search

Binary and Linear Search

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

PowerPoint Quiz 2

PowerPoint Quiz 2

9th Grade

13 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Google Docs Basics Quiz

Google Docs Basics Quiz

9th Grade

20 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Binary and Linear Search

Binary and Linear Search

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Kaitlyn Ross

Used 43+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 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

3 mins • 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

3 mins • 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

3 mins • 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

3 mins • 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

3 mins • 1 pt

A binary search is to be performed on the list:
3  5  9  10  23
How many comparisons would it take to find number 9?

0-1
2-3
4-5
I can't find the number 9

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

A binary search is to be performed on the list:
1  5  10  13  48  68  100  101
How many comparisons would it take to find number 101?

0-1
1-2
3-4
4-5

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?