A record is deleted from an extendible hash table. Under what condition can two buckets be merged?
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
A record is deleted from an extendible hash table. Under what condition can two buckets be merged?
In extendible hashing with bucket size 4 and global depth 3, the minimum possible number of buckets is ____.
Which of the following are advantages of a secondary B+ tree index over a secondary hash index? Select all that apply.
A file has 16,000 records. A secondary B+ tree index is built on a non-key field. The B+ tree has order 5 (each leaf node can hold up to 4 search-key/pointer pairs). Assuming the B+ tree is completely full, the number of leaf nodes required is ____.
For a B+ tree of order n, the minimum number of keys in the root node is ____.
Consider an extendible hash table. Initially the global depth is 1 and there are 2 buckets each of capacity 2 records. Insert keys with hash values (in binary): 00, 01, 10, 11, 00. After all insertions, the global depth is ____.
In a secondary index using a B+ tree, which of the following statements is/are TRUE?
(I) Leaf nodes contain pointers to the actual data records.
(II) The search key in a secondary index need not be a primary key.
(III) Secondary indices always cluster data records in sorted order.
(IV) A B+ tree secondary index can have duplicate search key values.
In an extendible hash directory with global depth d, the number of directory entries is ____.
In an extendible hash directory with global depth d, the number of directory entries is ____^d.
Consider an extendible hash table with bucket capacity 3. Keys 1-9 are inserted with hash(k) = k mod 8 (giving 3-bit binary values). After inserting all 9 keys, what is the minimum number of directory doublings that must occur?
Consider a B+ tree in which the search key field is 12 bytes, block size is 512 bytes, record pointer is 10 bytes, and block pointer is 8 bytes. The maximum number of keys that can fit in a leaf node of this B+ tree is ____.
Consider a B+ tree of order 6 used as a secondary index. An internal node currently has 5 keys and 6 pointers (it is full). After a key is pushed up from a child split, the internal node must split. How many keys will the new right sibling internal node contain after the split?
Which of the following is a key difference between a primary index and a secondary index implemented as a B+ tree?
In a B+ tree used as a secondary index on a non-key field, deletion of a record may require:
(I) Removal of the corresponding entry from the leaf node.
(II) Merging of two leaf nodes if underfill occurs.
(III) Reorganization of the entire data file.
(IV) Updating search keys in internal nodes after a leaf node split.
In extendible hashing, which of the following correctly relate global depth (d) and local depth (d_i)?
In a B+ tree used as a secondary index, the leaf nodes:
(I) Are linked together in a doubly linked list.
(II) Contain the actual data records.
(III) Store search key values and pointers to data records.
(IV) Support efficient range queries.
In extendible hashing, a bucket split where local depth < global depth (so no directory doubling is needed): which of the following correctly describes what happens?
In extendible hashing, when the directory doubles, the total number of directory entries:
In an extendible hash table with global depth d and bucket size b, the maximum number of records that can be stored WITHOUT any overflow or additional splitting is b × a^d.what is the value of a?
An extendible hash table starts with global depth 1 and bucket size 2. Keys with hash values (last 1 bit used): h(10)=0, h(20)=0, h(30)=1, h(40)=0. After inserting 10, 20, 30, 40 in order, how many total buckets (including any new ones created) exist?
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 →