1. >Computer Science and IT Engineering
Found 51  QuestionSET DEFAULT
Selected Filters
    Computer Science and IT Engineering Database Management Systems
Exams
Subjects
Topics

List of top Computer Science and IT Engineering Questions on Database Management Systems

A database has 25,000 fixed-length records of 100 bytes (primary key 15 bytes). The data file is block-aligned so each record is fully contained within a block. The file is indexed by a primary index file, also block-aligned and ordered. Block size is 1024 bytes and a block pointer is 5 bytes. Each index entry stores the block’s anchor key (15 bytes) and a pointer (5 bytes). Binary search on an index file of \(b\) blocks needs \(\lceil \log_2 b \rceil\) block accesses in the worst case. Given a key, the number of block accesses required to identify the data file block that may contain the record, in the worst case, is ____________.

  • GATE CS - 2023
  • GATE CS
  • Computer Science and IT Engineering
  • Database Management Systems
  • Prev
  • 1
  • 2
  • 3
  • Next