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

  Implement a method to delete every node

Call the structure for the nodes of the tree WordNode, and call the references in this structure left and right. Use Strings to store words in the tree. Call the class implementing the binary search tree WordTree.

  Binary search tree adt

Write a client method that returns a count of the number of nodes in a binary search tree that contain a value less than or equal to the argument value.

  Question about unix and shell scripting

Explain the results of executing each of the following grep commands in your home directory.

  Karatsuba''s divide-and-conquer algorithm

In class we discussed Karatsuba's divide-and-conquer algorithm for integer multiplication, which multiplies n-bit numbers by recursively multiplying n bit numbers. We take two numbers X and Y and split them each into their most significant half a..

  Efficient algorithm to achieve goal using few base stations

Certain points along the road, so that every house is within four miles of one of the base stations. Give an efficient algorithm that achieves this goal using as few base stations as possible.

  Creating sql statements

Create three SQL statements: the 1st statement should add pending amounts to appropriate accounts, the second statement should subtract the pending amounts from appropriate accounts,

  Characteristics of quicksort

familiarize  with the performance characteristics of Quicksort under normal and worst case conditions. The assignment will require some programming and interpretation of the results.

  Determine effective transfer rate

Assume a network transmits 1024 byte packets having a 128-byte header and a four byte checksum. If a workstation on the network is guaranteed to be able to transmit one packet every x time units,

  Comparison of the applicability of array

Data structures include: 1. a linked list, 2. an ordered, one dimensional array, and three. a binary tree. Assume the list of letters R, A, N, B, C, F, X and G are stored in a list.

  Design a linked list structure

Design a linked list structure Music that contains data fields Name, Artist, Number_of_Songs, and a pointer to the list. Design the structure with three members and fill in data for each member.

  Create an er diagram

Create an E-R diagram with all appropriate notation for the following condition. In a particular fruit growing region there are a number of orchards.

  Contents of registers for independent memory-reference

Find out the contents of registers PC, AR, DR, AC, and IR for two independent memory-reference instructions below. Each instruction starts with given Initial values.

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