
Hashing

Quiz
•
Computers
•
University
•
Hard
Surabhi Gosavi
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A hash function f defined as f(key) = key mod 7, with linear probing insert the keys 37, 38, 72, 48, 98, 11, 56, into a table indexed from 0, in which location the key 11 will be stored (Count table index 0 as 0th location)?
3
4
5
6
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which collision resolution technique involves placing collided elements in the next available empty slot in the hash table?
Linear probing
Quadratic probing
Separate chaining
Double hashing
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In hashing, collision results when _______.
an attempt is made to insert a record at full primary bucket.
an attempt is made to insert a record anywhere in primary bucket.
an attempt is made to insert a record at empty primary bucket.
an attempt is made to delete a record at full primary bucket.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In hashing, collision resolution is carried out by close addressing. Which of the following is close addressing technique –
I. Double hashing
II. Separate Chaining
Only I
Only II
Both I and II
None
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a hash table?
A structure that maps values to keys
A structure that maps keys to values
A structure used for storage
A structure used to implement stack and queue
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If several elements are competing for the same bucket in the hash table, what is it called?
Diffusion
Replication
Collision
Duplicate
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a hash function?
A function has allocated memory to keys
A function that computes the location of the key in the array
A function that computes the location of the values in the stack
A function that creates an array
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
make it stop

Quiz
•
University
18 questions
INS2

Quiz
•
University
15 questions
BLOCKCHAIN

Quiz
•
University
20 questions
Parallel & Distributed Database

Quiz
•
University
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
15 questions
Blockchain quiz

Quiz
•
University
15 questions
Authentication Quiz

Quiz
•
11th Grade - University
20 questions
Unit II and IV

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