GATE CS 2026 Set 1 | Question 36

Digital Logic › Number System · MCQ · 2 marks · Answer: C

  1. Question 36Digital Logicmcq2 marks
    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 . Which one of the following is the binary representation of , in hexadecimal notation?
    • A.
      35C80000
    • B.
      35CC0000
    • C.
      35E80000
      ✓
    • D.
      35EC0000

    Answer: C

    Solution

    Answer: (C) 35E80000 Both X and Y are positive (sign bit ) single-precision numbers; bias , so the true exponent is .
         hex     | exponent field  | mantissa | value
    -------------+-----------------+----------+----------------
    X  35C00000  | 0110 1011 = 107 | 1000...  | 1.1b  x 2^-20
    Y  34A00000  | 0110 1001 = 105 | 0100...  | 1.01b x 2^-20
    Decoding each number:
    Align both to the larger exponent and add the mantissas:
    This is already normalised (), so the exponent stays and the stored mantissa is Assemble the 32 bits:
    sign  exponent   mantissa (23 bits)
     0    01101011   1101000 00000000 00000000
    Regroup into nibbles: 0011 0101 1110 1000 0000 0000 0000 0000 = 0x35E80000. Decimal check: , and (scaled by ). Matches option (C).

More GATE PYQ on Number System

All GATE CS Digital Logic PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →