File Organization & Indexing (B/B+ Trees) — GATE CS Previous Year Questions
Practise GATE CS previous year questions on File Organization & Indexing (B/B+ Trees) in Databases (DBMS). Filter by year, marks and question type.
Public question previews
- An index in a DBMS is said to be dense if an index entry appears for every search-key value in the indexed file. Otherwise it is called a sparse index. Consider the following two statements. S1: A hash index must be a dense index S2: A B+ tree index can be a sparse index Which one of the following options is correct? (2026 · 2 marks · MCQ)
- In a B+-tree where each node can hold at most four key values, a root to leaf path consists of the following nodes: A = (49, 77, 83, -), B = (7, 19, 33, 44), C = (20*, 22*, 25*, 26*). The *-marked keys signify that these are data entries in a leaf. Assume that a pointer between keys k1 and k2 points to a subtree containing keys in [k1, k2), and that when a leaf is created, the smallest key in it is copied up into its parent. A record with key value 23 is inserted into the B+-tree. The smallest key value in the parent of the leaf that contains 25* is __________. (Answer in integer) (2025 · 2 marks · NAT)
- In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases? (2024 · 1 mark · MCQ)