In this homework, you will design a program to perform the following task:
Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts. For example, Windows 7, Windows 8 or Mac OS/X for Operating systems, 4 GB, 8 GB or 12 GB for RAM and 15",17" or 22" Monitors.
There are 5 components of your submission including:
- Program Description- A detailed, clear description of the program you are building.
- Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. You should talk about how you determined your computer part prices.
- Test plan - Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
- Flowchart - Provide a flowchart for your design. You can use Word, Powerpoint, Visio or any software you have available that will allow to draw shapes and connectors.
- Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project
- C -Code Provide the C code of the overall design that fulfills the requirements of the project
All of these components should be placed in word document for submission.
Additional details about the program you need to write:
- You should research current prices of the computer parts on Internet sites such as amazon.com or newegg.com.
- You can assume a computer will consist of the following components:
CPU
Case
Power supply
Motherboard
Hard Drive
RAM
DVD
Sound Card
Monitor
Graphics Card
Operating System
I would recommend you keep the option choices limited to 3 different components, or your program will really grow fast. For example, you could provide options for the Operating System (Windows 7, Windows 8 or Mac OS/X), the RAM (4 MB, 8 MB, 12 MB) and the Hard Drive Size (500 GB, 1 TB, 1.5 TB) and leave everything else as a baseline. These are just examples. I leave it up to you to determine which components you want the user to select options. Be sure your prices are realistic.