edited by
1,110 views
1 votes
1 votes

$2’s$ complements representation of the following decimal number $-(105.75)_{10}$ is:

  1. $10010110.01$
  2. $10011110.01$
  3. $10001110.10$
  4. $11001011.10$

 

edited by

2 Answers

Best answer
3 votes
3 votes

Method 1: $\color{blue}{-(105.75)  = -106 + 0.25}$

Convert both of these to $2's$ complement representation and add them.

$10010110 = -128 + 16 + 6 = -106 $ and $0.25 = 0.01$ So, combining these two, we get $\color{red}{-(105.75) = 10010110.01}$

Method 2:  This is the method we generally follow to find $2's$ complement representation of any negative number.

  • Firstly find binary representation of $+ve$ number i.e., $(105.75)_{10} =  01101001.11$
  • Take $1's$ complement of the number, now we get $10010110.00$
  • Now, add $1$ to LSB, So we add $0.01$ here to above number.
  • $10010110.00 + 0.01 =  10010110.01 $

PS:) I followed method $1$, when I gave this test.

selected by

Related questions

0 votes
0 votes
2 answers
1
Hira Thakur asked Jul 7, 2018
443 views
2's complement (2's complement) = original number,in above fig in the 2nd stage we get the original number after that we again take 2's compliment??3 times 2's complement...
0 votes
0 votes
1 answer
2