GateAI
File Organization and Indexing

GATE CSE 2024 Set 1 · Q21

MCQ1 markEasy

Time

In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) Only the root node

File Organization and Indexing

In a B+\text{B}^+ tree of order pp:

  • Every internal node (except the root) has at least ⌈p/2⌉\lceil p/2 \rceil children and at least ⌈p/2⌉−1\lceil p/2 \rceil - 1 keys.

  • Every leaf node (except when the root is the only node) contains at least ⌊p/2⌋\lfloor p/2 \rfloor (or ⌈(p−1)/2⌉\lceil (p-1)/2 \rceil) key-pointer pairs.

  • The root node is an exception to the minimum occupancy rule: if it is not a leaf, it needs to have at least 22 child pointers (and at least 11 key), and if it is a leaf (i.e., the entire tree has ≤p−1\le p-1 records), it can contain as few as 11 search key value (or even 00 if the tree is empty).

Therefore, the requirement of at least half-full node occupancy is relaxed only for the root node.

Thus, (A) is the correct option.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This File Organization and Indexing previous year question is Q21 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on File Organization and Indexing in Databases, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related File Organization and Indexing PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

File Organization and Indexing in GATE CSE

File Organization and Indexing has 17 GATE CSE PYQs across 17 papers from 2011 to 2026. 5 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2024 Set 1.

How GATE tests File Organization and Indexing

More from GATE CSE 2024 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 1 · Q21 · MCQ

In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.