What is an algorithm?
01 Searching Algorithms

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Richard Walker
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of linear search?
To find a specific item in a list
To sort a list of items
To divide the list of items in half
To eliminate half of the list each time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does linear search work?
By sequentially checking each item in the list
By dividing the list in half each time
By comparing the middle item with the target item
By calculating the middle index of the current list of items
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the requirement for binary search?
The list of items must be sorted in ascending order
The list of items can be sorted or unsorted
The list of items must be in reverse order
The list of items must be randomly arranged
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a binary search narrow down the items in this list each time?
By sequentially checking each item in the list
By dividing the list of items in half
By comparing the middle item with the first item
By calculating the middle index of the current list of items
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which search algorithm requires fewer comparisons?
Linear search
Binary search
Both require the same number of comparisons
It depends on the size of the list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the target item is not found in linear search?
The remaining list is divided in half
The algorithm tells you the item is not in the list
The search continues until the end of the list
The search stops immediately
Create a free account and access millions of resources
Similar Resources on Quizizz
19 questions
AP CSP Review

Quiz
•
11th - 12th Grade
15 questions
Algorithms

Quiz
•
3rd - 12th Grade
17 questions
Searching Algorithms

Quiz
•
12th Grade
20 questions
AQA GCSE Computer Science - 3.1.2 Efficiency of algorithms

Quiz
•
8th - 10th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
10 questions
Search and Sorting Algorithms

Quiz
•
12th Grade
11 questions
Understanding Binary Search Algorithm

Quiz
•
12th Grade
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade