Search Header Logo

Quiz - 7

Authored by Richard WELLS

Computers

9th Grade

Used 1+ times

Quiz - 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a linear search?

A search that compares each item one by one

A search that splits the array into halves

A search that uses a hash table

A search that uses a binary tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main disadvantage of a linear search?

It is very efficient

It requires sorting the array

It isn’t very efficient

It uses a lot of memory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary search, what must be true about the array?

It must be unsorted

It must be sorted

It must be in reverse order

It must be in random order

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in a binary search?

Compare each item one by one

Find the middle item

Sort the array

Find the largest item

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a binary search do if the item is less than the middle item?

Search the right half

Search the left half

Stop the search

Search the entire array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key feature of the binary search function?

It is iterative

It is recursive

It is linear

It is non-recursive

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many comparisons are needed in a binary search of 11 numbers?

11 comparisons

4 comparisons

17 comparisons

2 comparisons

Access all questions and much more by creating a free account

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?