A direct-access file system uses blocks of size 4 KB. Each logical record is…
2025
A direct-access file system uses blocks of size 4 KB. Each logical record is 512 bytes. What is the block number for the logical record numbered 235?
- A.
29
- B.
30
- C.
31
- D.
32
Attempted by 18 students.
Show answer & explanation
Correct answer: B
First, calculate the number of records per block by dividing the block size (4096 bytes) by the record size (512 bytes), which equals 8 records. Next, determine the block number for record 235 by dividing 235 by 8 and rounding up to the nearest whole number, resulting in block 30.