edited by
466 views
3 votes
3 votes
The decimal equivalent of given 2’s complement number $(110101011.1101)_2$ is:
edited by

1 Answer

0 votes
0 votes

The given number is  110101011.1101. Separate the number from decimal point

It separates as  110101011 and 1101.

 110101011 is in 2’s complement and it’s MSB is 1 so it is negative number. In order to find it’s magnitude we have to find 2’s complement of it . 

2’s complement of  110101011 is   001010101  and its decimal equivalent is 85 . So magnitude is  -85

To find value after the decimal point just multiply each term by negaive power of 2.

 

So 1101 = 1*2^-1  + 1*2^-2  + 0 + 1*2^-4 

It becomes  0.8125

 

So overall ans will be    -85.8125

edited by
1 flag:
✌ Edit necessary (randomAstrix007 “Wrong answer”)

Related questions

619
views
1 answers
0 votes
Shankar Kakde asked Jan 23, 2019
619 views
The $(r-1)$'s complement of a number can be found using formula $(r^{n}-r^{-m}-N)$ where $r$ is base of the number $N$ having $n$ digits ... How many $(r - 1)'s$ complement of above decimal numbers can be calculated using mentioned formula?
616
views
0 answers
0 votes
MiNiPanda asked Jan 15, 2019
616 views
2’s complement representation of the number $(-89)_{10}$ is7543I don’t understand their solution. Please help.
1.2k
views
0 answers
1 votes
Gupta731 asked Nov 9, 2018
1,163 views
Let X = X2X1X0 and Y= Y1Y0 be unsigned positive 3 digit and 2 digit numbers respectively. The output function 'f' = 1 only when X>Y otherwise '0'. Then the value of output f is equal toA.B.C.D.
1.3k
views
1 answers
2 votes
Epsilon95 asked May 10, 2017
1,297 views
From the 7 symbols (0-6) how many different codes we can construct?(a) 8! (b) 8(c) 7! (d) 7 provide an explanation, answer is (a)