code

code

University

10 Qs

quiz-placeholder

Similar activities

PeopleSoft India 2024

PeopleSoft India 2024

University

14 Qs

UPSTART - Resources

UPSTART - Resources

University

7 Qs

Quiz for algorithms

Quiz for algorithms

University

15 Qs

Logika Dan Algoritma P10

Logika Dan Algoritma P10

University

15 Qs

Sorting

Sorting

University

15 Qs

PHP Quiz

PHP Quiz

University

10 Qs

MIND ZONE 2.2 [LEVEL 2]

MIND ZONE 2.2 [LEVEL 2]

University

10 Qs

Symbol Search

Symbol Search

University

15 Qs

code

code

Assessment

Quiz

Science

University

Medium

Created by

Khang Phu

Used 1+ times

FREE Resource

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

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?