1.

What are the mantissa and exponent required respectively to represent ‘5’ in binary floating point representation?(a) 011,0.110000(b) 0.110000,011(c) 011,0.101000(d) 0.101000,011I had been asked this question in a national level competition.This interesting question is from Representation of Numbers topic in portion Discrete Time Systems Implementation of Digital Signal Processing

Answer»

Correct option is (d) 0.101000,011

The best I can explain: We can represent 5 as

5=0.625*8=0.625*2^3

The above NUMBER can be REPRESENTED in BINARY float POINT representation as 0.101000*2^011

Thus Mantissa=0.101000, Exponent=011.



Discussion

No Comment Found

Related InterviewSolutions