Computer Fundamentals - Engineering

Q1:

Which of the following is the 1's complement of 10?

A 01

B 110

C 11

D 10

E None of the above

ANS:A - 01

@Gopal.

For 2's complement, we first find 1's complement and then add 1 in that number.

Eg:

We have a binary number 0111,

2's complement = [1's complememt] + 1 .
1's complement = 1000,
now add 1,
1000
+ 1
===========
1001
===========