Write an algorithm that converts a decimal number between 0


For the problem you choose, complete the problem solving process discussed in class. You should submit written evidence of the process in the form of: a list of assumptions you've made to clarify the problem, an IPO chart, an algorithm and documentation of your testing.

1. Write an algorithm that converts a decimal number between 0 and 15 into its 4 bit unsigned binary representation.

2. Write an algorithm that converts a linear measurement in feet and inches into meters. One inch is equivalent to 2.54 centimeters.

Complete the problem solving process discussed in class for the problem you choose. Your solution must use a selection control structure. You should submit written evidence of the process in the form of: a list of assumptions you've made to clarify the problem, an IPO chart, an algorithm and documentation of your testing.

3. Write an algorithm that converts a decimal number between 0 and 15 into its hexadecimal representation.

4. Write an algorithm that can be used to calculate the commission earned in a real estate transaction. The chart below describes the formulas used to calculate the commission.

2269_ASSIG 1.png

5. Write an algorithm that can be used to calculate car insurance rates. Rates for male drivers and young female drivers are determined by adding a surcharge to the rate for female drivers over age 25.

1508_ASSIGN 2.png

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Write an algorithm that converts a decimal number between 0
Reference No:- TGS0663943

Now Priced at $40 (50% Discount)

Recommended (91%)

Rated (4.3/5)