Hashing Quiz

Hashing Quiz

University

15 Qs

quiz-placeholder

Similar activities

Hashing

Hashing

University

15 Qs

Hashing 1

Hashing 1

University

11 Qs

Evaluasi Pembelajaran 3 kelas 8 "Enkripsi"

Evaluasi Pembelajaran 3 kelas 8 "Enkripsi"

University

10 Qs

GenCyber

GenCyber

11th Grade - University

10 Qs

MTA: 98-367 Security Part 2

MTA: 98-367 Security Part 2

KG - Professional Development

20 Qs

Asymmetric Key Encryption - Auth Issue

Asymmetric Key Encryption - Auth Issue

University

10 Qs

Seguridad de la Red Grupo 5

Seguridad de la Red Grupo 5

University

10 Qs

EEE - Heaps and Hash Table (14-June-2022)

EEE - Heaps and Hash Table (14-June-2022)

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?