Unit 6 : Algorithms and Recursion Test Review

Unit 6 : Algorithms and Recursion Test Review

Assessment

Flashcard

Mathematics

10th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does Binary Search do if a list has one element?

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

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?