in Databases retagged by
10,426 views
18 votes
18 votes

Which one of the following statements is NOT correct about the B+ tree data structure used for creating an index of a relational database table?

  1. B+ Tree is a height-balanced tree
  2. Non-leaf nodes have pointers to data records
  3. Key values in each node are kept in sorted order
  4. Each leaf node has a pointer to the next leaf node
in Databases retagged by
by
10.4k views

3 Comments

B is the correct answer.
3
3
No $\mathbf{B}$ is the wrong answer which is correct. :)
5
5
B statement is wrong because it has written non-leaf nodes, if we make it leaf nodes then B is correct.

(only talking about the theory not the answer)
1
1

3 Answers

34 votes
34 votes
Best answer
Properties of B+ trees:
1. B+ tree is height balance tree.
2. Key value is in sorted order.
3. Leaf node has pointer to next leaf node.
4. Non leaf node has pointer to a node (leaf or non leaf) and not pointer to data record.

Option B is not correct.
edited by

2 Comments

@Digvijay Pandey

is B tree also height balance tree??

as like B+ tree in B also all leaf are same node so B is also height balanced tree 

am I correct?

0
0

@jlimbasiya, yes! you are correct, B-tree is also height balanced tree:)

0
0
1 vote
1 vote
Only leaf nodes have pointer for the data records, hence option B is not a property of a B+ tree.

Therefore, option B is correct answer.
0 votes
0 votes
Option B is correct

root node and internal node of  B + tree does not contain Data pointer/record pointer only leaf node will contain .

and in B tree root node , internal node as well as Leaf node will also contain Data Pointer .
Answer:

Related questions