Data Structure

Quiz
•
Professional Development
•
Professional Development
•
Hard
Assistant Chennai
Used 46+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. What is a hash table?
a) A structure that maps values to keys
b) A structure that maps keys to values
c) A structure used for storage
d) A structure used to implement stack and queue
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
If several elements are competing for the same bucket in the hash table, what is it called?
a) Diffusion
b) Replication
c) Collision
d) Duplication
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is direct addressing?
a) Distinct array position for every possible key
b) Fewer array positions than keys
c) Fewer keys than array positions
d) Same array position for all keys
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the search complexity in direct addressing?
a) O(n)
b) O(logn)
c) O(nlogn)
d) O(1)
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a hash function?
a) A function has allocated memory to keys
b) A function that computes the location of the key in the array
c) A function that creates an array
d) A function that computes the location of the values in the array
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a technique to avoid a collision?
a) Make the hash function appear random
b) Use the chaining method
c) Use uniform hashing
d) Increasing hash table size
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
7. What is the load factor?
a) Average array size
b) Average key size
c) Average chain length
d) Average hash table length
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Java Collections

Quiz
•
Professional Development
10 questions
Kuis Array

Quiz
•
Professional Development
10 questions
Arrays and Objects

Quiz
•
Professional Development
14 questions
Technical Quiz Final Round

Quiz
•
Professional Development
15 questions
Quizizz - Session 17 - Collection Map

Quiz
•
Professional Development
15 questions
See, Look or Watch?

Quiz
•
Professional Development
10 questions
Predator Helios 16

Quiz
•
Professional Development
10 questions
Past Simple verb to be

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade