What does Binary Search do if a list has one element?
Unit 6 : Algorithms and Recursion Test Review

Flashcard
•
Mathematics
•
10th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Checks if the element matches and returns its index.
2.
FLASHCARD QUESTION
Front
Is Linear Search faster on a sorted array?
Back
No, because it still checks every element.
3.
FLASHCARD QUESTION
Front
True or False: Linear Search is more efficient than Binary Search on a sorted array.
Back
False.
4.
FLASHCARD QUESTION
Front
What must be true before performing a binary search?
Back
The elements must be sorted.
5.
FLASHCARD QUESTION
Front
How does a binary search work?
Back
Binary searches start in the middle and eliminate half of the list in each iteration until the desired value is found.
6.
FLASHCARD QUESTION
Front
What is the time complexity of Binary Search?
Back
O(log n).
7.
FLASHCARD QUESTION
Front
What is the time complexity of Linear Search?
Back
O(n).
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
23-24 CP Algebra 1 Sem 1 Final Review

Flashcard
•
9th Grade
15 questions
11.0 Homework A1

Flashcard
•
9th Grade
16 questions
CSP Vocab Practice 1

Flashcard
•
10th - 12th Grade
11 questions
Chapter 11 - Concept/Vocab

Flashcard
•
11th - 12th Grade
15 questions
Mean, Median, Mode, and Range Checkpoint

Flashcard
•
9th Grade
15 questions
Statistics Review

Flashcard
•
KG
10 questions
AP Computer Science Principles - Unit 6: Algorithms

Flashcard
•
9th - 12th Grade
7 questions
GD: Unit 4

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Mathematics
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
20 questions
Solving Linear Equations for y

Quiz
•
9th - 12th Grade
11 questions
Graph Match

Quiz
•
9th - 12th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
18 questions
Unit Circle Trig

Quiz
•
10th - 12th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade