Unit 6 : Algorithms and Recursion Test Review

Unit 6 : Algorithms and Recursion Test Review

Assessment

Flashcard

Mathematics

10th Grade

Practice Problem

Hard

Created by

Wayground 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

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?