Skip to content
Official PYQ · 2017

GATE CS 2017 Set 2 Q12 — Number Representations (Fixed and Floating Point)

Explain with AI

Given the following binary number in 3232-bit (single precision) IEEE-754\text{IEEE-754} format :

                                    00111110011011010000000000000000\large 00111110011011010000000000000000

The decimal value closest to this floating-point number is :

Choose one option
View worked solution

Answer: C

To find the decimal value of the given 3232-bit IEEE-754 single-precision floating-point number, we divide the binary representation into three fields:

0⏟Sign (1 bit)01111100⏟Exponent (8 bits)11011010000000000000000⏟Mantissa (23 bits)\underbrace{0}_{\text{Sign (1 bit)}} \quad \underbrace{01111100}_{\text{Exponent (8 bits)}} \quad \underbrace{11011010000000000000000}_{\text{Mantissa (23 bits)}}
  1. Sign (SS): 0  ⟹  0 \implies Positive number.
  2. Biased Exponent (EE): E=011111002=64+32+16+8+4=12410E = 01111100_2 = 64 + 32 + 16 + 8 + 4 = 124_{10} The actual exponent ee is: e=E−Bias=124−127=−3e = E - \text{Bias} = 124 - 127 = -3
  3. Mantissa (MM): The fraction part is 0.110110120.1101101_2. Significand=1+M=1+2−1+2−2+2−4+2−5+2−7\text{Significand} = 1 + M = 1 + 2^{-1} + 2^{-2} + 2^{-4} + 2^{-5} + 2^{-7} 1+0.5+0.25+0.0625+0.03125+0.0078125=1.85156251 + 0.5 + 0.25 + 0.0625 + 0.03125 + 0.0078125 = 1.8515625

Now, calculate the final value:

Value=1.8515625×2−3=1.85156258≈0.2314\text{Value} = 1.8515625 \times 2^{-3} = \frac{1.8515625}{8} \approx 0.2314

Comparing this with the given options:

  • Option B: 1.45×10−1=0.1451.45 \times 10^{-1} = 0.145
  • Option C: 2.27×10−1=0.2272.27 \times 10^{-1} = 0.227

The value 0.23140.2314 is closest to 0.2270.227, which is 2.27×10−12.27 \times 10^{-1}.

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

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