Construct a b tree

Assignment Help Basic Statistics
Reference no: EM13925796

Do the following questions:

1. 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.)

2. 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.

 

3. 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.

4. 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.

Reference no: EM13925796

Questions Cloud

Problem regarding the recurrence relations : 1. Given the recurrence relations. Find T(1024).
Reasons why team based management is important : List and explain two reasons why team based management is so important.
How could you use swaptions to restructure the debt : How could you use swaptions to restructure the debt? Explain what happens assuming two subsequent future possibilities: rates going up and rates going down.
What is the lapd''s current reputation : Honest and ethical officers at the LAPD must still labor under the aspersions cast by this scandal.
Construct a b tree : 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:
Evaluation of personal feelings : Emotional intelligence plays a major factor when communicating with others as emotions often take control. Evaluation of personal feelings and recognizing others emotional cues will help to resolve issues that are hindering motivation and goal att..
Types of leaders and leadership styles : Companies around the world strive to be productive and successful and to accomplish this they must employ effective leadership. There are many types of leaders and leadership styles.
The issuance of the note on june : Recording interest expense for 2014 and repaying the principal on May 31, 2014.
Envirofacts data warehouse : The Envirofacts Data Warehouse, Environmental Protection Agency, is available at http://www.epa.gov/enviro. This is a data warehouse for public use. Enter your locality and search through the online data warehouse. You may have to modify your loca..

Reviews

Write a Review

Basic Statistics Questions & Answers

  Proportion of the hearing loss

What proportion of the hearing loss in all the workers was attributable to not wearing earplugs?

  Two sample hypothesis testing using normal distribution

Test the hypothesis that the annual incomes of corporate trainers in areas of more than 500,000 are significantly more than those in areas of less than 100,000.

  For a population having a mean of 10 and a variance of 30

for a population having a mean of 10 and a variance of 30 find the probability that a sample size of 9 taken at random

  A coach uses a new technique in training middle distance

a coach uses a new technique in training middle distance runners. the times for 8 different athletes to run 800 meters

  Explain experimental or non-experimental study

Who are also athletes but who are not regularly hit in the heads. Is this an example of an experimental or a non-experimental study? Why?

  Confidence interval for the population mean

Confidence interval for the population mean.

  Steps for simulation using crystal ball

Crystal Ball requires the following steps:

  Test value for the difference in the proportion of employees

Find the test value for the difference in the proportion of employees who were ever late for work in the past year.

  A determine the sample size required to estimate a

a. determine the sample size required to estimate a population proportion to within 0.032 with 97.8 confidence

  Addition theorem on probability

A survey of magazine subscribers showed that 55.8% rented a car during the last 12 months for business reasons, 44% rented a car for personal reasons, and 25% rented a car for both business and personal reasons.

  Hypothesis tested with linear-bivariate regression analysis

Develop one research question and formulate a hypothesis which may be tested with linear, bivariate regression analysis.

  The probability of pass a test is 076 at a particular

the probability of pass a test is 0.76 at a particular school. suppose we randomly select a class of 10 students from

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd