Explore BrainMass
Share

Convert decimal number representation to different forms

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

If possible, convert the decimal number 39

a. to 7-bit signed-magnitude form.
b. to 7-bit 2's-complement form.
c. to BCD form.
d. to ASCII form. (For this part, consider "39" to be a string.)

If any of these conversions is not possible, clearly explain why this is the case.

© BrainMass Inc. brainmass.com March 21, 2019, 7:45 pm ad1c9bdddf
https://brainmass.com/computer-science/programming-languages/convert-decimal-number-representation-to-different-forms-306570

Solution Preview

Conversion of the decimal number 39 to different formats is as given below.

a. Since magnitude 39 can be represented in 6 bits as (100111)base2, hence the decimal number 39 can be represented in 7-bit ...

Solution Summary

This solution helps convert decimal numbers.

$2.19