B+ Tree


Question 1
B+ Trees are considered BALANCED because
A
the lengths of the paths from the root to all leaf nodes are all equal.
B
the lengths of the paths from the root to all leaf nodes differ from each other by at most 1.
C
the number of children of any two non-leaf sibling nodes differ by at most 1
D
the number of records in any two leaf nodes differ by at most 1.
GATE CSE 2016 SET-2   Data Structure
Question 2
With reference to the B+ tree index of order 1 shown below, the minimum number of nodes (including the Root node) that must be fetched in order to satisfy the following query:
"Get all records with a search key greater than or equal to 7 and less than 15"
is ____________.
A
7
B
6
C
5
D
4
GATE CSE 2015 SET-2   Data Structure


Question 3
Consider a B+-tree in which the maximum number of keys in a node is 5. What is the minimum number of keys in any non-root node?
A
1
B
2
C
3
D
4
GATE CSE 2010   Data Structure
Question 4
The following key values are inserted into a B+ tree in which order of the internal nodes is 3, and that of the leaf nodes is 2, in the sequence given below. The order of internal nodes is the maximum number of tree pointers in each node, and the order of leaf nodes is the maximum number of data items that can be stored in it. The B+ - tree is initially empty.

10, 3, 6, 8, 4, 2, 1

The maximum number of times leaf nodes would get split up as a result of these insertions is
A
2
B
3
C
4
D
5
GATE CSE 2009   Data Structure
Question 5
Consider the B^{+} tree in the adjoining figure, where each node has at most two keys and three links.

Now the key K50 is deleted from the B^{+} tree resulting after the two insertions made earlier. Consider the following statements about the B^{+} tree resulting after this deletion.
i.The height of the tree remains the same.
ii.The node

(disregarding the links) is present in the tree.
iii.The root node remains unchanged (disregarding the links)1
Which one of the following options is true ?
A
Statements (i) and (ii) are true
B
Statements (ii) and (iii) are true
C
Statements (iii) and (i) are true
D
All the statements are false
GATE IT 2007   Data Structure


There are 5 questions to complete.

4 thoughts on “B+ Tree”

  1. In question 4
    correct option is C, not B
    from right biasing answer is 3 but from left biasing answer is 4 so maximum will be 4

    Reply

Leave a Comment