GATEverse
← GATE CSE 2000

Q21

MCQMarks unknown

(a) Suppose you are given an empty B+B^+ tree where each node (leaf and internal) can store up to 55 key values. Suppose values 1,2,…101, 2,\ldots 10 are inserted, in order, into the tree. Show the tree pictorially Do NOT show intermediate stages. (b) Suppose instead of splitting a node when it is full, we try to move a value to the left sibling. If there is no left sibling, or the left sibling is full, we split the node. Show the tree after values 1,2,…,91, 2,\ldots , 9 have been inserted. Assume, as in (a) that each node can hold up to 55 keys. (c) In general, suppose a B+B^+ tree node can hold a maximum of mm keys,and you insert a long sequence of keys in increasing order. Then what approximately is the average number of keys in each leaf level node. in the normal case, and with the insertion as in (b).

Sign in to save attempts.

Loading…