GateAI
Number Representation and Arithmetic

GATE CSE 2023 · Q45

MCQ2 marksMedium

Time

Consider the IEEE-754 single precision floating point numbers P=0xC1800000P = \text{0xC1800000} and Q=0x3F5C2EF4Q = \text{0x3F5C2EF4}. Which one of the following corresponds to the product of these numbers (i.e., P×QP \times Q), represented in the IEEE-754 single precision format?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) 0xC15C2EF4

Number Representation and Arithmetic
  1. Deconstruct PP (0xC1800000):

    • Binary: 1 10000011 00000000000000000000000

    • Sign bit SP=1S_P = 1 (negative)

    • Biased exponent EP=131  ⟹  eP=131−127=4E_P = 131 \implies e_P = 131 - 127 = 4

    • Mantissa MP=1.02M_P = 1.0_2

    • Value P=−1.0×24=−16P = -1.0 \times 2^4 = -16

  2. Deconstruct QQ (0x3F5C2EF4):

    • Binary: 0 01111110 10111000010111011110100

    • Sign bit SQ=0S_Q = 0 (positive)

    • Biased exponent EQ=126  ⟹  eQ=126−127=−1E_Q = 126 \implies e_Q = 126 - 127 = -1

    • Value Q=+1.MQ×2−1Q = +1.M_Q \times 2^{-1}

  3. Compute Product P×QP \times Q:

    • Sign bit: 1⊕0=11 \oplus 0 = 1 (negative)

    • Exponent: eres=eP+eQ=4+(−1)=3e_{\text{res}} = e_P + e_Q = 4 + (-1) = 3

    • Biased exponent Eres=3+127=130=100000102E_{\text{res}} = 3 + 127 = 130 = 10000010_2

    • Mantissa: 1.0×1.MQ=1.MQ1.0 \times 1.M_Q = 1.M_Q (fraction bits remain identical to QQ)

  4. Encode Result:

    • Binary: 1 10000010 1011100...

    • Hexadecimal: 0xC15C2EF4

Thus, C is the correct option.

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 Q45 of the GATE CSE 2023 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 2023 has 2.

How GATE tests Number Representation and Arithmetic

More from GATE CSE 2023

Share this solution

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

GateAI solution cardGATE CSE 2023 · Q45 · MCQ

Consider the IEEE-754 single precision floating point numbers P = 0xC1800000 and Q = 0x3F5C2EF4. Which one of the following corresponds to the product of these numbers (i.e., P × Q), represented in the IEEE-754 single precision format?

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.