GATE CS 1998 · Indexing (B-trees, B+ trees, Hash Indexing)

MCQ · 1 mark · Problem DBMS-INDX-0035

There are five records in a database.\[\begin{array}{|c|c|c|c|} \hline \textbf {Name} & \textbf {Age} & \textbf {Occupation} & \textbf{Category } \\\hline \text{Rama} & \text{27} & \text{CON} & \text{A} \\\hline \text{Abdul} & \text{22} & \text{ENG} & \text{A} \\\hline \text{Jennifer} & \text{28} & \text{DOC} & \text{B} \\\hline \text{Maya} & \text{32} & \text{SER} & \text{D} \\\hline \text{Dev} & \text{24} & \text{MUS} & \text{C} \\\hline \end{array}\]There is an index file associated with this and it contains the values 1, 3, 2, 5 and 4. Which one of the fields is the index built from?
  1. A
    Age
  2. B
    Name
  3. C
    Occupation
  4. D
    Category

Solve it on GATE DA practice →More Storage & Indexing problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1672/gate1998-1-35

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