Hash Tables Recap

Quiz
•
Computers
•
11th Grade
•
Easy

Benjamin Simpson-Court
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A hash table is
an abstract data structure
an array
an integer
made of pine
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of hashing in computer science?
To transform a string of characters into a shorter length value
To illustrate the concept of data structures
To distribute keys in an array using a hash function
To store and retrieve keys in a rapid manner
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Address <----- key MOD(numberOfSlots)
IF KEY = 5432 and numberOfSlots = 1000
Address = ?
5
432
543
5432
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Address <----- key MOD(numberOfSlots)
IF KEY = 5432 and numberOfSlots = 100
Address = ?
5
4
32
5432
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
when an algorithm generates the same address for different primary keys it is known as
Knock
Bang
Collisions
DoubleHash
6.
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
7.
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz Digital Forensics

Quiz
•
1st - 12th Grade
12 questions
class: 11 CH-11: Retrieving Data Using Tables

Quiz
•
11th Grade
10 questions
basis data 11 rpl

Quiz
•
11th Grade
10 questions
Blockchain

Quiz
•
5th Grade - Professio...
15 questions
Authentication Quiz

Quiz
•
11th Grade - University
13 questions
1.3.1 - Encryption & Hashing

Quiz
•
8th - 12th Grade
12 questions
Exit Ticket - Linked Lists and HashTables

Quiz
•
11th Grade
12 questions
Cybersecurity Chapter 5

Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade