A file is organized so that the ordering of data records is the same as or close to the ordering of data entries in some index. Then that index is called
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2015 Set 1 · Q24
Time
Select one answerSingle correct
Solution
Official answer: C) Clustered
File Organization and IndexingBy definition, an index is called a clustered index if the physical ordering of the data records in the file is the same as (or close to) the ordering of the data entries in the index.
If the records in the data file are not sorted in the same order as the search key in the index, it is called an unclustered index.
A dense index contains an index entry for every search key value in the file.
A sparse index contains index records for only some of the search key values (usually one per data block).
Therefore, the correct option is (C).
Try the question first, then check your work.
Examiner trap
Think about the index type where the physical storage of data records mirrors the sequential order of index keys.
This File Organization and Indexing previous year question is Q24 of the GATE CSE 2015 Set 1 paper. Find more GATE CSE PYQs on File Organization and Indexing in Databases, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related File Organization and Indexing PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
File Organization and Indexing has 17 GATE CSE PYQs across 17 papers from 2011 to 2026. 5 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2015 Set 1.
How GATE tests File Organization and IndexingIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.