Search Header Logo

untitled

Authored by Bee Bee

Computers

12th Grade

Used 1+ times

untitled
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Divide the item into equal-size pieces

Add the pieces together

Perform the mod step to get an address

Which hashing method does this describe

folding method

alphanumeric

mid-square

mod

2.

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

IF KEY = 5432 and numberOfSlots = 100

Address = ?

5

4

32

5432

4.

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

5.

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

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A hash table is

an abstract data structure

an array

an integer

made of pine

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?