The GATE Grind

GATE 2013 CS (CS1) – Question 25

Databases · File Organization and Indexing (B and B+ Trees) · 1 mark · Multiple choice

An index is clustered if

  1. it uses a candidate key
  2. it includes the primary key
  3. file records have the same order as index entries
  4. file records have a different order from index entries

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) file records have the same order as index entries

Explanation

Clustering concerns physical record order relative to the indexing order, rather than whether indexed fields form a key. If data records follow the same order as index entries, nearby index keys lead to nearby records. Thus C.

More File Organization and Indexing (B and B+ Trees) questions

All File Organization and Indexing (B and B+ Trees) questions →