Search Header Logo

Hashing 1

Authored by Thapanapong Rukkanchanunt

Computers

University

Used 2+ times

Hashing 1
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.

DRAW QUESTION

1 min • 1 pt

Draw the Hash Table after (17,A) is inserted.

Resolve collisions by CHAINING!

Media Image

2.

DRAW QUESTION

1 min • 1 pt

Draw the Hash Table after (27,B) is inserted.

Resolve collisions by CHAINING!

Media Image

3.

DRAW QUESTION

1 min • 1 pt

Draw the Hash Table after (37,C) is inserted.

Resolve collisions by CHAINING!

Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the result of retrieving the value associated with the key 37 from the hash table?

(17,A)

(37,C)

(27,B)

Key not found

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What happens to the hash table after removing the element with key 17?

The element (27,B) is removed from index 3, and the hash table remains unchanged otherwise.

The element (17,A) is removed from index 1, leaving only (37,C) in index 1.

Both (27,B) and (17,A) are removed, leaving (37,C) at index 1.

The element (17,A) is removed from index 1, and (37,C) is shifted to index 2.

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of the following key-value data will not cause collision when inserting to the given Hash table?

(9,D)

(10,E)

(5,F)

(23,G)

(2,H)

7.

DRAW QUESTION

1 min • 1 pt

Draw a Hash table after (17,A) is inserted.

Resolve collisions by LINEAR PROBING!

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?