Skip to content

GATE CS 2012 Q7 — Number Representations (Fixed and Floating Point)

Explain with AI

The decimal value 0.50.5 in IEEE single precision floating point representation has

Choose one option
View worked solution

Answer: B

To find the IEEE 754 single-precision representation of the decimal number 0.50.5:

  1. Convert to binary: 0.510=0.120.5_{10} = 0.1_2
  2. Normalize the binary representation:

    Any normalized non-zero floating-point number is represented in the form:

    (−1)s×(1.M)×2E(-1)^s \times (1.M) \times 2^E

    Expressing 0.120.1_2 in this format:

    0.12=1.02×2−10.1_2 = 1.0_2 \times 2^{-1}
  3. Identify the components:
    • Sign (ss): 00 (since the number is positive).
    • Fraction/Mantissa (MM): The bits after the binary point in 1.021.0_2, which are all zeros: 000…000000\dots000 (since the leading 11 is implicit and not stored).
    • Exponent (EE): The actual exponent value is −1-1.

Therefore, the representation has fraction bits of 000…000000\dots000 and an exponent value of −1-1.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Number Representations (Fixed and Floating Point) questions