Search Header Logo

Linear v Binary Search Algorithms

Authored by Geoffrey Clarion

Computers

10th - 12th Grade

Used 93+ times

Linear v Binary Search Algorithms
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following is pseudocode for which algorithm?


for each element in array

if element you’re looking for

return true

else

return false

linear

binary

bubble

merge

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following is pseudocode for which algorithm?


Repeat, starting at the first element:

If the first element is what you’re looking for (the target), stop.

Otherwise, move to the next element.

linear

binary

bubble

merge

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The following is pseudocode for which algorithm?


look at middle of array

if element you’re looking for

return true

else if element is to left

search left half of array

else if element is to right

search right half of array

else

return false

linear

binary

bubble

merge

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which algorithm must start with an ordered list/array?

linear

binary

bubble

merge

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

Which search algorithm does this represent?

linear

binary

bubble

merge

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

"Look for lost item" is a(n)

process

decision

terminator

data item

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

In computer science, an algorithm must be

Finite

Precise

Well-defined

Unambiguous

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?