Perform the following operation for the binary equivalent of the decimal…

2018

Perform the following operation for the binary equivalent of the decimal numbers (−14)₁₀ + (−15)₁₀. The solution in 8-bit representation is:

  1. A.

    11100011

  2. B.

    00011101

  3. C.

    10011101

  4. D.

    11110011

Attempted by 10 students.

Show answer & explanation

Correct answer: A

First, convert -14 to 8-bit Two's Complement by inverting 00001110 and adding one to get 11110010. Next, convert -15 similarly to obtain 11110001. Add these binary numbers together to get 111100011, then discard the overflow carry bit. The final result is 11100011.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor