retagged by
530 views
0 votes
0 votes

 We want to represent the decimal number $“1000”$ in one’s complement, two’s complement and sign magnitude representations, respectively, which option correctly represent it?

  1. $-7,+8,-0$
  2. $-7,-8,0$
  3. $-7,-8,-0$
  4. $+7,+8,-0$
retagged by

2 Answers

Best answer
1 votes
1 votes

1000 in binary 11 1110 1000

  1. For 1's complement , 00 0001 0111 = 10111 = -(4+2+1) = -7  [ bit by bit complement only]
  2. For 2's complement , 1000 in binary 11 1110 1000   

           complement is   00 0001 0111 

             add 1              00 0001 1000, so 2's complement is 11000 = -8  [ bit by bit complement +1 ]

For sign magnitude representation,  1000 , left most bit or MSB is 1  so sign is  -ve , rest three bits are 0 so 1000 in sign magnitude representation is -0

so 1000 in 1's, 2's complement and sign magnitude is -7, -8, -0 

which is option C .

selected by
Answer:

Related questions

0 votes
0 votes
1 answer
3
Bikram asked May 27, 2017
632 views
Consider the following Micro-operations:$\begin{array}{|l|l|} \hline \text{MAR} & \leftarrow IR \text{[address]} \\ \hline \text{MBR} & \leftarrow \text{Memory} \\ \hline...