1. Home
  2. Operating System

Filters

Found 2 Questions

Set Default
Subjects
Topics

List of top Operating System Questions on File Systems

Consider two file systems A and B, that use contiguous allocation and linked allocation, respectively. A file of size 100 blocks is already stored in A and also in B. Now, consider inserting a new block in the middle of the file (between the 50th and 51st block), whose data is already available in the memory. Assume that there are enough free blocks at the end of the file and that the file control blocks are already in memory. Let the number of disk accesses required to insert a block in the middle of the file in A and B are \(n_A\) and \(n_B\), respectively, then the value of \(n_A + n_B\) is
  • GATE CS - 2022
  • GATE CS
  • Operating System
  • File Systems
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 \texttt{foo. Which of the following operations will necessarily require a full scan of \texttt{foo} for successful completion?}
  • GATE CS - 2021
  • GATE CS
  • Operating System
  • File Systems
contact us
terms & conditions
Privacy & Policy
© 2026 Patronum Web Private Limited