Skip to content

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
Official PYQ2025Operating SystemFile SystemsNAT · 2 marks
A disk of size 512 M512 \text{ M} bytes is divided into blocks of 64 K64 \text{ K} bytes. A file is stored in the disk using linked allocation. In linked allocation, each data block reserves 44 bytes to store the pointer to the next data block. The link part of the last data block contains a NULL pointer (also of 44 bytes). Suppose a file of …
Official PYQ2022Operating SystemFile SystemsNAT · 2 marks
Consider two files systems A\text{A} and B\text{B}, that use contiguous allocation and linked allocation, respectively. A file of size 100100 blocks is already stored in A\text{A} and also in B\text{B}. Now, consider inserting a new block in the middle of the file (between 50th50^{th} and 51st51^{st} block), whose data is already available in …
Official PYQ2021Operating SystemFile SystemsMSQ · 1 mark
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 foo\textsf{foo}. Which of the following operations will necessarily require a full scan of foo\textsf{foo} …
Official PYQ2019Operating SystemFile SystemsNAT · 2 marks
The index node (inode) of a Unix -like file system has 1212 direct, one single-indirect and one double-indirect pointers. The disk block size is 44 kB, and the disk block address is 3232-bits long. The maximum possible file size is (rounded off to 11 decimal place) ____ GB
Official PYQ2017Operating SystemFile SystemsMCQ · 1 mark
In a file allocation system, which of the following allocation scheme(s) can be used if no external fragmentation is allowed? Contiguous Linked Indexed
Official PYQ2014Operating SystemFile SystemsNAT · 1 mark
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 44 bytes in size. Given a 100×106100 \times 10^6 bytes disk on which the file system is stored and data block size is 10310^3 bytes, the maximum size of a file that can be stored on this disk in units of 10610^6 bytes is _________.
Official PYQ2013Operating SystemFile SystemsMCQ · 1 mark
Consider a hard disk with 1616 recording surfaces (0−15)(0-15) having 1638416384 cylinders (0−16383)(0-16383) and each cylinder contains 6464 sectors (0−63)(0-63). Data storage capacity in each sector is 512512 bytes. Data are organized cylinder-wise and the addressing format is ⟨cylinder no.,surface no.,sector no.⟩\langle \text{cylinder no.}, \text{surface no.}, \text{sector no.} \rangle . A …
Official PYQ2008Operating SystemFile SystemsMCQ · 1 mark
The data blocks of a very large file in the Unix file system are allocated using
Official PYQ2002Operating SystemFile SystemsMCQ · 1 mark
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends on