Search Algorithms

Search Algorithms

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Vocabulary Quiz - Computer - 01

Vocabulary Quiz - Computer - 01

12th Grade - University

10 Qs

Google Apps

Google Apps

4th - 12th Grade

10 Qs

KSK2013 -9 Setup report

KSK2013 -9 Setup report

KG - University

15 Qs

ICT 10 - Quiz - Part 2

ICT 10 - Quiz - Part 2

10th Grade

10 Qs

C Coder -1

C Coder -1

5th - 10th Grade

10 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Search Algorithms

Search Algorithms

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Used 269+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An algorithm is...

A set of steps to solve a problem
When you sort data into the correct order
When you search data for a specific value
Any written code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the best description of the linear search algorithm?

Put the elements in order, then go through them one by one until target is found or the end of the list is reached.
Put the elements in order, compare with the middle value, if not the target: continue to the left or right of the middle and repeat. 
Elements do not need to be in order. Go through them one by one until target is found or the end of the list is reached.
Elements do not need to be in order, compare with the middle value, if not the target: continue to the left or right of the middle and repeat. 

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the best description of the binary search algorithm?

Put the elements in order, then go through them one by one until target is found or the end of the list is reached.
Put the elements in order, compare with the middle value, if not the target: continue to the left or right of the middle and repeat. 
Elements do not need to be in order. Go through them one by one until target is found or the end of the list is reached.
Elements do not need to be in order, compare with the middle value, if not the target: continue to the left or right of the middle and repeat. 

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

As the data set grows in size, linear search becomes more efficient than binary search. 

True
False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of comparisons a linear search algorithm could make while searching a 100 item list?

50
51
100
101

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average number of comparisons for a successful linear search on a list with 100 items?

50
101
100
50.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of comparisons required to find a value in a list of 20 items using a binary search?

20
5
6
21

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?