Question: Write down the algorithms to convert binary to decimal and decimal to binary. Make sure your instructions have a clear starting point and stopping criteria.

Write down the algorithms to convert binary to decimal and decimal to binary. Make sure your instructions have a clear starting point and stopping criteria. (My instructions above don't give you a clear stopping point....so when DO you stop dividing by 2, or subtracting powers of 2?)
a. write (in english) the steps needed to convert a binary number to a decimal number. Assume you have 32-bit unsigned binary numbers to convert.
b. write (in english) the steps needed to convert a decimal number to a binary number. Assume the result should be a 32 bit unsigned number.
c. write (in english) the steps needed to get the 2's complement (negative) of a
 Write down the algorithms to convert binary to decimal and decimal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!