Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 One Stop GATE ForumGATE Technical DiscussionsGATE CS
Message Icon Topic: more queries Post Reply Post New Topic
Author Message
Vimal
Newbie
Newbie


Joined: 02Feb2007
Online Status: Offline
Posts: 26
Quote Vimal Replybullet Topic: more queries
    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

IP IP Logged
Ajay
Newbie
Newbie


Joined: 02Feb2007
Online Status: Offline
Posts: 1
Quote Ajay Replybullet Posted: 02Feb2007 at 3:04pm
Quote:
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

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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

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

GET LATEST FRESHERS JOBS IN YOUR MAIL





This page was generated in 0.189 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Job Interview Questions | Girls Magazine | DLL, OCX File Errors | Freshers Jobs | Placement Papers | More Papers