Gate2018 cs Q58

0. Consider the unsigned 8-bit fixed point binary number representation, below,
b7b6b5b4b3 ⋅ b2b1b0
Where the position of the binary point is between b3 and b2 Assume b7 is the most significant bit. Some of the decimal numbers listed below cannot be represented exactly in the above representation:
i. 31.500       ii. 0.875
iii. 12.100       iv. 3.001
Which one of the following statements is true?

  • Option : C
  • Explanation :
    Binary code: (b7b6b5b4b3 ⋅ b2b1b0)2
    (31.5)10 = (11111.1)2
    (0.875)10 = (0.111)2
    (12.100)10 = (01100.000110.....)2
              ↓
           Only 3 bits of fraction
           space available
           So can't be stored.
    (3.001)10 = (00011.000000..........)2
    It is also not accurate storage.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *