Searching Algorithm

Searching Algorithm

10th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

01 Searching Algorithms

01 Searching Algorithms

9th - 12th Grade

15 Qs

Searching and Sorting Algorithms

Searching and Sorting Algorithms

9th - 10th Grade

16 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

10 Qs

Code.org - Unit 6 Review

Code.org - Unit 6 Review

9th - 12th Grade

15 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

Algorithms

Algorithms

3rd - 12th Grade

15 Qs

Binary Search GCSE

Binary Search GCSE

10th Grade

11 Qs

Binary Searching

Binary Searching

8th - 10th Grade

16 Qs

Searching Algorithm

Searching Algorithm

Assessment

Quiz

Computers

10th - 11th Grade

Hard

Created by

Thomas Martinez

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Where can Linear Search be performed?
On letters
On numbers
Both
None of these

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many linear searches will it take to find the value 7 in the list [1,4,8,7,10,28]?
2
3
4
5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
A linear search algorithm is also known as a...
Binary search algorithm
Bubble sort algorithm
Sequential search algorithm

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What is an advantage of the Linear search algorithm?
Performs well with small sized data sets
Can be used on data sets with more than a million elements
Is complicated to code

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
What will happen in a Linear search algorithm if no match is found?
It continues to search in a never ending loop.
"Item not found" is returned

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a disadvantage of the Linear search algorithm?
It will only work on a sorted data set
May be too slow to process large data sets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following cases, binary search algorithm is used?​

To search an element in an unordered list.​

To search an element in a list of few elements.

To search an element in any ordered list with large number of elements.​

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?