MCQ On Complements 1s, 2s, 9s,10s
Q1. The 1’s complement of binary number 101011 is.
- 010100
- 010101
- 110100
- 101100
Answer: a, 010100
Solution:
1’s complement = invert all bits (1->0, 0->1)
101011 -> 010100
Q2. The 2’s complement of binary number 101011 is.
- 010101
- 010100
- 010101 + 1
- 010101
Answer: d, 010101
Solution:
1's complement = 010100
Add 1 -> 010100+1 = 010101
Q3. The 2’s complement of 0000 in a 4-bit system is.
- 0000
- 1111
- 1000
- Not defined
Answer: a, 0000
Solution:
0000 -> 1's complement = 1111
2's = 1111+1 = 10000
For 4-bit system = 0000 (discard carry)
Q4. Which of the following represents ?5 in 2's complement (4-bit system)?.
- 0101
- 1011
- 1101
- 1001
Answer: b, 1011
Solution:
+5 = 0101
1's complement -> 1010
2's complement -> 1010 +1 = 1011 (-5)
Q5. Which statement is TRUE about 1’s and 2’s complement?.
- 1’s complement has only one zero
- 2’s complement has two zeros
- 1’s complement has two zeros
- 2’s complement has two representations of zero
Answer: c, 1’s complement has two zeros
Solution:
1's complement has +0 (0000) and ?0 (1111)
2's complement has only one zero
Q6. The 7's and 8's complement of octal number 356 is.
- 421, 422
- 401, 402
- 432, 444
- 311, 434
Answer: a, 421, 422
Solution:
7's complement = subtract each digit from 7
777-356 = 421
8's complement = 7's complement + 1 = 421 + 1 = 422
Q7. The 8's complement of 000 in octal is.
- 000
- 777
- 1000
- Not possible
Answer: a, 000
Solution:
8's complement = 7's complement + 1
7's complement of 000 = 777
8's complement = 777+1 = 1000
Since we are working with the same number of digits (3 digits), the extra carry is discarded.
Final result = 000
Q8. The 9's and 10's complement of decimal number 385 is.
- 614, 615
- 624, 616
- 615, 614
- 514, 617
Answer: a, 614, 615
Solution:
9's complement = subtract each digit from 9
999-385 = 614
10’s complement = 9’s complement + 1
614 + 1 = 615
Q9. If the 9’s complement of a number is 246, the number is.
- 753
- 654
- 764
- 864
Answer: a, 753
Solution:
Original digit = 9 ? complement = 9-246 = 753
Q10. Which complement is used for subtraction in binary systems?.
- 1’s complement
- 2’s complement
- 7’s complement
- 9’s complement
Answer: b, 2’s complement
Solution: Binary subtraction is efficiently performed using 2’s complement.
Q11. General rule: r's complement is obtained by.
- (r-1)'s complement + 1
- r's complement - 1
- r's complement + 1
- r - number
Answer: a, (r-1)'s complement + 1
Solution:
r's complement = (r-1)'s complement + 1
- 2's = 1's + 1
- 8's = 7's + 1
- 10's = 9's + 1