171k views
3 votes
Assume each value below shows an integer in 2's complement representation in 2, 4, 8, and 16 bits length. Convert each binary number to decimal.

User Rambles
by
8.0k points

1 Answer

3 votes

Final answer:

To convert binary numbers to decimal, we can assign each bit a place value starting from the right and sum up the values. The decimal equivalent of the given binary numbers is as follows: In 2 bits: 10 → (-2), In 4 bits: 0100 → (4), In 8 bits: 00100011 → (35), In 16 bits: 0000000010000011 → (131).

Step-by-step explanation:

  1. Conversion of binary numbers to decimal:
    1. In 2 bits: 10 → (-2)
    2. In 4 bits: 0100 → (4)
    3. In 8 bits: 00100011 → (35)
    4. In 16 bits: 0000000010000011 → (131)

User Limitless Isa
by
7.7k points