Reference no: EM131503310
Project: Computer Hardware Purchase Company
Description
This program allows the user to select computer hardware and then calculates the total price of all the hardware selected.
IPO List
Input:
- Operating System
- Processor
- Accessories
- VGA Card
Process:
- Adds inputs
- Calculates price
Output:
- Summary of input choices
- Price of hardware build
Your goal is to refactor your Project two purchase calculator to use lists and functions. Spend some time examining the refactored sandwich builder project for ideas.
UI Requirements
Your final program must have the following:
- A Form object with an appropriate title
that is either locked or designed to resize dynamically.
- One or more text boxes that either read in string data that is concatenated with other data to create the final output or that require numeric input that is cast to a numeric data type to be used in the final cost calculation.
- At least one list box or combo box. (Be sure to have one checked by default.) Note that you may need to expand your options to make these make sense in your program.
- At least one checked list box.
- A button that calculates and displays the subtotal, tax, and total of the item, as well as any other necessary information.
- A button that clears all text boxes and resets radio buttons, checkboxes, and lists to their original settings.
- A button that closes the form and exits the program.
- One label that outputs the subtotal, tax, and total.
- One label that outputs a complete summary of the order in a grammatically correct sentence.
Planning Requirements
Your project must include a planning document that contains the following:
- A brief description of your project, including your theme. This should be very similar to the one used for Project 2.
- An IPO listing for the calculation button. This should also be similar to the one used for Project 2.
- A prototype of your GUI incorporating the new UI requirements.
- A complete list of every control needed, each with their type and name and a description of their purpose in your program.
- A list of all procedures (event handlers) and functions needed, each with a pseudocode or flowchart algorithm explaining what it will do. (See coding requirements for functions.)
- A desk check table with at least five test cases based on different option selections. These should be the same as for Project 2, unless points were deducted for not having a proper desk check table.
Coding Requirements
Your final code must have the following:
- Proper identifying comments, event handler comments, and function comments.
- Correctly named controls and variables. (No global variables allowed.)
- Error handling employed for any text required for output or converted to numbers.
- Proper repetition structures to handle the checked list boxes.
- Separate functions to calculate the subtotal, tax, and total. (See functions template.)
- Proper concatenation and casting as needed.
- Monetary values rounded to dollars and cents.
Attachment:- Project Planning Document.rar
Attachment:- Computer Hardware Project.zip