Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2015 | Question 1
  • Last Updated : 20 Nov, 2018

Which of the given number has its IEEE-754 32 bit floating point representation as 0 10000000 110 0000 0000 0000 0000 0000
(A) 2.5
(B) 3.0
(C) 3.5
(D) 4.5


Answer: (C)

Explanation: IEEE-754 32 bit floating point representation has excess-128 notation and first MSB represents sign bit for mantissa, next 8 bits represents the exponent(excess 127) and last 23 bits represent the value of mantissa.
Given, floating point = 0 10000000 110 0000 0000 0000 0000 0000
0 at MSB represents that mantissa is positive.
Next 8 bits, i.e. 10000000 = exponent = 2128 but as it is excess 127 notation,
so actual value of exponent = 2128 – 127 = 21
Value of mantissa in normalized form = 1.110 0000 0000 0000 0000 0000
Answer = (1.11)2 * 2 = 3.5
Option (C) is correct.


Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :