StreakPeaked· Practice

ExamsGATETechnical

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

Correct answer: Non-leaf nodes have pointers to data records

Solution

Non-leaf nodes in a B+ tree do not contain pointers to actual data records; instead, they only store keys and pointers to child nodes, which helps in navigating the tree structure. This characteristic distinguishes B+ trees from other tree structures, ensuring efficient searching and maintaining balance.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →