Let A = (11111010)2 and B = (00001010)2 represent numbers in 2's complement…

2025

Let A = (11111010)2 and B = (00001010)2 represent numbers in 2's complement and stored as 1 byte. The product of A and B in 2's complement is

  1. A.

    (1001 1100)2

  2. B.

    (1010 0101)2

  3. C.

    (1100 0100)2

  4. D.

    (1101 0101)2

Attempted by 104 students.

Show answer & explanation

Correct answer: C

First, convert the binary numbers to decimal. A = 11111010 is -6 in 8-bit 2's complement. B = 00001010 is +10. The product is -6 × 10 = -60. Next, convert -60 to 8-bit 2's complement. The magnitude 60 is 00111100. Inverting gives 11000011, and adding 1 yields 11000100.

Explore the full course: Isro