Preview

Checkpoint Sequential and Selection Processing Control Structure

Satisfactory Essays
Open Document
Open Document
439 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Checkpoint Sequential and Selection Processing Control Structure
| | CheckPoint: Sequential and Selection Processing Control StructureThe University of Phoenix | |

CheckPoint: Sequential and Selection Processing Control Structure
Analysis of problem:

Process: 1. Display welcome message and program title on main page. 2. User inputs the salary. 3. Based on salary amount calculate the taxes. 4. Display results.

Input (real) Salary
Output Total Salary with taxes (Real = Taxes)

Input Data and Output Process Input | Processes | Output | Input Salary | Input user data | Salary | Taxes | Calculate Taxes | Taxes | Salary plus taxes | Output total | Display Salary & taxes. |

Pseudocode layout:

Main Program Module: Declare Salary (Real) Declare Taxes (Real) Display on main screen “Salary Tax Calculator” Call Salary Module Call Calculate Taxes Module Call display taxes module
End Program

Get Salary

Display “Enter salary information.” Get Salary Information

Calculate Taxes

Declare (Real) = Base Tax Amount
Declare (Real) = Excess Income
Declare (Real) = Rate

Sequential and Selection Process Control Structure

| 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 % |
Set taxes = Base Tax + (Excess * Rate)

End calculate Taxes

Display Taxes

Display Salary = $, (Salary), Taxes = $, (Taxes)

End Display Taxes

Test Values Salary Input | Expected Output | Comments | Salary 0.0 | Error Message Salary = $0.0 Taxes = $0.0 | input out of valid range | Salary 0.01 | Salary = $0.01 Taxes = $0.0015 | lower limit first tax interval | Salary 1000.00 | Salary = $1000.00 Taxes = $150 | Middle of first tax interval | Salary 1499.99 | Salary = $1499.00 Taxes = $225.00 |

You May Also Find These Documents Helpful

  • Good Essays

    1. What are the primary repositories of fresh water on Earth? Which of these repositories is the largest?…

    • 497 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    There are several ways in which to organize a counseling center for victims of domestic abuse. Organization by departmentalization is a model in which the agency is broken into subgroups or departments according to process, market, program, or client and consumer needs. The most effective organization by departmentalization would be to break up the departments according to program. Victims of domestic abuse may need different programs in order to get their lives back on track. Some may be in need of counseling while others need help finding a new place to live or need help with job placement. The downside to organizing a counseling center, by program is that the counseling center may offer only a handful of services and would need to refer clients to outside organizations. If the agency did offer other programs, the victim may feel that they are overwhelmed with their options and may go back to their previous situation.…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Bis 220 Wk 8 Checkpoint

    • 572 Words
    • 3 Pages

    W. Russell (2013). Review of Corel Presentations X3. Retrieved on May 1, 2013 from http://presentationsoft.about.com/od/softwarereviews/fr/corel_presx3.htm…

    • 572 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    This lesson was a designate for me. I required recognizing and sympathetic extra about myself and others about me. This sequence trained me to be more unbiased. It also provided me a better considerate on how to recite people. I originate this class totally invaluable and I texture that I have educated a lot from it. I plan to apply this material in my message and professional skills. This will aid me to develop a better proficient and chatterer. I am name and I am self-governing. I recognize myself and I am well-defined by my individual traits and objectives. I once did show self-serving prejudice, which is the propensity to observe one’s personality positively. But now…

    • 266 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I would have to say that at the Health Home Program there are many benefit types and services available to the clients who receive treatment there, it is a residential treatment facility that provides individual and group counseling to drug addicted mothers or soon to be mothers. One of the main goals of the program is to ensure that women deliver drug free babies. The program is funded through many government grants to keep children with their mothers who are suffering from substance abuse, children are placed with their mothers once they are enrolled for treatment. Drug addiction is a major social problem with many dire consequences that follow, the home program works closely with DHS (department of homeless services) to ensure that the women receiving services are able to become caring and nurchuring parents to their children. The intensive treatment phase is completed while the women is a resident in the program, this is the time that she will detox off of the drugs and begin her recovery.…

    • 365 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Hsm 240 Week 2 Checkpoint

    • 589 Words
    • 3 Pages

    The electronic reserve I chose is, “ Judge stalls Michigan drug testing program for welfare applicants”.…

    • 589 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    McDonald’s fast foods qualify as a large company. When McDonald’s business started to grow they installed drive in windows, issued wireless microphones to attendants inside and outside, installed computer automated cooking systems, and computer monitors in all processing areas. This is a” reactive change, change that occurs after external forces have already affected performance” (Snell, 2007)…

    • 397 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Capstone Checkpoint

    • 446 Words
    • 2 Pages

    I will be discussing the media’s portrayal of sexuality in various ways which are as follows; I the positive and negative effects that the media involvement has played in adolescent’s lives as well as how all this has affected my own personal life also.…

    • 446 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Capstone Checkpoint

    • 270 Words
    • 2 Pages

    I believe that it is essential for security professionals to be well familiar with their surroundings and have great knowledge of their primary targets, while roaming their environment. It is critical that all security professionals must maintain full control of the environment they are assigned to, and are aware of not leaving a vulnerable gap to the criminals. These security professionals must be ready to notice the slight changes of the environment, and must keep in mind that all areas are different. Therefore, they must plot a defense mechanism based on the type of environment they are assigned to.…

    • 270 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    For this assignment I chose two of the most popular weekly news programs. The first was “Meet the Press” from my local NBC affiliate out of Chicago on March 2nd Sunday morning. It was hosted by Chuck Todd and aired at 10am. The second was from my local Fox channel also based in Chicago and was “Fox News Sunday”. It was hosted by Chris Wallace and aired at 9am on March 2nd Sunday morning. I chose these two shows due to the fact they aired at approximately the same time, on the same day, and therefore were in direct competition. Additionally Fox news is generally regarded to be a conservative based network, while NBC and their affiliates are generally considered to be influenced by liberal ideas.…

    • 693 Words
    • 3 Pages
    Good Essays
  • Good Essays

    PID controller

    • 1030 Words
    • 6 Pages

    PID Controller Tuning: A Short Tutorial Jinghua Zhong Mechanical Engineering, Purdue University Spring, 2006 Outline This tutorial is in PDF format with navigational control. You may press SPACE or →, or click the buttons in the lower right corner to move to the next slide. Clicking on the outlined items will take you directly to that section.…

    • 1030 Words
    • 6 Pages
    Good Essays
  • Better Essays

    This case study covers case 4-6 of ‘Management Control Systems’, written by Robert N. Anthony and Vijay Govindarajan (2007, 12th edition). The case discusses Grand Jean Company, a jeans manufacturing company, and describes several processes and issues in their organisation and management. In this report, we will we review and discuss the main problems that Grand Jean Company faces, analyse and propose solutions to these problems.…

    • 3190 Words
    • 13 Pages
    Better Essays
  • Good Essays

    (Start from process raw material fed into the process to its final state of production.)…

    • 563 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Control System

    • 10205 Words
    • 41 Pages

    Open- and closed-loop transfer functions have certain basic characteristics that permit transient and steady-state analyses of the feedback-controlled system. Five factors of prime importance in feedback-control systems are stability, the existence and magnitude of the steady-state error, controllability, observability, and parameter sensitivity. The stability characteristic of a linear time-invariant system is determined from the system’s characteristic equation. Routh’s stability criterion provides a means for determining stability without evaluating the roots of this equation. The steady-state characteristics are obtainable from the open-loop transfer function for unity feedback systems (or equivalent unity-feedback systems), yielding figures of merit and a ready means for classifying systems.…

    • 10205 Words
    • 41 Pages
    Good Essays
  • Good Essays

    Internal Controls System

    • 1991 Words
    • 8 Pages

    The internal control system includes all the strategies, policies and procedures adopted or instituted by the management of an entity to assist in their objective achieving as far as practicable, the orderly and efficient conduct of the business and includes adherence and compliance to management policies and applicable laws and regulations; the safeguarding of assets; the prevention and detection of fraud and error, the accuracy, reliability and completeness of the accounting records; the timely preparation of reliable financial information; and the evaluation of the operating performance and efficiency of the organization.…

    • 1991 Words
    • 8 Pages
    Good Essays

Related Topics