Search_N_Sort

Search_N_Sort

University

23 Qs

quiz-placeholder

Similar activities

CS 213 - Data Structures and Algorithm

CS 213 - Data Structures and Algorithm

University

25 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

Data Structures Quiz

Data Structures Quiz

University

20 Qs

Data Structures- Introduction

Data Structures- Introduction

University

20 Qs

Hash

Hash

University

20 Qs

Programming [1]

Programming [1]

University

19 Qs

ASK BAB 3 ALGORITMA

ASK BAB 3 ALGORITMA

University

20 Qs

DATA STRUCTURES

DATA STRUCTURES

University

20 Qs

Search_N_Sort

Search_N_Sort

Assessment

Quiz

Computers

University

Hard

Created by

Mustafa Buzun

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a binary search to work, the following is true ...

Items must be in order

Items are not stored in any useful order

Items do not need to be stored in any useful order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a linear search to work, the following is true ...

Items must be in order

Items are not stored in any useful order

Items do not need to be stored in any useful order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a binary search start?

The middle item

A hashing function on the key

The first item

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a linear search start?

The middle item

A hashing function on the key

The first item

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Linear search ...

Delivers the location of the item to be found unless there is a collision or does not exist

Halves the set items to search after each comparison until there are no more to check

Searches each item in the sequence until the item is found or there are no more items to check

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Suitable for large numbers of items

Binary search

Hash table search

Linear search

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suitable for small numbers of items

Binary search

Hash table search

Linear search

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?