Which one of the given options is correct for the below given binary subtraction?
Qualcomm technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Which one of the given options is correct for the below given binary subtraction?
10101101 – 10101111 = ?
Show answer & explanation
When subtracting 10101111 from 10101101, the minuend (10101101 = 173 in decimal) is smaller than the subtrahend (10101111 = 175 in decimal), resulting in a negative number. The result is –2, which in two's complement representation would be negative. Since the subtraction produces a negative value, option D is correct.
Step-by-step Derivation:
Step 1: Convert to decimal for clarity.
10101101 (binary) = 173 (decimal)
10101111 (binary) = 175 (decimal)
Step 2: Perform the subtraction.
173 – 175 = –2 (negative result)
Step 3: Verify using binary subtraction with borrow.
When we attempt 10101101 – 10101111:
- Starting from the right (LSB), at position 0: 1 – 1 = 0
- Position 1: 0 – 1 requires borrow, becomes 10 – 1 = 1
- Continuing this process shows that the minuend is insufficient.
- The result is negative.
Conclusion: Option A is incorrect (wrong magnitude and sign). Option B is incorrect (answer can be determined). Option C is incorrect (result is negative, not positive). Option D is correct (the answer is indeed a negative number).