DSA 2024 - Module 5

DSA 2024 - Module 5

University

20 Qs

quiz-placeholder

Similar activities

Data Structures and Algorithm

Data Structures and Algorithm

University

20 Qs

Heaps

Heaps

University

15 Qs

UAS SDL INF 20201

UAS SDL INF 20201

University

20 Qs

DSA - Binary Tree 2-3

DSA - Binary Tree 2-3

University

20 Qs

DSA - QA3

DSA - QA3

University

20 Qs

Data Structures Quiz

Data Structures Quiz

University

20 Qs

Data Structure

Data Structure

University

15 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

DSA 2024 - Module 5

DSA 2024 - Module 5

Assessment

Quiz

Computers

University

Hard

Created by

Sudeep Manohar

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method of hashing involves adding up ASCII values of all the characters in the string and taking modulo of a table size?

Digit Extraction

Mid-square

Folding

Division

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of linear probing in handling collisions?

To store each string in a chain (linked list)

To search the next empty slot and put the string there

To divide the string/identifier by using the modulus operator

To extract the middle part of the bit representation of the square of a key

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of chaining in handling collisions?

To store each string in a chain (linked list)

To divide the string/identifier by using the modulus operator

To search the next empty slot and put the string there

To extract the middle part of the bit representation of the square of a key

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the Division method in hashing?

To divide the string/identifier by using the modulus operator

To extract a predefined digit of the given number as the hash address

To add up ASCII values of all the characters in the string and take modulo of a table size

To use any hash method and then perform rotation to get a new hash address

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dynamic hashing is also called as _________

Extended hashing

Extendable hashing

Static hashing

Movable hashing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If several elements are competing for the same bucket in the hash table, what is it called?

Diffusion

Replication

Collision

Duplication

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?