# 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 mem

100 views
in Computer
closed
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. 16 KB
2. 32 KB
3. 64 KB
4. 128 KB

by (30.0k points)
selected

Correct Answer - Option 1 : 16 KB

Explanation

The question says that each file is associated with a 16-bit number.

Hence the maximum number of files possible will be 216.

for each file, we have to maintain/store access data.

and each user can read or write capability

we have only 4 possible access data for a particular user

For indicating 4 cases we need only 2 bits for each user.

Hence the total number of bits needed 2 × 216 ≡ 217 bits

Option 1: 16 KB

16 KB = 16 × 210 bytes = 16 × 210 × 8 bits = 217 bits.

Therefore option 1 is the correct answer: