Which of the following floating point numbers is represented by the 0 1000…

2022

Which of the following floating point numbers is represented by the 0 1000 0011 1001 0100 0000 0000 0000 000 in IEEE 754 standard?

  1. A.

    165.25

  2. B.

    75.25

  3. C.

    15.5

  4. D.

    25.25

Attempted by 27 students.

Show answer & explanation

Correct answer: D

First, parse the 32-bit binary string into IEEE 754 single precision components. The sign bit is 0, indicating a positive number. The exponent bits are 1000 0011, which equals 131 in decimal. Subtracting the bias of 127 gives an actual exponent of 4. The mantissa bits represent a fraction that combines with the implicit leading one to form 1.578125. Finally, multiply this significand by 2 to the power of 4 to get the final value of 25.25.

Explore the full course: Rssb Senior Computer Instructor