In two's complement, zero is represented by the all-zeros pattern regardless of the word length. This representation is unique and avoids the issue of having both positive and negative zero. Thus, 0 is encoded with every bit equal to 0.
Option A:
Option A reflects the fundamental convention that the all-zeros combination corresponds to numeric zero. This property simplifies arithmetic and comparisons in digital systems.
Option B:
Option B, all bits 1, represents β1 in a two's complement system, not zero. This is because it is the result of complementing 0 and adding 1.
Option C:
Option C, sign bit 1 and others 0, denotes the most negative number (e.g., β128 in 8-bit two's complement) rather than zero.
Option D:
Option D, an alternating 10 pattern, does not have any special meaning for zero and represents a non-zero value.
Comment Your Answer
Please login to comment your answer.
Sign In
Sign Up
Answers commented by others
No answers commented yet. Be the first to comment!