MCQ · 2 marks · Storage and Indexing
GATE CS 2026 CS-2 — Q46
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 tree index can be a sparse index
Which one of the following options is correct?
S1: A hash index must be a dense index
S2: A tree index can be a sparse index
Which one of the following options is correct?