In a tree, the requirement of at least half-full node occupancy is relaxed for which one of the following cases?
View worked solution
Answer: A
In a tree of order (where is the maximum number of child pointers an internal node can have):
- Internal Nodes (excluding the root): Must have at least child pointers. This ensures at least occupancy.
- Leaf Nodes: Must contain at least keys, which also maintains approximately occupancy.
- Root Node: If the root is an internal node, it is only required to have at least child pointers. If the root is a leaf node, it can have as few as keys (when the tree is empty) or key.
Thus, the minimum occupancy requirement is relaxed only for the root node to allow the tree to grow from or shrink to a very small size without violating structural properties.
Therefore, the correct option is A.
Free practice · Your answers on this page are not saved.
