GATE CS 2012 · Question 41 · Operating System · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

A file system with 300 GByte disk uses a file descriptor with 8 direct block addresses, 1 indirect block address and 1 doubly indirect block address. The size of each disk block is 128 Bytes and the size of each disk block address is 8 Bytes. The maximum possible file size in this file system is

  1. (A) 3 KBytes
  2. (B) 35 KBytes
  3. (C) 280 KBytes
  4. (D) dependent on the size of the disk
Answer

Answer (B)

Answer from the official GATE CS 2012 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes