Posted by Josh on .
I have this assignment due tonight in about 2 and a half hours. I am going to try to finish it the best that I can but I do not know if I will be able to. I really am stuck. I have no idea where to even start on this. Can somebody please help?!
• Read the following scenario:
You are an accountant setting up a payroll system for a small firm. Each line of the table in Appendix G indicates an employee’s salary range and corresponding base tax amount and tax percentage. Given a salary amount, the tax is calculated by adding the base tax for that salary range and the product of percentage of excess and the amount of salary over the minimum salary for that range.
• Design a program that solves this problem.
• Generate a set of input test values.
• Perform a design walkthrough to verify your design
Appendix G:
Axia College Material
Appendix G
Sequential and Selection Process Control Structure
In the following example, the second line of the table specifies that tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00.
Salary Range in Dollars Base Tax in Dollars Percentage of Excess
1. 1 0.001,499.99 0.00 15 %
2. 2 1,500.002,999.99 225.00 16 %
3. 3 3,000.004,999.99 465.00 18 %
4. 4 5,000.007,999.99 825.00 20 %
5. 5 8,000.0014,999.99 1425.00 25 %
Here is something we used on our last assignment but I am not sure if it applies to this one:
SystemLevel Requirements Example
Consider the Paint the Room program, in which you developed what are often called systemlevel requirements—the basis for all subsequent analysis and design steps. The following steps will take these systemlevel requirements and refine them into a detailed blueprint for the program.
Up to this point, you have identified the processes the program must perform, but you have not given any consideration to exactly how the processes work together to solve the problem. At this point, you must generate a description of the processing using pseudocode, a natural language description of the processing the application must perform.
The natural place to start is the systemlevel requirements you identified in the InputProcessOutput (IPO) chart. Determine how the processes work together: Once you have determined the toplevel logic, you can then design each of the individual processes. It is this stepwise refinement process that allows you to conceptualize a vague problem into increasing levels of details in order to actually generate a working program. This point is important because the stepwise refinement pattern is used throughout the entire program development—each new piece of information is based on, and is a refinement of, the information uncovered in the previous step.
For this week’s CheckPoint, you will refine the IPO table into a complete design, as demonstrated on pp. 33 and 36 of Extended Prelude to Programming: Concepts and Design (2nd ed.). Refer also to the Input and Output Process Example in Appendix B to see how more detailed analysis and design relates to the previously constructed IPO chart.
The following information demonstrates all the items you need to develop for your programming assignments and for the final project.
Analysis
Process:
1. Get user input
2. Find room area
3. Divide room area
4. Multiply gallons
5. Prompt for ounces
6. Display total
price (real: 0100)
squareFeetPerGal (real: 01000)
width (real: 0100)
length (real: 0100)
height (real: 0100)
Input:
Output:
total_cost (real: > 0)
Design
Main Module
Declare price as real
Declare squareFeetPerGal as real
Declare width as real
Declare length as real
Declare height as real
Declare totalArea as real
Declare gallonsNeeded as real
Declare outputPrompt as string
Declare totalCost as real
Get user input
Find room area
Divide room area
Multiply gallons
Display total
End Main Module
Input Data Module
Write, “What is the price per gallon of paint?”
Input price
Write, “How many square feet does each gallon cover?”
Input square_feet_per_gal
Write, “What is the height of the walls?”
Input height
Write, “What is the width of the walls?”
Input width
Write, “What is the length of the walls?”
Input length
End Input Data Module
Find Room Area Module
Declare sideArea as real
Declare frontBackArea as real
Declare ceilingArea as real
sideArea = 2*(length * height)
frontBackArea = 2*(width * height)
ceilingArea = width * length
totalArea = sideArea + frontBackArea + ceilingArea
End Find Room Area Module

Information Technology 
SraJMcGin,
Try some of the tutorials:
http://search.yahoo.com/search?fr=mcafee&p=information+technology+tutorials
Sra