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?
- A16 KBCorrect answer
- B32 KB
- C64 KB
- D128 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.