Question:

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 complement?

Show Hint

In 1's complement, the smallest number is \( -(2^{n-1} - 1) \), while in 2's complement, it is \( -2^{n-1} \).
Updated On: Oct 7, 2025
  • (i) -256, (ii) -255
  • (i) -255, (ii) -255
  • (i) -256, (ii) -256
  • (i) -255, (ii) -256
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understand 1's complement and 2's complement representations.
- In 1's complement, the smallest number that can be represented in an \( n \)-bit system is \( -(2^{n-1} - 1) \).
- In 2's complement, the smallest number that can be represented is \( -2^{n-1} \).

Step 2: Apply to the 9-bit representation.
For a 9-bit representation:
- In 1's complement, the smallest number is \( -255 \) (since \( 2^{8} - 1 = 255 \)).
- In 2's complement, the smallest number is \( -256 \) (since \( -2^{8} = -256 \)).

Step 3: Conclusion.
Thus, the correct answer is (d) (i) -255, (ii) -256.

Was this answer helpful?
0
0

Questions Asked in NIMCET exam

View More Questions