![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() |
![]() |
![]() ![]() |
Author | Message | |
Vimal
Newbie ![]() Joined: 02Feb2007 Online Status: Offline Posts: 26 |
![]() ![]() ![]() Posted: 02Feb2007 at 11:17am |
|
Q A computer uses a floating point representation comprising a signed magnitude fractional mantissa and an excess-16 base 8 exponent. What decimal number is represented by floating point number whose exponent is 1001 and mantissa 101000 and the sign bit set????
a) -6250 b)-20480 c)-320 d)-0.00122 Q Floating point numbers ina computer are represented by a 10bit mantissa(including sign bit and a 6 bit exponent) The approx value of the maximum number that can be represented is (assuming mantissa is stored in normalised form) a)2^64 b)2^63 c)2^32 d)2^31 Post Resume: Click here to Upload your Resume & Apply for Jobs |
||
![]() |
||
Ajay
Newbie ![]() Joined: 02Feb2007 Online Status: Offline Posts: 1 |
![]() ![]() ![]() |
|
Refer http://forum.gatementor.com/viewtopic.php?p=14706&highlight=#14706 for initial insights. Actual solutions ( courtesy Pankesh/Sukanto) 10011 = 19 But Here Excess- 16 Representation is Givem so that 19 - 16 = 3 Now According the normalized Mantissa Field 0.101000000 mantissa will be 0.625... thus the Final answer is 0.625 * 8^3 = -320 (as sign bit is 1) Q Floating point numbers ina computer are represented by a 10bit mantissa(including sign bit and a 6 bit exponent) The approx value of the maximum number that can be represented is (assuming mantissa is stored in normalised form) a)2^64 b)2^63 c)2^32 d)2^31[/quote] anser is 2^N (where N = 2^n-1 ; n = 6) ie 2^31 (assuming the exponent in signe magnitute form) _________________ Regards Ajay Kumar |
||
![]() |
||
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.