Difficulty: Easy
Correct Answer: 00011001
Explanation:
Introduction / Context:
One's complement is an earlier method of representing signed numbers. It is also a useful digital operation for bit manipulation, where each bit is inverted. This question reinforces knowledge of bitwise inversion.
Given Data / Assumptions:
Concept / Approach:
1's complement means flipping every bit: 1→0 and 0→1. This gives the bitwise NOT of the binary number.
Step-by-Step Solution:
Verification / Alternative check:
Check bit counts: original has 5 ones, complement has 3 ones. Together, all 8 bits covered.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Discussion & Comments