Consider the following statements about the range of numbers in a $9$-bit $1$'s complement and $2$'s complement system.
I. In $9$-bit $1$'s complement, the range is $-255$ to $+255$, and there exist two representations of zero.
II. In $9$-bit $2$'s complement, the range is $-256$ to $+255$, and both $1$'s complement and $2$'s complement can represent exactly $512$ unique values.
III. The maximum positive number representable is $+255$ in both $1$'s complement and $2$'s complement $9$-bit systems.
Identify the CORRECT option.
For $9$-bit $1$'s complement, the range is
$-(2^{8}-1)$ to $+(2^{8}-1)$
$=-255$ to $+255$
Also, in $1$'s complement, there are two representations of zero: positive zero and negative zero.
So, statement I is correct.
For $9$-bit $2$'s complement, the range is
$-2^8$ to $2^8-1$
$=-256$ to $+255$
But $1$'s complement does not represent exactly $512$ unique values because zero has two representations.
So, statement II is incorrect.
The maximum positive number in both systems is
$+255$
So, statement III is correct.
Therefore, statements I and III only are correct.
For an n-bit system:
(9-bit means sign + 8 magnitude bits.)
An 8-bit number in 2's complement form can represent values from \(-2^{n-1}\) to \(2^{n-1} - 1\).
Smallest value = \(-2^{8-1} = -2^7 = -128\)
The smallest integer that can be represented by an 8-bit number in 2's complement form is: -128
Total Bits: 16
Format: 1 sign bit + 15 magnitude bits
0111 1111 1111 1111(2) =
+32,767
1000 0000 0000 0000(2) =
−32,768
✅ Final Answer:
Minimum = −32,768
Maximum = +32,767
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.