Suppose we have a b-tree that holds keys and leaves there


Question :

Suppose we have a B-Tree that holds keys and leaves. There are 100 million data records (N), and they are stored in the leaves (lowest level) of the B-Tree.

Each leaf contains 100 data records. The leaves are stored only at the bottom level of the tree (below the keys), and each key at the bottom level of keys points to one leaf. The B-Tree has 4 levels of keys counting the root level which has m keys.

Except for the bottom level, each key has m child keys. The bottom level keys have leaves (one leaf per key).

Draw the tree (see the figure on the chalk board during the exam)

How many leaves are required to hold all the data records?

How many keys are required at the lowest key level of the B-Tree?

What is the branching factor (M) of the B-Tree. Show your work.

If the root level contains 1 key (instead of m), and the tree has 4 levels, the root being the first, then what is M?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Suppose we have a b-tree that holds keys and leaves there
Reference No:- TGS02932518

Expected delivery within 24 Hours