File System: GATE CS Previous Year Questions

File System · Databases

24 questions · asked in 16 of 27 years (2000–2026)

MCQ 17 · MSQ 2 · NAT 51-mark 18 · 2-mark 6

2000Questions per year2026

Questions 11–15 of 24

Q11GATE 2015 (Session 3)2 marksNAT
Consider a B+ tree in which the search key is 12 bytes long, block size is 1024 bytes, record pointer is 10 bytes long and block pointer is 8 bytes long. The maximum number of keys that can be accommodated in each non-leaf node of the tree is ____________.

Q12GATE 20131 markMCQ−0.33 if wrong
An index is clustered, if

Q13GATE 20082 marksMCQ−0.67 if wrong
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

Q14GATE 20081 markMCQ−0.33 if wrong
A clustering index is defined on the fields which are of type

Q15GATE 20071 markMCQ−0.33 if wrong
The order of a leaf node in a B+ tree is the maximum number of (value, data record pointer) pairs it can hold. Given that the block size is 1K bytes, data record pointer is 7 bytes long, the value field is 9 bytes long and a block pointer is 6 bytes long, what is the order of the leaf node?

Keep practising

Topics in Databases

All CS topics ›