Write an algorithm that converts a decimal number

Assignment Help Data Structure & Algorithms
Reference no: EM13325275

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

Reference no: EM13325275

Questions Cloud

Explain the jahn-teller theorem rank the compounds : Bearing in mind the Jahn-Teller theorem, rank the following compounds in terms of their degree of deviation from idealized octahedral structure: [Cr(CN)6]4-, [Cu(H2O)6]2+, and [Cr(OH2)6]3+. Explain your reasoning.
What is the direction of an electric field : What is the direction of an electric field that will balance the weight of a 3.7g plastic sphere that has been charged to -3.1nC ? Upward or Downward
Explain the reaction of sodium in excess water : Calculate the work (in kJ) when 1.70 moles of hydrogen gas are produced from the reaction of sodium in excess water at 298 K
Determine the airplanes acceleration : An airplane flies eastward and accelerates uniformly. At one position along its path it has a velocity of 28.9 m/s. Find the airplane\'s acceleration
Write an algorithm that converts a decimal number : Write an algorithm that converts a decimal number between 0 and 15 into its 4 bit unsigned binary representation.
Explain the ph curve for the titration : After completing th calculations below, sketch the PH curve for the titration of 30.0 mL of a 0.125M solution of a weak acid, HA(ka=1.3*10^-5) with 0.125 M KOH. indicate the pH at a) the beginning of the titration (o.o mL titrant) after the additi..
Calculate the numeric value for the horizontal force : Four charges of equal magnitude Q = 65 nC are placed on the corners of a rectangle of sides D1 = 25 cm and D2 = 10 cm. calculate the numeric value for the horizontal force in N
How many pressure sensors are there on a human : If the surface area of a human is 1.7 m^2 and each square inch of skin contains 75 pressure sensors
Explain what is the volume of the solution : 7.80 g of CuNO3 is dissolved in water to make a 0.720 M solution. What is the volume of the solution? Answer should be in mL.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Propose an efficient data structure

Propose an efficient data structure that may hold the tour operator's data using a normalization process. Describe each step of the process that will enable you to have a 2nd Normal Form data structure.

  Calculations on rows and columns of an array

Make a menu bar with a document menu that includes a Perform Action command and an Exit command. The Perform Action command calculates either the sum or the average of rows or columns in array and displays result in a message box.

  Empty stack

1. Suppose an initially empty stack S has performed a total of 25 push operations, 12 top operations, and 10 pop operations, 3 of which generated EmptyStackExceptions, which were caught and ignored. What is the current size of S?

  Discussion on data mining techniques

The tax authorities working for many governments are often confronted with challenge of detecting tax evasion and fraud. Suppose you work at income tax department.

  Creating an automated checkout program

A local department store employee you to create an automated checkout program to expedite customers in a hurry. The checkout line can only allow 5-products for any one purchase.

  Formula to compute number of address bus conductors

If an address bus needs to be able to address 8-devices, how many conductors will be needed? What if each of those devices also requires to be able to talk back to the I/O control device?

  Describe sorting algorithms and how they work

Describe sorting algorithms and how they work

  Lazy version of eager decision tree learning algorithm

Suggest a lazy version of the eager decision tree learning algorithm ID3. What are the advantages and disadvantages of your lazy algorithm compared to the eager algorithm.

  The warehouses the firm supplies retail outlets

DSS Inc. is an electronics company with production facilities located in Atlanta, Boston, and Chicago. Components produced at these facilities may be shipped to the firm's regional warehouses that are located in Edison and Fargo. From the warehouses ..

  Compiler to separate the numbers using dashes

write this code using structures.with writing the SSN in one line this ask the compiler to seperate the numbers using dashes.

  Creating application - two dimensional array

Make an application that either sums or averages rows or columns of a 2-dimensional array depending on user choices.

  Object identifier tree

Assume you worked for a United States based corporation that wanted to develop its own MIB for managing a product line. Where in the object identifier tree would it be registered?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd