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)10 + (−15)10

The solution in 8 bit representation is :

  1. A.

    11100011

  2. B.

    00011101

  3. C.

    10011101

  4. D.

    11110011

Attempted by 522 students.

Show answer & explanation

Correct answer: A

Solution: compute using 8-bit two's complement.

  • Convert -14 to 8-bit two's complement: 14 = 00001110 → invert → 11110001 → add 1 → 11110010. So -14 = 11110010.

  • Convert -15 to 8-bit two's complement: 15 = 00001111 → invert → 11110000 → add 1 → 11110001. So -15 = 11110001.

  • Add the two binary numbers: 11110010 + 11110001 = 11100011. When using two's complement, ignore the carry out of the most significant (8th) bit.

  • Interpret the result: 11100011 is negative. Invert → 00011100, add 1 → 00011101 which is 29, so the result is -29. This matches -14 + -15 = -29.

  • Final 8-bit two's complement representation: 11100011.

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

Explore the full course: Nta Ugc Net Paper 1