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

  Create the users for the sales organization unit

Explain how you would create the users for the sales organization unit and how you can set up work groups in this particular situation

  Write an overloaded lineup method

The players in a line-up must be unique. Write an overloaded LineUp method that writes a line-up to an output stream.

  Methods for information systems can become vulnerable

While word weakness seems to define it pretty well, there are a number of mthods that information systems can become vulnerable.

  How frequently should run maintenance on equipment

With one network operating system (NOS) running on routers and switches, there can be elimination of third party vendors which service. So actually how frequently would they require to run maintenance on their equipment?

  Determine smallest value of x for which is safe state

System has 4 processes and 5 allocatable resources. The current allocation and maximum needs are as follows: Determine the smallest value of x for which this safe state.

  Social policy and debate regarding children and technology

See Supreme Court Rules for more information. If Winner's three guiding maxims were utilized, how would this influence social policy and debate regarding children and technology?

  Secure windows-unix-linux servers from known shortcoming

The CIO has asked you to explain why you suggest it is so significant to secure your Windows and Unix/Linux servers from known shortcomings/vulnerabilities.

  How management use smith systems consulting as outside

How Boardman Management Group should utilize Smith Systems Consulting as an outside consultant for this project. Include a discussion of why the specific elements of your plan are important.

  Weighted probabilities for x86 processors

Create a procedure that receives a value N between 0 to 100. When the procedure is called, there should be a probability of N/100 that it clears the Zero flag. Write a program that asks the user to enter a probability value 0 to 100.

  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

  Determine the monthly charges for checking accounts

The following criteria is to be used: Balance > or = 100.00 will not be charged fees Balance

  Innovation to optimize system power cost

Would you adopt this innovation if metric you were attempting to optimize was system power x cost? Suppose a defect density of 0.4/cm2, an alpha of 4, and a wafer of diameter 30cm.

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