Skip to content

ISRO Scientist/Engineer CSE 2014Operating Systems › Disk Scheduling and File Systems

ISRO Scientist/Engineer CSE 2014 PYQ: Consider a system where each file is associated with a 16 bit number. For each file, each user should have…

Consider a system where each file is associated with a 16 bit number. For each file, each user should have the read and write capability. How much memory is needed to store each user's access data?

  1. A
    16 KB
    Correct answer
  2. B
    32 KB
  3. C
    64 KB
  4. D
    128 KB

Answer

(A) 16 KB

Approach

Each file is identified by a 16-bit number, so there are $2^{16}$ distinct files. For each file, a user's access data must record two independent capabilities: read and write. Each capability needs one bit, so 2 bits per file. Total memory $= 2^{16}$ files × 2 bits/file, then convert bits to bytes/KB.

Reviewed by ISRO IQ Editorial Team.