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

MCQ · 2 marks · Problem DBMS-INDX-0028

Consider a file of 16384 records. Each record is 32 bytes long and its key field is of size 6 bytes. The file is ordered on a non-key field, and the file organization is unspanned. The file is stored in a file system with block size 1024 bytes, and the size of a block pointer is 10 bytes. If the secondary index is built on the key field of the file, and a multi-level index scheme is used to store the secondary index, the number of first-level and second-level blocks in the multi-level index are respectively
  1. A
    8 and 0
  2. B
    128 and 6
  3. C
    256 and 4
  4. D
    512 and 5

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/259/gate2008-70

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