Hashing Quiz

Hashing Quiz

University

15 Qs

quiz-placeholder

Similar activities

004_Non-repudiation - CompTIA Security+ SY0-701 - 1.2

004_Non-repudiation - CompTIA Security+ SY0-701 - 1.2

12th Grade - University

19 Qs

Understanding Data Transformation Techniques

Understanding Data Transformation Techniques

12th Grade - University

10 Qs

B+/Hashing Review

B+/Hashing Review

University

13 Qs

Quiz No. 2.2 Hash Tables

Quiz No. 2.2 Hash Tables

University

12 Qs

Data Structure And Algorithm II

Data Structure And Algorithm II

University

15 Qs

Cryptography Basics

Cryptography Basics

University

20 Qs

UNIT-IV 2

UNIT-IV 2

University

15 Qs

CB3491 CRYPTOGRAPHY AND CYBER SECURITY

CB3491 CRYPTOGRAPHY AND CYBER SECURITY

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?