GATE / CS ARCHIVE

GATE CSE 2015 SET 1 / QUESTION 32

GATE CSE 2015 Set 1 Q32

Database Management Systems · Indexing, Storage & Query Processing · Full GATE CSE 2015 Set 1 paper

GATE 2015 Set 1, Q32 1 mark · MCQ
Report issue

Indexing, Storage & Query Processing

Question 32, GATE 2015: A file's data-record order is the same as, or close to, the order of entries in an index. What kind of index is it? A dense; B sparse; C clustered; D unclustered.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Clustering concerns how the data records themselves are arranged relative to the search key, making nearby key values physically nearby. Dense versus sparse concerns how many index entries exist, not whether the underlying file follows the key order. Therefore density alone cannot answer the question. An unclustered index may point to records scattered throughout the file.

Solution: A clustered index determines the physical ordering/grouping of the underlying data records on its search key. Thus C.

Original paper, page 12 · Answer key