Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2018 | Question 13
  • Last Updated : 21 Nov, 2019

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

(A) 12
(B) 25
(C) 38
(D) 44


Answer: (D)

Explanation: D4FE2003 = 1101 0100 1111 1110 0010 0000 0000 0011

Total bits = 32
Total bits which are occupied, i.e. with value 1 = 14
Percentage of occupied tracks = 14/32 * 100 = 43.75 = 44

So, option (D) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :