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 6–10 of 24

Q6GATE 2021 (Session 2)1 markNAT
A data file consisting of 1,50,000 student-records is stored on a hard disk with block size of 4096 bytes. The data file is sorted on the primary key RollNo. The size of a record pointer for this disk is 7 bytes. Each student-record has a candidate key attribute called ANum of size 12 bytes. Suppose an index file with records consisting of two fields, ANum value and the record pointer the corresponding student record, is built and stored on the same disk. Assume that the records of data file and index file are not split across disk blocks. The number of blocks in the index file is ______

Q7GATE 20202 marksNAT
Consider a database implemented using B+ tree for file indexing and installed on a disk drive with block size of 4 KB. The size of search key is 12 bytes and the size of tree/disk pointer is 8 bytes. Assume that the database has one million records. Also assume that no node of the B+ tree and no records are present initially in main memory. Consider that each record fits into one disk block. The minimum number of disk accesses required to retrieve any record in the database is _______

Q8GATE 20191 markMCQ−0.33 if wrong
Which one of the following statements is NOT correct about the B+B^+ tree data structure used for creating an index of a relational database table?

Q9GATE 2017 (Session 2)2 marksNAT
In a B+B^{+} tree, if the search -key value is 8 bytes long, the block size is 512 bytes and the block pointer size is 2 bytes, then maximum order of the B+B^{+} tree is _______________.

Q10GATE 2015 (Session 1)1 markMCQ−0.33 if wrong
A file is organized so that the ordering of data records is the same as or close to the ordering of data entries in some index. Then that index is called

Keep practising

Topics in Databases

All CS topics ›