English

Find 1’s Complement and 2’s Complement for the following Decimal number. -135

Advertisements

Question

Find 1’s Complement and 2’s Complement for the following Decimal number.

-135

Sum
Advertisements

Solution

2 135  
2 67 -1
2 33 -1
2 16 -1
2 8 -0
2 4 -0
2 2 -0
  1 -0

13510 = 10000111

1’st complement = 01111000

Add 1 bit = + 1

= 01111001

shaalaa.com
Binary Representation for Signed Numbers
  Is there an error in this question or solution?
Chapter 2: Number Systems - Evaluation - Section - D [Page 31]
Advertisements
Share
Notifications



      Forgot password?
Use app×