Search Header Logo

Unit II and IV

Computers

University

Used 4+ times

Unit II and IV
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?