Tip:A–D to answerE for explanationV for videoS to reveal answer
Consider a 9-bit representation. Which of the following correctly gives the smallest number that can be represented in:
(i) 1's complement,
(ii) 2's complementsa
- A.
(i) -256, (ii) -255
- B.
(i) -255, (ii) -255
- C.
(i) -256, (ii) -256
- D.
(i) -255, (ii) -256
(Correct Answer)
Correct Answer: (i) -255, (ii) -256
Explanation
Solution
Correct Option: (A) (i) −255, (ii) −256
1. 1's Complement Smallest Number
The formula for the smallest number in n-bit 1's complement is:
For n=9:
2. 2's Complement Smallest Number
The formula for the smallest number in n-bit 2's complement is:
For n=9:
Final Equation
Minimum Value (1’s Comp)=−(28−1)=−255
Minimum Value (2’s Comp)=−28=−256