code

code

University

10 Qs

quiz-placeholder

Similar activities

Algoritmos sobre gráficas

Algoritmos sobre gráficas

University

9 Qs

AI and Machine Learning Intro to Engineering

AI and Machine Learning Intro to Engineering

10th Grade - University

12 Qs

Adding with Significant Figures

Adding with Significant Figures

9th Grade - University

10 Qs

PHP Quiz

PHP Quiz

University

10 Qs

Práctica 1

Práctica 1

University

7 Qs

SDA 1: Complexity, sorting and searching algorithms

SDA 1: Complexity, sorting and searching algorithms

University

14 Qs

Quiz for algorithms

Quiz for algorithms

University

15 Qs

Level 1 - week 1

Level 1 - week 1

7th Grade - University

8 Qs

code

code

Assessment

Quiz

Science

University

Medium

Created by

Khang Phu

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?