Linear vs Binary Search

Linear vs Binary Search

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

PAS kelas 11

PAS kelas 11

11th Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

QUIZ ON MODULE 2

QUIZ ON MODULE 2

10th Grade

15 Qs

Quadratic Vocabulary

Quadratic Vocabulary

9th - 10th Grade

20 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

N+ Chapter 5

N+ Chapter 5

12th Grade

20 Qs

Media and Information Literacy Quiz No. 1

Media and Information Literacy Quiz No. 1

12th Grade

20 Qs

Math Quiz Prelims

Math Quiz Prelims

11th Grade

15 Qs

Linear vs Binary Search

Linear vs Binary Search

Assessment

Quiz

Computers, Mathematics

9th - 12th Grade

Medium

Created by

Jorge Cecilio

Used 6+ 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

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?