
M.Tech Weekend Quiz-1 (Hashing and tree)

Quiz
•
Computers
•
University
•
Hard
Dr. Pal
Used 1+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary purpose of a hash function in a hash table?
To sort elements
To compute the index for storage or retrieval
To eliminate duplicate elements
To generate unique values for each key
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following collision resolution techniques uses linked lists to handle collisions?
Linear Probing
Double Hashing
Separate Chaining
Quadratic Probing
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main disadvantage of Linear Probing in Open Addressing?
High memory usage
Difficult to implement
Primary clustering
High computational cost
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a form of open addressing?
Linear Probing
Separate Chaining
Quadratic Probing
Double Hashing
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose you are using Linear Probing with a hash table of size 11. You insert the following keys: 21, 32, 46, 39. If the hash function is ℎ(𝑘)=𝑘%11, at which index will the key 39 be placed?
Index 2
Index 7
Index 3
Index 6
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Open Addressing resolves hash collisions by:
Chaining with a linked list
Finding another empty slot using a probe sequence
Using a second hash function to find a slot
Ignoring collisions
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Rehashing is required when:
The load factor exceeds a threshold
The hash function has too many collisions
You are adding more keys than the table size
All of the above
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
IAS 101 - Week 11 and 12 - Cryptography

Quiz
•
University
20 questions
HTML5 and CSS3 -Revision

Quiz
•
University
20 questions
DBMS Introduction Quiz 1

Quiz
•
University
25 questions
2ª ATIVIDADE DE REVISÃO DE SEGURANÇA DA INFORMAÇÃO - 3ª NOTA

Quiz
•
University
24 questions
Python Lists Quiz 8

Quiz
•
University
25 questions
Data Structures 1

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
JDVP Activity

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University