GATE CS 2026 · Set-2 · SQL Queries

MCQ · 2 marks · Problem DBMS-SQL-0044

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. \(\text{S1}\): A hash index must be a dense index \(\text{S2}\): A \(B^{+}\) tree index can be a sparse index Which one of the following options is correct?
  1. A
    Both \(\text{S1}\) and \(\text{S2}\) are true
  2. B
    Both \(\text{S1}\) and \(\text{S2}\) are false
  3. C
    \(\text{S1}\) is true and \(\text{S2}\) is false
  4. D
    \(\text{S1}\) is false and \(\text{S2}\) is true

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/523110/gate-cse-2026-set-2-question-36

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com