Search Header Logo

Hash Tables

Authored by David Copeland

Computers

12th Grade

Used 24+ times

Hash Tables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hashing gives each item

A sequential address

A logarithmic address

No address

A unique address

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A hash table is

an abstract data structure

an array

an integer

made of pine

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A hash table uses a hash function (algorithm) to compute an index

True

False

It depends

In most cases yes, but not always

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a hash table used for?

To illustrate the concept of data structures

To handle collisions in hashing

To index and retrieve items in a database

To store the original string

5.

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Address <----- key MOD(numberOfSlots)

IF KEY = 5432 and numberOfSlots = 1000

Address = ?

5

432

543

5432

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Address <----- key MOD(numberOfSlots)

IF KEY = 5432 and numberOfSlots = 100

Address = ?

5

4

32

5432

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?