# Information Technology

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?!

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.00-1,499.99 0.00 15 %
2. 2 1,500.00-2,999.99 225.00 16 %
3. 3 3,000.00-4,999.99 465.00 18 %
4. 4 5,000.00-7,999.99 825.00 20 %
5. 5 8,000.00-14,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:

System-Level Requirements Example

Consider the Paint the Room program, in which you developed what are often called system-level requirements—the basis for all subsequent analysis and design steps. The following steps will take these system-level 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 system-level requirements you identified in the Input-Process-Output (IPO) chart. Determine how the processes work together: Once you have determined the top-level logic, you can then design each of the individual processes. It is this step-wise 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 step-wise 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: 0-100)
squareFeetPerGal (real: 0-1000)
width (real: 0-100)
length (real: 0-100)
height (real: 0-100)
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

1. 👍 0
2. 👎 0
3. 👁 48
1. Try some of the tutorials:

http://search.yahoo.com/search?fr=mcafee&p=information+technology+tutorials

Sra

1. 👍 0
2. 👎 0

## Similar Questions

1. ### Philosophy

I need help with this proof for my philosophy class. This proof is supposed to be done via conditional proof, so it is supposed to use ACP and CP to derive the conclusion! This is an assignment that is submitted through Aplia, so

asked by Joy on November 11, 2013
2. ### Philosophy

I need help with this proof for my philosophy class. This proof is supposed to be done via indirect proof or conditional proof, so it is supposed to use AIP and IP or ACP and CP to derive the conclusion! This is an assignment that

asked by Joy on November 11, 2013
3. ### Philosophy

I need help with this proof for my philosophy class. This proof is supposed to be done via indirect proof or conditional proof, so it is supposed to use AIP and IP or ACP and CP to derive the conclusion! This is an assignment that

asked by Joy on November 11, 2013
4. ### Philosophy

I need help with this proof for my philosophy class. This proof is supposed to be done via indirect proof or conditional proof, so it is supposed to use AIP and IP or ACP and CP to derive the conclusion! This is an assignment that

asked by Joy on November 11, 2013
5. ### anthropology

im needing help with an assignment that is due tonight by midnight

asked by pam on April 22, 2013
6. ### chemistry

Using electron bookkeeping draw a Lewis dot diagram for NF2H and N2H2 determine how many electrons each atom should be assigned. Thanks Guys I really appreciate it, my assignment is due tonight and the test is tomorrow, could you

asked by Will J on December 1, 2011
7. ### chem- electrochem-HELP

Given a cell based on the spontaneous reaction 2AgCl(s) + Zn(s) ® 2Ag(s) + 2Cl– + Zn2+ If the zinc ion concentration is kept constant at 1 M, and the chlorine ion concentration is decreased from 1 M to 0.001 M, the cell voltage

asked by lucylu on September 18, 2010
8. ### spanish sra jmcgin

hi i have a spanish essay draft to write can I scan and email you or someone the assignment it is half a page in spanish. this way you will know what the assignment is and hopefully can review my draft. it is due tomorrow

asked by sam on January 28, 2009
9. ### Poetry

I need a poem that contains at least six of the poetic devices listed below: simile metaphor personification onomatopoeia alliteration rhyme rhythm rhyme scheme repetition I need this poem before 7 pm tonight, because my

asked by Shelley on May 15, 2011
10. ### Medical Records

I want to make sure I am correct.Can you check this for me? We need to have this in Middle Digit Order. I know I start with my primary. 534-01-38 535-01-38 536-01-38 534-10-36 222-10-37 534-10-38 600-11-37 535-11-38 Assignment due

asked by Lauri on June 15, 2010
11. ### MATH

Nicole finish your English assignment and 1/8 hours then she completed her history assignment in 2/3 hours how much more time did Nicole spend on her history assignment

asked by Abryna on March 22, 2019

More Similar Questions