GateAI
Number Representation and Arithmetic

GATE CSE 2026 Set 1 · Q36

MCQ2 marksMedium

Time

Consider the real valued variables XX, YY and ZZ represented using the IEEE 754 single-precision floating-point format. The binary representations of XX and YY in hexadecimal notation are as follows: X: 35C00000Y: 34A00000X\text{: } 35\text{C}00000 \qquad Y\text{: } 34\text{A}00000 Let Z=X+YZ = X + Y. Which one of the following is the binary representation of ZZ, in hexadecimal notation?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) 35E80000

Number Representation and Arithmetic

In the IEEE 754 single-precision floating-point format (32 bits):

  • Sign (SS): 1 bit

  • Biased Exponent (EE): 8 bits (Bias = 127)

  • Fraction / Mantissa (MM): 23 bits (with an implicit leading 1)

1. Decode X=35C0000016X = 35\text{C}00000_{16}:

  • Binary: 0011 0101 1100 0000 0000 0000 0000 0000

  • Sign bit SX=0S_X = 0 (positive)

  • Exponent bits EX=011010112=107E_X = 01101011_2 = 107

  • Mantissa bits MX=100 0000…2M_X = 100\ 0000\dots_2

  • Significand: 1.121.1_2

  • Value: X=+1.12×2107−127=1.12×2−20X = +1.1_2 \times 2^{107 - 127} = 1.1_2 \times 2^{-20}

2. Decode Y=34A0000016Y = 34\text{A}00000_{16}:

  • Binary: 0011 0100 1010 0000 0000 0000 0000 0000

  • Sign bit SY=0S_Y = 0 (positive)

  • Exponent bits EY=011010012=105E_Y = 01101001_2 = 105

  • Mantissa bits MY=010 0000…2M_Y = 010\ 0000\dots_2

  • Significand: 1.0121.01_2

  • Value: Y=+1.012×2105−127=1.012×2−22Y = +1.01_2 \times 2^{105 - 127} = 1.01_2 \times 2^{-22}

3. Addition Z=X+YZ = X + Y:

  • Align exponents to the larger exponent (E=107E = 107, difference ΔE=107−105=2\Delta E = 107 - 105 = 2):

    Y=0.01012×2−20Y = 0.0101_2 \times 2^{-20}
  • Add the significands:

    Significand of Z=1.10002+0.01012=1.11012\text{Significand of } Z = 1.1000_2 + 0.0101_2 = 1.1101_2
  • Result: Z=1.11012×2−20Z = 1.1101_2 \times 2^{-20}

4. Encode ZZ into IEEE 754 format:

  • Sign bit SZ=0S_Z = 0

  • Biased Exponent EZ=107=011010112E_Z = 107 = 01101011_2

  • Fraction MZ=1101000…2M_Z = 1101000\dots_2

  • 32-bit binary pattern: 0 01101011 11010000000000000000000

  • Grouping into 4-bit nibbles: 0011 0101 1110 1000 0000 0000 0000 0000

  • Hexadecimal: 35E800001635\text{E}80000_{16}

Thus, option (C) is the correct representation.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Number Representation and Arithmetic previous year question is Q36 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Number Representation and Arithmetic in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Number Representation and Arithmetic PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Number Representation and Arithmetic in GATE CSE

Number Representation and Arithmetic has 33 GATE CSE PYQs across 20 papers from 2012 to 2026. 4 of them are 2-mark MCQs like this one, and GATE CSE 2026 Set 1 has 2.

How GATE tests Number Representation and Arithmetic

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q36 · MCQ

Consider the real valued variables X, Y and Z represented using the IEEE 754 single-precision floating-point format. The binary representations of X and Y in hexadecimal notation are as follows: X: 35C00000 Y: 34A00000 Let Z = X + Y. Which one of the following is the binary representation of Z, in hexadecimal notation?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.