Write an algorithm that converts a decimal number

Assignment Help C/C++ Programming
Reference no: EM13186409

Each person in your team will complete:

One sequence problem (problem 1 or 2).
One selection problem (problems 3, 4, or 5)

Each team member should choose a different pair of problems.

When you are finished you will submit a single file containing all of your answers to moodle. This file can be in .doc, .docx (Word) or .rtf (WordPad) format. Don't spend a lot of time making pretty tables. For the IPO charts you don't necessarily need to use a table. You can list the three sections one above the other on the page:

Example: IPO chart
Input
firstNumber
secondNumber
Processing
Get numbers to add
Add numbers together
Display sum
Output
sum

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.

Reference no: EM13186409

Questions Cloud

How much will deposits in the commercial banks change : The Federal Reserve has just purchased $100 million in Treasury bills from commercial banks. b. If the public holds a fixed amount of currency (so that all loans create an equal amount of deposits in the banking system), the minimum reserve ratio ..
State account for the trend of melting points : How do you account for the trend of melting points in this series of acids? octanoic (caprylic) C8H16O2 at 17.5 degrees C, decanoic (capric) C10H20O2 at 31.5 degrees C, dodecanoic (lauric) C12H24O2 at 44 degrees C, tetradecanoic (myristic) C14H28O..
State the operations manager of a large production plant : The operations manager of a large production plant would like to estimate the mean amount of time a worker takes to assemble a new electronic component. Assume that the standard deviation of this assembly time is 3.6 minutes.
What happens to output if transfers are increased by 100 : This question considers a closed economy Keynesian model that is augmented to include transfers payments to consumers (Tr = Transfers) that increase consumers' disposable incomes and lower government savings. a) Suppose you had the following c..
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 and write an algorithm that converts a linear measurement in feet and inches into meters. One inch is equivalent to 2.54 centimeters.
Find the boiling point of water : celsius absorbs 281kJ of heat from a mountain climber's stove at an elevation where the boiling point of water is 89 degrees celsius, how many kJ are required to boil the water?
Determine the increase in the price of peanut butter : what will happen to equilibrium quantity od peanut butter traded in the market after the 30% increase in the price of peanut butter? stay the same, increase, decrease, or not enough information to tell what will be the expected change in the quant..
Compute the equivalent mass of p2o5 : sample of fertilizer by the procedure of this experiment and obtain 1.000g of MgNH4PO4 * 6H20. Calculate the equivalent mass of P2O5 initially in the sample.
Find the periodic payment required to amortize a loan : Find the periodic payment required to amortize a loan of $227,000 over 360 months with interest charged at the rate of 8(1/8)%/year compounded monthly.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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