List the complete reference-source information

Assignment Help Basic Computer Science
Reference no: EM13208218

1) List the complete reference-source information for where you found the EIA standard resistor value and tolerance information. 2) How was this reference discovered and where? 3) The constructor requires the initialization values for the nominal resistance and the tolerance when an object is instantiated to be a correct E-series resistance and tolerance combination. Describe how this was accomplished in your program design and implementation. 4) In the lab, you were required to provide mutator functions to change the nominal-resistance and tolerance values of a resistor object. Describe how this was accomplished so that the user could not enter an invalid nominal-resistance and E-series tolerance combination. 5) Describe how this process was different and/or similar to how you implemented this validation in the class constructor. i L A B S T E P S STEP 1: Create a Multifile Project: Back to top Objective: Create a C++ console application that will model the characteristics of a resistor. Create a multifile project. Create and add to the project an h file containing the resistor-class definition. Create and add to the project a cpp file containing the implementation of the class-member functions. Create and add to the project a ccp file containing the main() function, which will instantiate a resistor object and test its member functions. STEP 2: Required Class Members Back to top The resistor class will, at minimum, have members that do the following. store the nominal resistance value of a resistor store the tolerance of a resistor initialize any and all nominal-resistance values to correct, EIA, nonzero values that are greater than 0 and less than 1,000,000 ohms initialize any and all resistance-tolerance values to correct, E12, E24, E48, or E96 resistance-tolerance values allow the nominal-resistance and tolerance values of a resistor object to be changed by the user All member functions should have a test message stating the name of the function. All the test messages should be displayed or not displayed, depending on the value of a Boolean variable declared in main(). If the Boolean value = true, display the message. If the Boolean value = false, do not display the message. STEP 3: Program Operations Back to top Function main() should instatiate two objects of class resistor. Function main() should display the current values of all resistor objects. Function main() should also calculate and display the minimum and maximum in-tolerance resistance values of each resistor object from the resistor data members. Function main() should allow the user to change the values of the nominal resistance and the resistor tolerance of both resistor objects, and it should also correctly handle out of numeric-range input. Main() is also responsible for making sure that the user can successfully enter only correct, EIA resistance and tolerance values. The user should be given the following data-entry choices: accept current EIA values for resistance and tolerance; The function main() should display the new, modified values of the resistor object, including the new min and max in-tolerance resistance values. The function main() should be executed twice: once with the test messages displayed and once without.

Reference no: EM13208218

Questions Cloud

The maximum work that can be obtained from the expansion : An ideal gas at 300 K has an initial pressure of 15 bar and is allowed to expand isothermally to a pressure of 1 bar. Calculate: the maximum work that can be obtained from the expansion
Create a new group called mygroup : Directions: As you complete each of the following steps, keep track of what occurs at each point, including what you type, the output given, and if you experience any errors.
Why can workers with high incomes expect negative returns : Suppose the real rate of growth of wages subject to Social Security taxes is expected to average 1% per year during the next 40 years. Assume that the Social Security tax rate remains constant, and prove that the average return on Social Security ..
Explain synthesize benzocaine from benzene : synthesize benzocaine from benzene. please explain in detail in only three steps how to achieve this reaction. list NMR, MS and IR peaks for each step.
List the complete reference-source information : List the complete reference-source information for where you found the EIA standard resistor value and tolerance information. 2) How was this reference discovered and where?
How do health care providers control expenditures for health : Use the supply and demand analysis to show how the limit on the amount of reimbursement is not the only effective way to decrease expenditures for health care if health care providers succeed in increasing the demand.
Given the dimensions of a crate : Given the dimensions of a crate (side 1, side 2, and side 3), find the largest surface area it can provide when used as a table. A test case provided is if side 1, side 2, and side 3 are 1, 2, and 3, respectively, the largest surface area is 6. Ca..
Explain what is the rate constant for the reaction : What is the value of the frequency factor A for this reaction? What is the rate constant for the reaction at 350 degrees celcius?
Illustrate the choice that each person will make : janelle aand brian each plan to spend $20,000 on the styling and gas mileafe features of a new car. They can choose all styling, all gas mileage, or som combination of two. Janelle doesnot care at all about styling and want the best gas mileage po..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What would be the ieee 754 single precision binary represent

What would be the IEEE 754 single precision binary representation of the floating point value -314159265.3589? Express your final answer as an 8-hexdigit number and explain how your answer was obtained for full credit

  Limit approach to determine the order

Use the limit approach to determine the order for g(n) = n^J and f(n) = n^k, where k > j > 2

  Case of healthy people pharmacy

Consider the case of Healthy People Pharmacy. Healthy People Pharmacy is a small town pharmacy that not only sells pharmaceuticals but also sells items ranging from milk to socks

  Write sequence of statements-find first comma in string line

Write down sequence of statements which finds first comma in the string line, and assigns to variable clause portion of line up to, but not including comma.

  create a version of a carnival game

assignment, your job is to create a version of a carnival game in which mechanical dogs race along a track. The racing game is called DogTrack. DogTrack is also the name of the java source file you must submit to complete the assignment. The DogTrack..

  Create a time trial program to compare the average execution

Create a time trial program to compare the average execution times of the Formula Node and the native LabVIEW Math Functions. This program will rquire a For Loop, a Flat Sequence structure, and a Case structure. The For Loop is required to run the ti..

  Explaining geographical information systems

Considering this, explain in scholarly detail some suitable examples of geographical information systems and how they are utilized in supporting both marketing and sales.

  You are a systems development consultant

You are a systems development consultant who has been approached by a client, a law firm, to develop an automated case tracking system. The first step is to negotiate the project scope

  Designing a 4-to-16 decoder using not gates

Draw 4-to-16 decoder by using components. You must not use any extra components.

  Design an application to take and process a pizza order

Design an application to take and process a pizza order. The user should be able to make pizza order choices from listboxes, and the application should display the order price.

  Solve this problem with solution :homogeneous coordinates

solve this problem with solution :homogeneous coordinates

  Determine minimum number of element

We wish to find the element x that is in upper half when S is sorted, or in other words element which is greater than median. Determine the minimum number of element comparision required to solve problem ?

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