Difficulty: Easy
Correct Answer: 01
Explanation:
Introduction / Context:
In digital logic, the 1's complement of a binary value is obtained by flipping every bit: zeros become ones and ones become zeros. It is a foundational operation in binary arithmetic, checksums, and two's-complement negation steps.
Given Data / Assumptions:
Concept / Approach:
Apply inversion to each bit independently. For a two-bit pattern, the left bit and right bit are processed the same way: 1 becomes 0, 0 becomes 1.
Step-by-Step Solution:
Verification / Alternative check:
Using logical NOT (~) at the bit level confirms: ~(10₂) = 01₂ when the width is fixed at two bits.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
01.
Discussion & Comments