- Description
POS 408 Week 2 Individual: Home Utility Auditing Program
Assignment Preparation: Activities include watching the Lynda.com videos, independent student reading, and research.
- Watch “Declaring and Using Variables” of the Lynda.com “Visual Basic® Essential aTraining” video.
Assignment:
Design, implement, test, and debug a Visual Basic® Windows Forms (WinForm) program to create a simple home utility auditing program. Conform to my published VB coding standards.
The user should be able to do the following:
- Enter the cost per kilowatt-hour.
- Select a home appliance from a list of home appliances.
- Refrigerator
- Hair Dryer
- Deep Freeze
- Microwave
- Computer
- Toaster
- Enter the power needed in kilowatts (kW) for the selected appliance–the power rating.
- Enter the number of hours used per day for the selected appliance.
The program should do the following:
- Validate that the data entered has the correct format and is within a reasonable range.
- Calculate and display the cost for operating a home appliance when the “calculate” button is pressed.
Constraints: Use reasonable real-world appliance power ratings in kilowatts (kw); similar to those provided in materials. Note that a normal wall outlet can source up to 1.5 kw. Use common sense to evaluate your results; for example, your electric bill shouldn’t exceed your rent.
Design a GUI for the program that will be intuitive for a novice user.
Write the code for the program and test the results.
Zip the files of the project together.
Submit the zipped file.