All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · December 2018

The decimal floating point number -40.1 represented using IEEE-754 32-bit representation and written in hexadecimal form is

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 0xC2206666

Explanation

40.1 = 101000.000110011… = 1.01000000110011… × 2⁵. Sign 1, exponent 127 + 5 = 132 = 10000100, mantissa 0100 0000 1100 1100 1100 110. Bits 1100 0010 0010 0000 0110 0110 0110 0110 = 0xC2206666.

More Computer System Architecture questions