ISRO Computer Science (CSE) 2015 - Question 1

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2015

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. 3.5

Explanation: Sign bit = 0 (+). Exponent = 10000000 (128). Bias = 127. True Exponent E = 128 - 127 = 1. Mantissa = 1.110... (binary) = 1 + 0.5 + 0.25 = 1.75. Value = 1.75 * 2^1 = 3.5.

| All questions of ISRO Computer Science (CSE) 2015