ISRO Scientist/Engineer CSE 2018Operating Systems › Disk Scheduling and File Systems
ISRO Scientist/Engineer CSE 2018 PYQ: A particular disk unit uses a bit string to record the occupancy or vacancy of its tracks, with 0 denoting…
A particular disk unit uses a bit string to record the occupancy or vacancy of its tracks, with 0 denoting vacant and 1 for occupied. A 32-$bit$ segment of this string has hexadecimal value D4FE2003. The percentage of occupied tracks for the corresponding part of the disk, to the nearest percentage is:
- A12
- B25
- C38
- D44Correct answer
Answer
(D) $44$
Approach
Convert the 32-bit hexadecimal string D4FE2003 into binary, count the number of 1s (occupied tracks), and compute the percentage of occupied tracks out of 32.
Reviewed by ISRO IQ Editorial Team.