GATE CS File Systems questions
Practise File Systems questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
9 on this page
A disk of size bytes is divided into blocks of bytes. A file is stored in the disk using linked allocation. In linked allocation, each data block reserves bytes to store the pointer to the next data block. The link part of the last data block contains a NULL pointer (also of bytes). Suppose a file of …
Consider two files systems and , that use contiguous allocation and linked allocation, respectively. A file of size blocks is already stored in and also in . Now, consider inserting a new block in the middle of the file (between and block), whose data is already available in …
Consider a linear list based directory implementation in a file system. Each directory is a list of nodes, where each node contains the file name along with the file metadata, such as the list of pointers to the data blocks. Consider a given directory . Which of the following operations will necessarily require a full scan of …
The index node (inode) of a Unix -like file system has direct, one single-indirect and one double-indirect pointers. The disk block size is kB, and the disk block address is -bits long. The maximum possible file size is (rounded off to decimal place) ____ GB
In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? Contiguous Linked Indexed
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is bytes in size. Given a bytes disk on which the file system is stored and data block size is bytes, the maximum size of a file that can be stored on this disk in units of bytes is _________.
Consider a hard disk with recording surfaces having cylinders and each cylinder contains sectors . Data storage capacity in each sector is bytes. Data are organized cylinder-wise and the addressing format is . A …
The data blocks of a very large file in the Unix file system are allocated using
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends on
