Computer Science, asked by vinithjvinithjpb3wjg, 1 year ago

Write the 1's complement number and 2's complement number for the following decimal number a)22

Answers

Answered by DSamrat
10
Binary of 22 is ( 10110 )

1's complement = ( 01001 )

2's complement = ( 01001 ) + ( 00001 )

= ( 01010 )
Similar questions