DSA 2024 - Module 5

DSA 2024 - Module 5

University

20 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

University

20 Qs

DSA - Binary Tree 2-3

DSA - Binary Tree 2-3

University

20 Qs

Data Structure And Algorithm II

Data Structure And Algorithm II

University

15 Qs

Sorting Techniques

Sorting Techniques

University

25 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

20 Qs

Data Structures - Tree

Data Structures - Tree

University - Professional Development

20 Qs

Sorting and Searching Algorithms Quiz - Batch 1

Sorting and Searching Algorithms Quiz - Batch 1

University

20 Qs

SYO 701 CRYPTOGRAPHY Module FC-2

SYO 701 CRYPTOGRAPHY Module FC-2

University

20 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?