GateAI
Number Representation and Arithmetic

GATE CSE 2021 Set 1 · Q24

NAT1 markEasy

Time

Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of 127. S:1E:10000001F:11110000000000000000000S : 1 \quad E : 10000001 \quad F : 11110000000000000000000 Here SS, EE and FF denote the sign, exponent and fraction components of the floating point representation. The decimal value corresponding to the above representation (rounded to 2 decimal places) is ___________

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: -7.75

Number Representation and Arithmetic

In IEEE 754 single-precision floating point format, the value of a normalized number is given by:

V=(−1)S×(1.F)2×2E−BiasV = (-1)^S \times (1.F)_2 \times 2^{E - \text{Bias}}

From the given representation:

  1. Sign bit (SS): S=1  ⟹  (−1)1=−1S = 1 \implies (-1)^1 = -1 (the number is negative).

  2. Exponent (EE): E=100000012=128+1=129E = 10000001_2 = 128 + 1 = 129. The unbiased exponent is:

    e=E−Bias=129−127=2e = E - \text{Bias} = 129 - 127 = 2
  3. Fraction (FF): F=111100000000000000000002F = 11110000000000000000000_2. The significand (mantissa with implicit leading bit) is:

    (1.F)2=1+2−1+2−2+2−3+2−4=1+0.5+0.25+0.125+0.0625=1.9375(1.F)_2 = 1 + 2^{-1} + 2^{-2} + 2^{-3} + 2^{-4} = 1 + 0.5 + 0.25 + 0.125 + 0.0625 = 1.9375

Now, calculate the decimal value:

V=−1×1.9375×22=−1×1.9375×4=−7.75V = -1 \times 1.9375 \times 2^2 = -1 \times 1.9375 \times 4 = -7.75

Therefore, the decimal value is -7.75.

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 Q24 of the GATE CSE 2021 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. 11 of them are 1-mark NAT questions like this one, and GATE CSE 2021 Set 1 has 2.

How GATE tests Number Representation and Arithmetic

More from GATE CSE 2021 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2021 Set 1 · Q24 · NAT

Consider the following representation of a number in IEEE 754 single-precision floating point format with a bias of 127. S : 1 E : 10000001 F : 11110000000000000000000 Here S, E and F denote the sign, exponent and fraction components of the floating point representation. The decimal value corresponding to the above representation (rounded to 2 decimal places) is …

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.