2.3 - Searching Algorithms

2.3 - Searching Algorithms

11th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

1.4.2 Data Structures

1.4.2 Data Structures

11th Grade

20 Qs

Unit 2 Introduction to CS

Unit 2 Introduction to CS

9th - 12th Grade

20 Qs

Practice for AP Java Quiz #13 Sorting

Practice for AP Java Quiz #13 Sorting

9th - 12th Grade

20 Qs

SKT5 : Bab 3 : a) Bahasa Penskripan Klien

SKT5 : Bab 3 : a) Bahasa Penskripan Klien

10th - 12th Grade

26 Qs

Quiz on Standard Algorithms

Quiz on Standard Algorithms

10th Grade - University

20 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

Computer Fundamentals Quiz

Computer Fundamentals Quiz

12th Grade

20 Qs

8525 AQA GCSE  3.1.3 Searching and 3.1.4 Sorting Algorithms

8525 AQA GCSE 3.1.3 Searching and 3.1.4 Sorting Algorithms

10th - 11th Grade

18 Qs

2.3 - Searching Algorithms

2.3 - Searching Algorithms

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Alex Holmes

Used 5+ times

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 hash table 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

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

4.

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a hash table search start?

The middle item

A hashing function on the key

The first item

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary 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

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?