An extendible hash table starts with global depth 0 (a single bucket of capacity 3). Keys are inserted with hash values (in binary): 000, 001, 010, 011. After inserting all four keys, the global depth is ____.
GATE CSE · Dbms
Master topic for File System. Includes Indexing - Secondary B+ Tree, Hashing - Extendible Hashing.
97 questions · 0 PYQs · 20 AI practice · GATE CSE 2027
An extendible hash table starts with global depth 0 (a single bucket of capacity 3). Keys are inserted with hash values (in binary): 000, 001, 010, 011. After inserting all four keys, the global depth is ____.
A B+ tree of order 4 is used as a secondary index. A range query retrieves all records with search key values between 50 and 200. The B+ tree has 3 levels (root at level 0). The cost of this range query in terms of block I/Os (assuming no data blocks are in buffer) includes traversal from root to the first matching leaf plus sequential scan of leaves. If there are 20 matching leaf nodes, the total I/O cost is ____.
An extendible hash table has a global depth of 3. A bucket with local depth 3 overflows when a new key is inserted. Which of the following operations will occur?
In extendible hashing, the number of disk accesses required to search for a record (assuming the directory fits in memory) is:
Consider inserting keys 5, 10, 15, 20, 25, 30 into an initially empty B+ tree of order 3 (max 2 keys per node). After all insertions, what is the height of the B+ tree?
Consider a relation R with 2,00,000 records. A secondary B+ tree index is constructed on a non-key attribute. The B+ tree order is 100 (max 99 keys per node). The maximum number of block accesses required to find a record using this index (including accessing the data block) is ____.
In extendible hashing, when a bucket with local depth equal to the global depth overflows, which sequence of operations is correct?
Which one of the following statements is NOT correct about the B+ tree data structure used for creating an index of a relational database table?
In extendible hashing, after a series of insertions, the global depth is 4 and there are exactly 6 distinct buckets. The sum of 2^(global_depth - local_depth_i) over all buckets equals ____.
Which of the following are TRUE about extendible hashing compared to linear hashing? Select all that apply.
Which of the following operations is MORE efficient with a secondary B+ tree index compared to a secondary hash index?
Which of the following are properties that extendible hashing guarantees? Select all that apply.
In extendible hashing, the 'local depth' of a bucket is:
Which of the following scenarios in extendible hashing require a directory doubling? Select all that apply.
In extendible hashing, if the global depth is 3 and a bucket has local depth 2, how many directory entries point to that bucket?
A secondary B+ tree index is built on the non-key attribute 'Department' of EMPLOYEE table with 1,00,000 records. The B+ tree is of order 50. Assuming the tree is half-full at every level (minimum occupancy), the height of the tree is ____.
A secondary B+ tree index of order p is built on a file with N records. Each leaf node can hold up to p-1 search-key/pointer pairs plus one next-leaf pointer. The number of block accesses needed for an equality search (assuming the index itself fits in memory except for the leaf level and data block) is ____.
In extendible hashing, the 'global depth' of the directory refers to:
Consider a relation with 10,000 records stored on disk blocks of size 1024 bytes. Each record is 100 bytes. A secondary B+ tree index is built on a non-key attribute. Each index entry is 20 bytes and each block pointer is 8 bytes. The order of the B+ tree is determined by: ceil((Block size - pointer size) / (Key size + pointer size)). The maximum order of the B+ tree index is ____.
Consider an existing B+ tree of order 5 used as a secondary index. A new key is inserted that causes a leaf node split. Which of the following must happen? Select all that apply.
Want unlimited AI-generated File System questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →