in Others edited by
380 views
0 votes
0 votes

$2$’s complement of $-100$ is:

  1. $00011100$
  2. $10011101$
  3. $10011100$
  4. $11100100$
in Others edited by
380 views

1 comment

(100)base 10 = ( 01100100) base 2

It's negative number so 2's complement = 1's complement of (01100100) + 1

Answer  10011100

option C is correct.
0
0

1 Answer

0 votes
0 votes

C) 10011100 ...

 

The binary equivalent of 100 is 1100100 ..

 

(100)^10 in binary system 1100100 ...

 

Now two’s complement

= 1st complement + 1

= 0011011 + 1 ...

= 0011100 …

 

For (–100)^10 will be 10011100 …

 

Related questions