A computer uses 8 digit mantissa and 2 digit exponent. If a = 0.052 and b = 28e + 11 then b + a - b will
Answers
Answered by
0
Since the computer uses 8 digit mantissa and 2 digit exponent:a = 0.052, mantissa = 0.52, exponent = −1.b = 28E+11, mantissa = 0.28, exponent = 13.
To add b+a, Small exponent number, a is shiftedto 13-(-1) = 14 places to right side a = 0.0000000000000052E+13.
Since, computer uses only 8 digit mantissa,digits beyond 8th position will be discarded.
So a = 0.00000000E+13 = 0.0 E+13.b + a = (0.28E + 13) + (0.0E + 13 ) = 0.28E + 13.
Then b + a - b = (0.28E + 13) - (0.28E + 13) = 0.So, option (C) is correct. Hence the Answer
Similar questions