GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2026 set2

GATE 2026 set2 · CS · MCQ · 2 marks · Databases › Indexing & Hashing

GATE 2026 set2 Computer Science and Information Technology question: An index in a DBMS is said to be dense if an index entry appears for every search-key…

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?

  1. (A)

    Both S1 and S2 are true

  2. (B)

    Both S1 and S2 are false

  3. (C)

    S1 is true and S2 is false

  4. (D)

    S1 is false and S2 is true

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion