Question

Convert -11310 to an 8-bit two’s complement binary integer. Please explain the steps.

Convert -11310 to an 8-bit two’s complement binary integer.

Please explain the steps.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The task asked in the question is a very basic task to convert a given decimal into its 2's complementary binary representation.

Well to convert any binary representation to 2's complement, we have to first reverse all the 1's to 0's and 0's to 1's. After doing this we have to add 1 to the new reversed binary number. The resultant will be our result.

So binary representation of 11310 ---> 10110000101110

So to convert a decimal into a binary we just recursively divide the decimal with 2 and note the remainder (either 1 or 0) and finally write the whole remainder series in reverse.

for eg

Decimal number = 7

7/2 remainder = 1

3/2 remainder= 1

and then the final quotient is also 1

So writing the series in reverse order we get = 111

So after getting the binary representation of 11310 which is 10110000101110 we reverse the digits (0-->1 and 1-->0)

S0 new representation = 01001111010001

and then finally add 1 to it So the 2's complement is 01001111010010

So the 2's complement of -11310 is = 01001111010010

Add a comment
Know the answer?
Add Answer to:
Convert -11310 to an 8-bit two’s complement binary integer. Please explain the steps.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT