Difficulty: Medium
Correct Answer: -27
Explanation:
Introduction / Context:
Two's complement is the standard representation for signed integers in modern digital systems. Interpreting an 8-bit two's complement binary number requires identifying whether it is positive or negative, and then decoding it properly.
Given Data / Assumptions:
Concept / Approach:
In 2's complement, the most significant bit (MSB) is the sign bit. If MSB = 0, the number is positive and interpreted directly. If MSB = 1, the number is negative, and its magnitude is obtained by inverting all bits and adding 1.
Step-by-Step Solution:
Verification / Alternative check:
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Discussion & Comments