Hash Tables Quiz

Quiz
•
Other
•
University
•
Medium
Richard Kipling
Used 11+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the goal of a hash table?
To compare items in a data set
To store all the data items
To immediately find an item without comparing other items
To implement a dictionary data structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a hashing function used for?
To calculate the position of an item in a hash table
To determine the size of a hash table
To compare items in a data set
To implement a dictionary data structure
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a collision in a hash table?
When two data items have the same hash value
When a hash table is too small to store all the data items
When a hashing function takes too long to calculate
When a hash table is empty
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a disadvantage of linear probing?
It prevents other items from being stored in their correct location
It requires a large amount of memory
It results in a high number of collisions
It is a slow method of resolving collisions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is rehashing in a hash table?
Finding an alternative position for items in the hash table
Using a two-dimensional hash table
Storing items in a linked list
Searching sequentially in an overflow table
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is chaining in a hash table?
Storing items in a linked list
Using a two-dimensional hash table
Searching sequentially in an overflow table
Finding an alternative position for items in the hash table
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the typical use of a hash table?
Linking a file name to the file path
Sorting a large dataset
Performing calculations on a data set
Creating a dictionary data structure
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
hunt

Quiz
•
University
10 questions
DD#3

Quiz
•
University
20 questions
Cryptography

Quiz
•
University
10 questions
Table Manners and Etiquette

Quiz
•
12th Grade - University
17 questions
SQL Data Manipulation

Quiz
•
University
16 questions
Vocabulary: Money and Shopping

Quiz
•
KG - University
15 questions
Week 4 Review

Quiz
•
University
20 questions
Sleng

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 Other
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