...
Question 9831 – Database-Management-System
February 13, 2024
Question 9762 – Database-Management-System
February 13, 2024
Question 9831 – Database-Management-System
February 13, 2024
Question 9762 – Database-Management-System
February 13, 2024

Question 9876 – Database-Management-System

(a) Suppose you are given an empty B+-tree where each node (leaf and internal) can store up to 5 key values. Suppose values 1,2,….. 10 are inserted, in order, into the tree, Show the tree pictorially
(i) After 6 insertions, and
(ii) After all 10 insertions
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,….., 9 have been inserted. Assume, as in (a) that each node can hold up to 5 keys.

(c) In general, suppose a B+-tree node can hold a maximum of m 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.
(i) In the normal case, and

(ii) With the insertion as in (b).

Correct Answer: A

Question 42 Explanation: 
(a)
(i)

(ii)

(b)

A
Theory Explanation is given below.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!