In 8-bit oneβs complement, a leading 1 indicates a negative number. To find its magnitude, invert all bits and read the result as an unsigned binary number. Inverting 10011001β gives 01100110β, which equals 64 + 32 + 4 + 2 = 102. Therefore, 10011001β represents β102 in oneβs complement.
Option A:
Option A is correct because oneβs complement encodes βX as the bitwise inversion of +X. Since 10011001β inverts to 01100110β (= 102), the represented value is β102.
Option B:
Option B (β104) would require the inverted magnitude to be 104 (01101000β). But the inversion here is 01100110β (=102), so it cannot be β104.
Option C:
Option C (β127) is the most negative magnitude possible in 8-bit oneβs complement and corresponds to inverting 01111111β. The given pattern does not invert to 127, so this is incorrect.
Option D:
Option D (β128) is not representable in 8-bit oneβs complement (the range is β127 to +127, with both +0 and β0). Hence β128 cannot be the answer.
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!