Search Header Logo

Hash Table in C

Authored by Purushotham M

Engineering

University

Used 9+ times

Hash Table in C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If our function is X % 10, where we would put 392?

2

9

3

0

2.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

If our function is X % 5, where we would put 63?

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Using chaining, how many list items would be have to search through if we are searching for 120?

3

1

2

0

Answer explanation

3 (bin 0 has 3 items in the list)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If our hash function is (x+2) % 9, where would 66 be stored?

6

3

5

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hashing gives each item

A sequential address

A logarithmic address

No address

A unique address

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

IF KEY = 5432 and numberOfSlots = 100

Address = ?

5

4

32

5432

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the status after adding 10

Media Image
Media Image
Media Image
Media Image

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?