हिंदी

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

Advertisements

प्रश्न

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

-98

योग
Advertisements

उत्तर

2 98  
2 49 -0
2 24 -1
2 12 -0
2 6 -0
2 3 -0
  1 -1

9810 = 01100010

8 bit format = 01100010

1’s complement = 10011101

Add 1 bit = + 1

= 10011110

shaalaa.com
Binary Representation for Signed Numbers
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Number Systems - Evaluation - Section - D [पृष्ठ ३१]
Advertisements
Share
Notifications



      Forgot password?
Use app×