Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider an extendible hash structure where a bucket can hold up to three records. Initially the structure is empty and the global depth is

1. Consider an extendible hash structure where a bucket can hold up to three records. Initially the structure is empty and the global depth is 1. Sketch the extendible hash structure after the records given below (in the same order shown) have inserted.

Following are the search key values inserted to the extendible hash structure. 3,8,11,14,15,16,17,19,20,33,43,48,23,21,46

Your initial hash function is given by h1(x) = x mod 7

For example, for the search key 3, the hash value in binary is given by h(3) = 3 = 00011 a) Display the final global depth and final local depth of all the buckets after each

insertion.

2. Construct a B-tree for the following set of key values: (4, 5, 6, 7, 10, 12, 14, 19, 20, 21, 23) Assume that the tree is initially empty and values are added in ascending order. Construct B- trees for the cases where the number of pointers that will fit one node is as follows:

a. three b. four c. Six

Using the b tree created in part b, delete 4, 5 and 6. Show the steps along the way

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

Database And Expert Systems Applications Dexa 2022 Workshops 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 In Computer And Information Science 33

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Alfred Taudes ,Atif Mashkoor ,Johannes Sametinger ,Jorge Martinez-Gil ,Florian Sobieczky ,Lukas Fischer ,Rudolf Ramler ,Maqbool Khan ,Gerald Czech

1st Edition

3031143426, 978-3031143427

More Books

Students also viewed these Databases questions

Question

(3) Z (U + 2124), which is the set of all integers;

Answered: 1 week ago