Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An MNC company has some number of employees whose records with Employee name. Employee number and Designation are represented in a hashing table. Each Employee

An MNC company has some number of employees whose records with Employee name. Employee number and Designation are represented in a
hashing table. Each Employee number has 4 digits as [d1 d2 d3 d4]. The hashing lable contains 100 block1 which are numbered from 0 to 99 and
each block can accommodate 1 record.
When the records are stored in the hashing table, the following algorithm is used:
(d1**(d)2+d3**(d)4)% size of the table
If collision occurs, the rehashing algorithm is changed to (d1+d2+d3+d4**17)/size of the table.
Identify where the records with the following keys are stored.
2138,2400,3200,9999,6789,3456,6356,1234,5790,2222
5M
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions

Question

5. Structure your speech to make it easy to listen to

Answered: 1 week ago

Question

1. Describe the goals of informative speaking

Answered: 1 week ago