
Hashing

Quiz
•
Computers
•
University
•
Hard
Ramlah .mailok
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a hash table?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If several elements are competing for the same bucket in the hash table, what is it called?
Diffusion
Replication
Collision
Duplication
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let consider a list of numbers (34, 16, 2, 93, 80, 77. 51) and table size is 10. What is the order of elements in the hash table?
null, null, 77, 16, null, 34, 93, 2, 51, 80
77, 16, 34, 93, 2, 51, 80
80, 51, 2, 93, 34, null, 16, 77, null, null
80, 51, 2, 93, 34, 16, 77
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a hash table with 10 slots and the collisions are linear probing. The following keys are inserted in the order: 15, 2, 1, 5, 20, 31, 12, 21, 17, 34.
20, 31, 2, 1, 12, 15, 5, 17, 21, 34
20, 1, 12, 31, 34, 5, 15, 21, 17, 2
20, 1, 2, 31, 12, 15, 5, 21, 17, 34
20, 31, 2, 1, 34, 15, 5, 21, 17, 12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If every item of the list maps to unique index in the hash table, the hash function is called ____________.
hash free table
collision table
collision free table
perfect hash table
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the hash function is h(key) = key % 5, so for which of the pair of values, the Collison will take place?
15 and 14
12 and 2
1 and 10
11 and 22
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which the following technique is not open addressing for solve collisions?
Linear probing
quadratic probing
chaining
rehashing
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following hash functions is most likely to cause clustering in a hash table?
hash(key) = key % size_table
hash(key) = key / size_table
hash(key) = key
hash(key) = key * size_table
Similar Resources on Wayground
12 questions
Relational database

Quiz
•
University
13 questions
Digital Signeture

Quiz
•
University
10 questions
Blockchain

Quiz
•
5th Grade - Professio...
10 questions
C Program Array and strings

Quiz
•
University
10 questions
Prova Programação Back end

Quiz
•
3rd Grade - University
5 questions
Database _Quiz

Quiz
•
University
10 questions
Seatwork HASH (Data Structure)

Quiz
•
University
11 questions
CH8 of database

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University