Data Structure And Algorithm II

Data Structure And Algorithm II

University

15 Qs

quiz-placeholder

Similar activities

B+/Hashing Review

B+/Hashing Review

University

13 Qs

UNIT-IV 2

UNIT-IV 2

University

15 Qs

Hashing Search - Data Structures

Hashing Search - Data Structures

University

15 Qs

Quiz No. 2.2 Hash Tables

Quiz No. 2.2 Hash Tables

University

12 Qs

Cryptography Basics

Cryptography Basics

University

20 Qs

DSQUIZ 2020-21

DSQUIZ 2020-21

University

18 Qs

Blockchain Basics: Algorithm and Techniques

Blockchain Basics: Algorithm and Techniques

University - Professional Development

12 Qs

Hashing

Hashing

University

20 Qs

Data Structure And Algorithm II

Data Structure And Algorithm II

Assessment

Quiz

Computers

University

Hard

Created by

RAHUL SONAWANE

Used 19+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a hash table?

a) A structure that maps values to keys

b) A structure that maps keys to values

c) A structure used for storage

d) A structure used to implement stack and queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a) Diffusion

b) Replication

c) Collision

d) Duplication

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a technique to avoid a collision?

a) Make the hash function appear random

b) Use the chaining method

c) Use uniform hashing

d) Increasing hash table size

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A technique for direct search is

a) Binary Search

b) Linear Search

c) Tree Search

d) Hashing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The goal of hashing is to produce a search that takes

a) O(1) time

b) O(n2 )time

c) O(log n ) time

d) O(n log n ) time

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement(s) is TRUE?

I. A hash function takes a message of arbitrary length and generates a fixed length code.

II. A hash function takes a message of fixed length and generates a code of variable length.

III. A hash function may give the same hash value for distinct messages.

I only

II and III only

I and III only

II only

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is direct addressing?

A. Distinct array position for every possible key

B. Fewer array positions than keys

C. Fewer keys than array positions

D. None of the mentioned

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?