Hash Tables Recap

Hash Tables Recap

11th Grade

10 Qs

quiz-placeholder

Similar activities

Hashing, Digital Signatures and BlockChain Practice Questions

Hashing, Digital Signatures and BlockChain Practice Questions

11th Grade

10 Qs

Java HashMap Quiz

Java HashMap Quiz

11th Grade

14 Qs

Cybersecurity Quiz

Cybersecurity Quiz

11th Grade

12 Qs

Cybersecurity Fundamentals Week 5 Quiz

Cybersecurity Fundamentals Week 5 Quiz

KG - University

10 Qs

CodeHS 5.8 HashMaps

CodeHS 5.8 HashMaps

9th - 12th Grade

10 Qs

Unit 4 Maps - Java - CSIII

Unit 4 Maps - Java - CSIII

11th Grade

11 Qs

Gathering Evidence

Gathering Evidence

9th - 12th Grade

8 Qs

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Hash Tables Recap

Hash Tables Recap

Assessment

Quiz

Computers

11th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?