Explore BrainMass

Two's Complement Binary to Decimal conversion

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

I need assistance in answering the following question:

What is the decimal value of "01111111111111111101111111111102" (in two's complement)?

© BrainMass Inc. brainmass.com October 25, 2018, 7:48 am ad1c9bdddf

Solution Preview

Consider a binary number consisting of N+1 bits, specified as below:
bN ... b2 b1 b0

It's decimal equivalent (considering it in two's complement representation) would be computed as shown ...

Solution Summary

Solution first considers a binary number consisting of N+1 bits, bN ... b2 b1 b0, and shows how its equivalent decimal value can be computed.

See Also This Related BrainMass Solution

Data Conversion (8-bits to decimal)

Q1) Using 5 bits to represent each number, write the representation of 7 and -7 in 1's complement, signed magnitude, and 2's complement integers.

Q2)Write the 6-bit 2's complement representation of -32.

Q3) Convert these decimal numbers to 8-bit 2's complement binary numbers
a. 102 b. 64 c. 33 d. -128 e. 127

Q4)If the last digit of a 2's complement binary number is 0, then the number is even. If the last two digits of a 2's complement binary number are 00 (e.g., the binary number 01100), what does that tell you about the number?

Q5 )without changing their values convert the following 2's complement binary numbers into 8-bit 2's complement numbers.
a. 1010 b. 011001 c. 1111111000 d. 01

Q6) Create table showing the decimal value of all 4-bit 2's complement numbers

View Full Posting Details