Hashing Quiz

Hashing Quiz

University

15 Qs

quiz-placeholder

Similar activities

Hashing

Hashing

University

20 Qs

Struktur Data - Hash Table

Struktur Data - Hash Table

12th Grade - University

20 Qs

Hashing Search - Data Structures

Hashing Search - Data Structures

University

15 Qs

Chapter 6 (Fundamentals of Cybersecurity

Chapter 6 (Fundamentals of Cybersecurity

University

10 Qs

Blockchain Basics: Algorithm and Techniques

Blockchain Basics: Algorithm and Techniques

University - Professional Development

12 Qs

Quiz

Quiz

University

20 Qs

Conceptos básicos para blockchain Quiz

Conceptos básicos para blockchain Quiz

University

14 Qs

TIC2001 Recap for Quiz 2

TIC2001 Recap for Quiz 2

University

10 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?