Skip to main content

GATE CSE 2026Digital Logic › Number Systems & RepresentationVerified

GATE CSE 2026 PYQ: Consider the real valued variables X , Y X, Y X , Y and Z Z Z represented using the IEEE 754 754 754…

Consider the real valued variables X,YX, Y and ZZ represented using the IEEE 754 singleprecision floating-point format. The binary representations of XX and YY in hexadecimal notation are as follows:
X:35C00000Y:34A00000 X: 35 \mathrm{C} 00000 \quad Y: 34 \mathrm{A} 00000
Let Z=X+YZ=X+Y.

Which one of the following is the binary representation of ZZ, in hexadecimal notation?

  1. A
    35C8000035\text{C}80000
  2. B
    35CC000035\text{CC}0000
  3. C
    35E8000035\text{E}80000
    Correct answer
  4. D
    35EC000035\text{EC}0000

Answer

(C) 35 E 80000 35\text{E}80000 35 E 80000

Approach

Decode each IEEE 754 single-precision operand into sign, exponent, and mantissa; convert to real values; align exponents and add; re-encode the exact sum in IEEE 754 hexadecimal.

Decoding gives X = $1.1_2 * 2^-20$ and Y = $1.01_2 * 2^-22 = 0.0101_2 * 2^-20$. Their sum is exactly $1.1101_2 * 2^-20$, which in IEEE 754 single precision is $(35E80000)_16$. Therefore option C is correct.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.