38-Binary-Complement-Questions
38-Binary-Complement-Questions
1’s Complement
Arora Educator
1’s Complement
Q.1 - 1’s complement of binary number 110010 is
Answer = 001101
Q.2 - Find 1’s complement of binary number 10101110
Answer = 01010001
Arora Educator
1’s Complement
Q.3 - Find 1’s complement of decimal number 45.?
Answer
45 = 32 16 8 4 2 1
= 1 0 1 1 0 1
1’s = 0 1 0 0 1 0
Arora Educator
1’s Complement
Q.4 - Find 1’s complement of decimal number 45
in 8 Bit.?
Answer
45 = 32 16 8 4 2 1
=1 0 1 1 0 1
8 Bit = 0 0 1 0 1 1 0 1
1’s = 11010010
Arora Educator
1’s Complement
Q.6 – Find 1’s complement of decimal number +8 .?
Answer
+ means = 0 (Add in Left Side)
+8 = + 8 4 2 1
Note = No need to reverse the number
= 01000
Arora Educator
1’s Complement
Q.9 – Find 1’s complement of decimal number -8 .?
Answer
- means = 1
+8 = + 8 4 2 1
Note = - 8 = +8
= 01000
Then 1’s Complement
1’ = 1 0 1 1 1
Arora Educator
2’s Complement
Arora Educator
2’s Complement
Q.1 – Obtain 2’s Complement of (110100)2
Answer
To get 2’s complement of a binary number-
1) Find 1’s complement = 001011
2) Now add 1 to the LSB of this number
0 0 1 1 0 0
Arora Educator
2’s Complement
Q.2 – Obtain 2’s Complement of (1010100)2
Answer
To get 2’s complement of a binary number-
1) Find 1’s complement = 0101011
2) Now add 1 to the LSB of this number
0 1 0 1 1 0 0
Arora Educator
9’s Complement
Q.1. 9’s Complement of 45 is.? Arora Educator
9’s Complement of 45 is =
Subtracting each digit by 9
99 - 45 = 54
Q.2. Find 9’s Complement of BCD 45 is.? Arora Educator
9’s Complement of 45 is =
Subtracting each digit by 9
99 - 45 = 54
Now BCD of 54 is
5 = 0101
4 = 0100
= 0101 0100
Arora Educator
10’s Complement
Q.1. 10’s Complement of 455 is.? Arora Educator
10’s Complement of 28 is =
Subtracting each digit by 9
99 - 28 = 71 + 1 = 72
Now BCD of 72 is
7 = 0111
2 = 0010
Ans = 0111 0010