Which of the given number has its IEEE-754 32 bit floating point…
2015
Which of the given number has its IEEE-754 32 bit floating point representation as 0 10000000 110 0000 0000 0000 0000 0000
- A.
2.5
- B.
3.0
- C.
3.5
- D.
4.5
Attempted by 97 students.
Show answer & explanation
Correct answer: C
To convert the IEEE-754 32-bit floating point representation to decimal: 1. Sign bit is 0, so the number is positive. 2. Exponent bits are 10000000, which equals 128 in decimal. Subtract the bias of 127 to get the actual exponent: 128 - 127 = 1. 3. Mantissa bits are 110..., representing 2^-1 + 2^-2 = 0.75. The significand is 1 + 0.75 = 1.75. 4. Calculate the value: 1.75 * 2^1 = 3.5.
A video solution is available for this question — log in and enroll to watch it.