Project #12021 - Selection statements

Assignment 2 (13%): Selection statements

In this assignment, you will design a program to perform the following task:

Calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from components available on the internet.

Before attempting this exercise, be sure you have completed all of chapter 3 and course module readings, participated in the weekly conferences, and thoroughly understand the examples throughout the chapter.   As before, there are 3 main components of your submission including the problem analysis, program design and documentation, and sample test data.

1. Using a similar approach as subtopic 3.6 (textbook page 147): “A new Car Price Calculator”, provide your analysis for the following problem statement: You need to write a program that will calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from newegg.com. You will need to conduct some analysis on newegg.com (or amazon.com) regarding the possible options and prices to be considered. However; assume the 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, Red Hat Linux), 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. I leave it up to you to determine which components you want to add options for and for researching the approximate prices. Be sure your prices are fairly realistic.

Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Be sure to include what is the required output? What is the necessary input 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.

 

2.   Using a similar approach as subtopic 3.6 (textbook page 147): “A new Car Price Calculator”, provide your program design for the program you analyzed for calculating the total price of your gaming computer.  Be sure to describe the fundamental tasks (i.e., things your program must do) needed to solve the problem so you can use a modular design. Provide pseudocode of your overall design that includes the Main module and the order of the module calls (see page 148 for an example) and a Hierarchy chart for the computer price calculator (see figure 3.8 page 148). Finally, list all of your pseudocode for each module. (See pages148-151 as an example.)

 

Include header and step comments in your pseudocode, using a similar approach as the example provided in section 2.3 (textbook page 86). See example 2.8 on pages 88). 

 

3.   Prepare at least 5 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 was shown in Assignment 1. Be sure that you provide expected output for each test case. 

Submission requirements:

Your completed assignment should be saved as Word document and submitted to your WebTycho assignment area no later than the due date listed in the syllabus. Your document should be neat, well-written with minimal grammatical and spelling errors. Your name should be clearly listed on the first page along with the class/section, professor and due date. Your document should contain page numbers at the bottom of each page. Single or double space line formatting is acceptable.

You should name the file yournamehw2.docx (or yournamehw2.doc). So if my name was Julie Smith, I would name my document juliesmithhw2.docx.

An example HW2.doc template file containing the required sections is included in the available resources. You should use this document to start your writing and fill in all of the details required. 

Subject Computer
Due By (Pacific Time) 09/08/2013 06:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy