Answer to Question #209380 in Algorithms for Dia

Question #209380

Convert -2116  to binary and represent it in Sign-and –Size code


1
Expert's answer
2021-06-29T00:12:11-0400

The given decimal value is -2116

Now, conversion of the decimal value to the binary is given below -

2 | -2116 |

2 | -1058 | 0

2 | -529 | 0

2 | -264 | -1

2 | -132 | 0

2 | -66 | 0

2 | -33 | 0

2 | -16 | 1

2 | -8 | 0

2 | -4 | 0

2 | -2 | 0

2 | -1 | 0

2 | 0 | -1

Now, we will write the remainders from the bottom

"(-2116)_{10}= 100001000100_2"

If decimal is positive then 0 and if it is negative then it will be 1.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS