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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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