GATEverse Practice, past papers & mock tests
GATE 2026 · CS2 - Afternoon
Operating SystemsFile System and Device ManagementhardNAT2 marks
To keep track of free blocks in a file system, one of the two approaches is generally used - using bitmaps (bit vectors) or using linked lists. Consider that the linked list approach is used to keep track of free blocks in a file system. Assume that the disk size is 16 GB, block size is 2 KB, and block numbers used are 32-bit long. A single pointer of size 4 bytes is used in each block of the list to point to the next block of the list. The number of blocks required to hold the free disk block numbers is ____________. (answer in integer) Note: 1K=\(2^{10}\) and 1G=\(2^{30}\)
Save your progress

Related Operating Systems PYQs