Aspire Faculty ID #11920 · Topic: NIMCET 2024 · Just now
NIMCET 2024

Given that numbers A and B are two 8 bit 2’s complement numbers with A = 11111111, B = 11111111. Then sum A + B is _________

Solution

2's Complement Addition (8-bit)

Given:

  • A = 11111111 → (−1)
  • B = 11111111 → (−1)

Sum: −1 + (−1) = −2

Convert −2 to 8-bit 2's complement:

  • +2 = 00000010
  • Invert = 11111101
  • Add 1 = 11111110

✅ Final Answer: 11111110

Previous 10 Questions — NIMCET 2024

Nearest first

Next 10 Questions — NIMCET 2024

Ascending by ID
Ask Your Question or Put Your Review.

loading...