Cash-back offer from May 2nd to 7th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 25.00

CIS 430 - Advanced Database Topics | Assignment 1 | Complete Solution

Question posted by
Online Tutor Profile
request

Do the following questions:

  1. (10 marks)  Construct a B+-tree with n = 3 (maximum three pointers per node), using the method outlined in the course notes, containing the following items, entered into the tree in the following order:

53, 17, 47, 21, 19, 32, 5, 39, 8, 24

  • Show the steps in constructing your tree, with a sketch for each time a new node is added.
  • When you have to split a node because of an odd number of items, put the larger quantity in the left new node, and the remainder in the right.  (E.g. splitting up 5 items: put 3 in the left, 2 in the right.)

 

  1. (5 marks)  What would the maximum height of a B+-tree with n = 7 be if it contained 53,842,936,361 items? If you don't have a calculator with a log10 button, use the Windows calculator and set it to Scientific in the View menu.  Use the formula given on p. 11 of CIS 430 Notes 2.

Show your work to get marks for your answer.

 

 

 

 

  1. (5 marks)  Sketch a static hash structure for the following items

Search key value

Hash value

Bob

3

Dan

1

Stephan

5

Sandi

9

Edward

5

Leon

0

Paul

8

Gabriel

7

Assume that hash values range from 0 to 9.  Show a relation with rows containing the search values, and a hash structure pointing to it.

 

  1. (10 marks)  Construct an extendable hash structure for the following data, where the maximum number of entries per bucket is 2.

Search Key Value

Hash value

Chapman

10011100

Cleese

11010011

Connolly

00111000

Gilliam

11111010

Idle

10110110

Jones

01000111

Milligan

00011001

Palin

10100111

Enter the items in the order shown here, and sketch the structure each time a new bucket is created.  Use the hash bits progressively from the left side.

Available Answer
$ 25.00

[Solved] CIS 430 - Advanced Database Topics | Assignment 1 | Complete Solution

  • This Solution has been Purchased 1 time
  • Submitted On 06 Feb, 2015 11:55:10
Answer posted by
Online Tutor Profile
solution

When Items are 842:
Height = Ceil(logm(n+1))
          &...

Buy now to view the complete solution
Other Similar Questions
User Profile
Exper...

CIS 430 - Advanced Database Topics | Assignment 3 | Complete Solution

In this example, Denormalized table (ACTIVITY) will take space of three attributes (5 rows and 3 columns) while the two normalized tables STU-ACT (5 rows and 2 columns) and ACT-cost (4 rows and 2 columns) will contain more s...
User Profile
Exper...

CIS 430 - Advanced Database Topics | Assignment 1 | Complete Solution

When Items are 842:
Height = Ceil(logm(n+1))
             =Ceil( log10(842+1)) =4
iii) When Items are 936:
Height = Ceil(logm(n+1))
 ...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35