Search Header Logo

code

Authored by Khang Phu

Science

University

Used 1+ times

code
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ________ algorithm is a method of locating a specific item of information in a larger collection of data.

 

Linear

Search

binary

sort

sequential

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The advantage of a binary search is its ________.

simplicity

readability

complexity

efficiency

usability

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array elements must be ________ before a binary search can be performed.

none

 

saved to a file

randomized

 

copied to another array

sorted

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using Binary Search, which elements in the following array are compared to the target when target = 50?

12,   23,   34,   42,   55,   61,   78,   80,   85,   93,   97,   99

 

61, 34, 42, 55

5, 2, 3, 4

61, 34, 55, 42

5, 2, 4, 3

78, 42, 61, 55

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using Binary Search, which elements in the following array are compared to the target when target = 93?

12,   23,   34,   42,   55,   61,   78,   80,   85,   93,   97,   99

5, 9, 7, 8

61, 80, 93

5, 8, 10, 9

61, 85, 97, 93

61, 93, 80, 85

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When an array is sorted from highest to lowest, it is said to be in ________ order.

ascending

sequential

descending

forward

reverse

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

________ algorithms are used to arrange random data into some order.

Standard search

Linear

Sorting

Binary search

Efficient

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?

Discover more resources for Science