Unit II and IV

Unit II and IV

University

20 Qs

quiz-placeholder

Similar activities

DQXC

DQXC

University

15 Qs

DATA STRUCTURES

DATA STRUCTURES

University

20 Qs

Data Structures

Data Structures

University - Professional Development

20 Qs

HASHING IN DBMS

HASHING IN DBMS

University

15 Qs

Binary Tree Searching - Data Structures

Binary Tree Searching - Data Structures

University

15 Qs

Hashing Search - Data Structures

Hashing Search - Data Structures

University

15 Qs

Types of Trees

Types of Trees

University

25 Qs

Data Structures 1

Data Structures 1

University

25 Qs

Unit II and IV

Unit II and IV

Assessment

Quiz

Computers

University

Hard

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the hash key of 7564 if hash function is x%10?

4

3

2

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In hash table, Overflow occurred when

Bucket is full

Keys are full

Only A

Both A and B

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The searching technique that takes O (1) time in average case to find a data is

Linear Search

Hashing

Binary Search

Tree Search

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A key is broken into several parts. Each part has the same length as that of the required address except the last part. The parts are added together, ignoring the last carry, we obtain the hash address for key K.

Which hash function is this?

Division method

Mid square method

Digit analysis

Folding method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A skip list is built in

0 Layer

1 Layer

Multiple Layer

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The bottom layer in Skip List is an ordinary ordered ----

Array

Linked list

It depends

None

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider a hash table of size seven, with starting index zero, and a hash function (3x + 4)mod7. Assuming the hash table is initially empty, which of the following is the contents of the table when the sequence 1, 3, 8, 10 is inserted into the table using closed hashing? Note that ‘_’ denotes an empty location in the table.

8, _, _, _, _, _, 10

1, 8, 10, _, _, _, 3

1, _, _, _, _, _,3

1, 10, 8, _, _, _, 3

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?