Open In App

ISRO | ISRO CS 2015 | Question 1

Like Article
Like
Save
Share
Report

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


Last Updated : 20 Nov, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads