Standards and conventions of the it community

Assignment Help Basic Computer Science
Reference no: EM131187031

Assignment Overview

For this assignment, you will write your first C++ application, called calcMileage. The goal of this program is to determine miles-per-gallon based on the number of miles driven and the number of gallons of gas you put in the tank.

Assignment InstructionsPart 1: Write, Run, and Test the Application

Use the code attached to this posting  to complete this part of your assignment. Be sure to test the application with a variety of values before you proceed to Part 2. The program produces accurate results with some numeric values but not with others. Note when the results are accurate and when they are not.

Part 2: Improve the Application

Based on the material in the study, modify the code to fix the accuracy problem. Be sure to comment and format the code.

Part 3: Describe the Application

After running your application and observing the results, write a 1-2 page paper in which you complete the following:

  • Define the variables in an application.
  • Define the expressions in an application.
  • Explain the data types in an application.
  • Discuss the cause of the inaccuracy in the original code and the approach used to fix the problem.

Ensure that your writing is professional and consistent with the standards and conventions of the IT community.

Reference no: EM131187031

Questions Cloud

Explain why a weighted competitive strength assessment : Draw a typical company value chain and briefly explain why the proficiency with which a firm performs the activities comprising its value chain matters. What is benchmarking and why is it a strategically important analytical tool? Explain why a weigh..
Discuss each of the ratios that you have identified : What is the general rule of thumb associated is ratio? How do you know if a ratio is improving or deteriorating? And what are some of the weaknesses or limitations of each ratio?
Homework assignment in electronic format : Please feel free to submit your homework assignment in electronic Format: WORD (preferred) or PDF documents.
How much income from the project should hubbard report : The contract price was $8.4 million. Hubbard estimated that the building would cost $5.4 million.- How much income from the project should Hubbard report in 2016?
Standards and conventions of the it community : Ensure that your writing is professional and consistent with the standards and conventions of the IT community.
What is kindle fire a tablet or something else : What is Kindle Fire - a tablet or something else? Who should Amazon target with the Kindle Fire - which customer segments are most promising and how would they use the product?
Recommend an approach for resolving the conflict : Consider a conflict that you or someone you know is currently experiencing at work. Using the conflict process and ethical consideration discussed in the text, recommend an approach for resolving the conflict.
Create an original and detailed training proposal : Create an original, detailed training proposal. This should include: A title and description of the program. A discussion of training methods to be used, and a rationale (justification) for using them, based on training theory
What production is needed to satisfy sales : A company has sales of 2,600 units.- There are 1,400 units of opening stock while the closing stock is planned to be 1,800 units. What production is needed to satisfy sales?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Show how the hodgkin-huxley fast subsystem depends

Show how the Hodgkin-Huxley fast subsystem depends on the slow variables: i.e., show how the nullcline moves as and are changed, and demonstrate the saddle-node bifurcation in which and disappear.

  What is the binary number which represents a decimal

What is the binary number which represents a decimal 4 and If a digital system has 5 inputs, how many possible input combinations are there?

  Discuss what normalization is and why it is important

Discuss what normalization is and why it is important. Normalize the database design in Module 2, and describe whether the tables are all normalized. Explain whether the tables satisfy the requirements of 1NF, 2NF, and 3NF.

  Describe how the deadlocks can be resolved

give at least two real life examples ( not related to a computer system invironment) of each of these concepts:deadlock, starvation, and race. describe how the deadlocks can be resolved.

  Give a diagram of the smallest network consistent with table

Suppose we have the forwarding tables shown in Table 4.12 for nodes A and F, in a network where all links have cost 1. Give a diagram of the smallest network consistent with these tables.

  What will be the values of h1 and h2

The ystem is using a 2x1 multiplexer (0.6ns delay) and k-bit tag comparator (k/10ns delay).Let H1 denotes hit latency for 2-way set associative cache and H2 denotes hit latency for direct mapped cache. What will be the values of H1 and H2.

  Why did you define and assign a sales area to your company

Why have Scheduling Agreements become so important for component suppliers serving manufacturers?

  What is the fox population predicted

The fox population in a certain region has an annual growth rate of 9% per year. In the year 2012, there were 21,600 foxes counted in the area. What is the fox population predicted to be in the year 2020? (Round your answer to the nearest whole nu..

  Create a balanced binary search tree using the read tree

create a balanced binary search tree using the read Tree algorithm

  The european monetary union and its european central bank

The European Monetary Union (EMU) and its European Central Bank (ECB) What is the EMU

  Provide explanation for why tablespace might have problem

Provide explanation for why your tablespace might have problem, and write at least two actions you can take to lessen the problem

  Recognize the programming constructs of functions

Use the skater you created for the Unit 4 assignment. Add 2 cones to the ice that the skater will skate around in a figure 8. See Exercise 6-2 Exercise 7 and 8 as an example. You will first check the skater's position and use that information in m..

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