Unit II and IV

Unit II and IV

University

20 Qs

quiz-placeholder

Similar activities

FUNDAMENTALS OF ALGORITHMS - UNIT II

FUNDAMENTALS OF ALGORITHMS - UNIT II

University

20 Qs

Data Structure And Algorithm II

Data Structure And Algorithm II

University

15 Qs

DSA - Binary Tree 2-3

DSA - Binary Tree 2-3

University

20 Qs

Quicksort. Hash Tables, and Binary Search Trees

Quicksort. Hash Tables, and Binary Search Trees

University

18 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

BST , AVL Tree  & B-tree

BST , AVL Tree & B-tree

University

15 Qs

DS-unit-3

DS-unit-3

University

20 Qs

DAA QUIZ-1

DAA QUIZ-1

University

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