B+-tree

Assignment Help Data Structure & Algorithms
Reference no: EM13162721

For the B+-tree where M=3 and L=5 shown below, show how an insert of value 80 is handled.  


       || 12 || 50 ||
       /      |           /       |           2       12      50 
     5       18      65
     7       20      70 
     9       21      72
    10       24      78
2. For the B+-tree where M=3 and L=5 shown below, show how an insert of value 77 is handled. 
   Use the method of splitting the node rather than redistributing between siblings. 


                        || 24 || 75 ||
                       /       |                            /         |                             /           |                 || 10 || 16 ||     || 41 || 50 ||      || 84 || 90 ||
      |    /      \     /      |     \       |     \           /     |       |   |       |      \      |      |      |
    2     10      16   24     41      50    75     84     90
    5     11      18   26     42      65    78     86     92
    7     14      20   30     45      70    79     87     93
    9                         47      72    80     
                                            81
3. A B+-tree is to be stored on disk whose block size is 2048 bytes.  The data records
     to be stored are 50 bytes, and their key is 4 bytes.  Determine the values for
     M and L for the B+-tree.  Assume pointers are 4 bytes each.
4. For the problem above, how many levels are needed to store 10,000,000 records?

 

 

Reference no: EM13162721

Questions Cloud

Major depression-bipolar disorder : In contrast to major depression, bipolar disorder,  is more common in the general population,  is more prevalent among women than men,  is more prevalent among married people,  usually occurs before age 30
Write a program which accepts the total of food and drink : Write a program which accepts the total of food and drink purchased for a restaurant bill as input. The output should be adjusted bill with a sales tax of six percent 6% and a tip (gratuity) of 15%.
Write the class definition for a class called complex : . Write the class definition for a class called complex.
Dealerships are awarded the rebate : Dealerships are awarded the rebate on a quarter-by-quarter basis, only for quarters where their actual sales exceeded expected volumes for that quarter. Expected sales volumes for each quarter are as follows:
B+-tree : For the B+-tree where M=3 and L=5 shown below, show how an insert of value 80 is handled.
Encryrption of some unknown : Assume (A1,B1) is an encryrption of some unknown m1. Prove that (A1,B2g^(m2) mod p) is a valid  encryption of m1 + m2 mod p. More generally, if (A2,B2) is an encryption of m2, what is (A1A2  mod p,B1B2 mod p) an encryption of?
Problem resolution in an organization. : In a one to two page (two page double-spaced maximum) paper explain why information systems today are currently effective or ineffective in assisting with problem resolution in an organization.
Design a calculator in assembly : Design a calculator in assembly that can handle +,-,/,%, * and expresses errors in the case of division by zero or invalid characters using the template below.
Display the customerid from the orders table : Display the CustomerID from the Orders table and the sum of the associated ItemPrice multiplied by Quantity using Gross Sales (with a space) as the column name from the OrderItems table.

Reviews

Write a Review

 

Data Structure & Algorithms Questions & Answers

  Find the minimum cost path from a designated node

Find the Minimum Cost Path from a designated start node to a designated destination node in a graph.

  Algorithm to decide flavor of ice cream from three option

A group of ten people require to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question participants.

  Creating a data flow chart

Create a Data Flow Chart and then make an application that allows a user to enter a stock transaction and determine the stockbroker's commission.

  Write a program to find average marks

Write a program to find average marks obtained by 10 students in a test along with algorithm and write a menu driven program using function to perform following operations on 1 d array?

  Conceptual model entity relationship diagram

Assume you are asked you to create a new entity-relationship diagram for a corporation for a customized shipment tracking system.

  Write program to do operaretions of stack-push-pop-peek

Write down the program which does the basic stack operations: Make the stack. Push element into the stack. Pop element from the stack.

  Data structures and algorithm design

Data Structures and Algorithm Design

  Computing randomized quick sort-s running time

Suppose that all element values are equal. What would be randomized quick sort's running time in this case? Each element of A[p .. q-1] is less than A[q], and each element of A[t+1 .. r] is greater than A[q]

  Create the entity relationship diagram

Create the entity relationship diagram for your project database based on the initial data requirements.

  Write control structure-pseudocode algorithm for simple task

Three simple control structures which could be used to make this algorithm. What do you believe is most difficult part of creating algorithm?

  Creating the table showing decimal value

Assume if the last digit of a 2's complement binary number is 0, then number is even. If the last two digits of a 2's complement binary number are 00

  Java program to make choice for a coffee cup size

Create an application that prompts the user to make a choice for a Coffee cup size, S for Small, T for Tall, G for Grande and V for Venti the rates of cup sizes will be stored in a parallel double array as $2, $2.50, $3.25, and $4.50 respectively.

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