Hashing Quiz

Hashing Quiz

University

15 Qs

quiz-placeholder

Similar activities

06 - Hashing #2

06 - Hashing #2

University

15 Qs

Seatwork HASH (Data Structure)

Seatwork HASH (Data Structure)

University

10 Qs

DBMS - Hash Indexing

DBMS - Hash Indexing

University

10 Qs

07 - Map

07 - Map

University

15 Qs

Cybersecurity Essentials Chapter 5 Review

Cybersecurity Essentials Chapter 5 Review

9th Grade - University

20 Qs

Hashing

Hashing

University

10 Qs

Câu hỏi về phương pháp truy cập

Câu hỏi về phương pháp truy cập

University

20 Qs

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Hashing Quiz

Hashing Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Jordan Burgess

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the two approaches to data storage/access that have been studied so far?

Contiguous and Non-contiguous

Array and Linked List

Hashing and Binary Search

Sequential and Sorted

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the 'perfect' hashing example, how is each employee's idNum mapped to the array index?

Using linear probing

Using a hash function

Using double hashing

Directly

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the hash function used in the 'perfect' hashing example?

h(key) = key % 100

h(key) = key

h(key) = key * key

h(key) = key * 2

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the range of idNum in the more realistic hashing example?

0-9999

0-999

0-99999

0-99

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of a hash function in hashing?

To store data sequentially

To access data using linear search

To manipulate the key of an element

To sort the data in the hash table

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the condition resulting when two or more keys produce the same hash location?

Chaining

Collision

Clustering

Probing

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the name of the collision-handling algorithm that resolves collisions by sequentially searching the hash table?

Mid-square Hashing

Double Hashing

Chaining

Linear Probing

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?