874 Words4 Pages

Week 3 Activity—Calculate Overtime Pay
-------------------------------------------------
TCO 3—Given a simple problem, design and desk-check a solution algorithm requiring a modular design that is expressed in terms of pseudocode or program notes, input-process-output (IPO) analysis, and flow chart.
-------------------------------------------------
TCO 4—Given a simple problem that requires one or more decisions, create a working solution that uses decisions with logical and relational expressions.
-------------------------------------------------
TCO 8—Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation.*…show more content…*

Game Seating Charges | Document | Points possible | Points received | Variable list | 4 | | IPO chart | 4 | | Flowchart | 4 | | Pseudocode | 4 | | Working program | 4 | | Total points | 20 | | 1) Variable List List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on. Constant MARRIED_RATE .15 Decimal Constant SINGLE_RATE .22 Decimal Constant DIVORCED_RATE .23 Decimal Constant WIDOWED_RATE .13 Decimal hourlyRate Decimal hoursWorked Decimal regularPay Decimal overtimePay Decimal maritalStatus Character grossPay Decimal taxRate Decimal taxAmount Decimal netPay Decimal 2) IPO Chart List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1. Inputs | Process (calculations) | Outputs | hourlyRatehoursWorkedmaritalStatus | if maritalStatus = ‘M’ taxRate = MARRIED_RATEif maritalStatus = ‘S’ taxRate = SINGLE_RATEif maritalStatus = ‘D’ taxRate = DIVORCED_RATEif maritalStatus = ‘W’ taxRate = WIDOWED_RATEIf hoursWorked <= 40 grossPay = hoursWorked * hourlyRateElse regularPay = (40 * hourlyRate) overtimePay = ((hoursWorked-40) * (hourlyRate * 1.5)) grossPay = regularPay + overtimePaytaxAmount = grossPay * taxRatenetPay = grossPay - taxAmount | If hoursWorked <= 40 grossPay netPayElse

Game Seating Charges | Document | Points possible | Points received | Variable list | 4 | | IPO chart | 4 | | Flowchart | 4 | | Pseudocode | 4 | | Working program | 4 | | Total points | 20 | | 1) Variable List List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on. Constant MARRIED_RATE .15 Decimal Constant SINGLE_RATE .22 Decimal Constant DIVORCED_RATE .23 Decimal Constant WIDOWED_RATE .13 Decimal hourlyRate Decimal hoursWorked Decimal regularPay Decimal overtimePay Decimal maritalStatus Character grossPay Decimal taxRate Decimal taxAmount Decimal netPay Decimal 2) IPO Chart List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1. Inputs | Process (calculations) | Outputs | hourlyRatehoursWorkedmaritalStatus | if maritalStatus = ‘M’ taxRate = MARRIED_RATEif maritalStatus = ‘S’ taxRate = SINGLE_RATEif maritalStatus = ‘D’ taxRate = DIVORCED_RATEif maritalStatus = ‘W’ taxRate = WIDOWED_RATEIf hoursWorked <= 40 grossPay = hoursWorked * hourlyRateElse regularPay = (40 * hourlyRate) overtimePay = ((hoursWorked-40) * (hourlyRate * 1.5)) grossPay = regularPay + overtimePaytaxAmount = grossPay * taxRatenetPay = grossPay - taxAmount | If hoursWorked <= 40 grossPay netPayElse

Related

## Stock and Watson - Introduction to Econometrics - Solutions Essay

17136 Words | 69 PagesPART TWO Solutions to Empirical Exercises Chapter 3 Review of Statistics Solutions to Empirical Exercises 1. (a) Average Hourly Earnings, Nominal $’s Mean AHE1992 AHE2004 AHE2004 − AHE1992 (b) Average Hourly Earnings, Real $2004 Mean AHE1992 AHE2004 AHE2004 − AHE1992 15.66 16.77 Difference 1.11 SE(Mean) 0.086 0.098 SE(Difference) 0.130 95% Confidence Interval 15.49−15.82 16.58−16.96 95% Confidence Interval 0.85−1.37 11.63 16.77 Difference 5.14 SE(Mean) 0.064 0.098 SE(Difference) 0.117 95%

## Monte Carlo Simulation

218872 Words | 876 Pagesessential to our topic, its technical subtleties are less so for purposes of computational work. My use of mathematical tools is often informal: I may assume that a local martingale is a martingale or that a stochastic diﬀerential equation has a solution, for example, without calling attention to these assumptions. Where convenient, I take derivatives without ﬁrst assuming diﬀerentiability and I take expectations without verifying integrability. My intent is to focus on the issues most important

## Comprehensive 1 Essay

18452 Words | 74 Pagesdiagnosed early when treatment is likely to result in cure. Tertiary prevention (D) includes interventions aimed at disability limitation from disease, injury, or disability. Category: Community Health Awarded 1.0 points out of 1.0 possible points. 3. 3.ID: 310974983 The school nurse is reviewing health risks associated with extracurricular activities of grade-school children. Regular participation in which activity places the child at highest risk for developing external otitis? A. Batting practice

## Professional Misconduct

58343 Words | 234 PagesException (No separate in charge is needed) |For member practicing is Hilly Areas |For all members | |(i) In plains for period [pic]3 months in winter season, & |(i) If second office is located in same | |(ii) Temporary office not to be mentioned as place of Business & |accommodation or premises or

## Project Management Infomaton System

48477 Words | 194 Pagesof DME-IS ........................................ 19 2.5 DME-IS levels of Technology ................................... 20 2.6 Identifying a project’s MIS technology needs ............. 26 2.7 From Data to Information to Knowledge and Wisdom .. 29 3. FUNDAMENTALS OF DME-IS ............................................... 33 3.1 The Core Processes of DME-IS.................................. 33 3.2 Managing the Information Process ............................ 35 3.3 Depth of detail in DME-IS (keep

## Corporate Finance

69408 Words | 278 PagesCorporate finance P. Frantz, R. Payne, J. Favilukis FN3092, 2790092 2011 Undergraduate study in Economics, Management, Finance and the Social Sciences This subject guide is for a Level 3 course (also known as a ‘300 course’) offered as part of the University of London International Programmes in Economics, Management, Finance and the Social Sciences. This is equivalent to Level 6 within the Framework for Higher Education Qualifications in England, Wales and Northern Ireland (FHEQ). For more

## Monsanto: Better Living Through Genetic Engineering

96204 Words | 385 Pagesmost entertaining part of such a course. The ‘full story’ that follows this summary gives you considerable detail about how to go about a case analysis, but for now here is a brief account. Before we start, a word about attitude – make it a real exercise. You have a set of historical facts; use a rigorous system to work out what strategies should be followed. All the cases are about real companies, and one of the entertaining bits of the analysis process is to compare what you have said they should

## Varian Solution

153645 Words | 615 Pagesor one apartment. You should also observe that when demand curves have the “staircase” shape used here, there will typically be a range of prices where supply equals demand. Thus we will ask for the the highest and lowest price in the range. 1.1 (3) Suppose that we have 8 people who want to rent an apartment. Their reservation prices are given below. (To keep the numbers small, think of these numbers as being daily rent payments.) Person Price = A = 40 B 25 C D 30 35 E 10 F 18 G 15 H 5 (a) Plot

## Cloud Computing Security

67046 Words | 269 Pagesmanagement of cloud services. These white papers and their release schedule are located at: http://www.cloudsecurityalliance.org/guidance/ In another change from the second version, there are some updated domain names. We have these changes: Domain 3: Legal Issues: Contracts and Electronic Discovery and Domain 5: Information Management and Data Security. We now have added another domain, which is Domain 14: Security as a Service. © 2011 Cloud Security Alliance. All rights reserved. You may download

## Management Course: Mba−10 General Management

215330 Words | 862 Pagesthe Situation Cohen • Effective Behavior in Organizations, Seventh Edition 11. Leadership: Exerting Influence and Power 94 94 Text Palmer−Dunford−Akin • Managing Organizational Change 2. Images of Managing Change 121 121 147 147 Text 3. Why Organizations Change Text Cohen • Effective Behavior in Organizations, Seventh Edition 14. Initiating Change 174 174 Text iii Cases 221 221 225 The Consolidated Life Case: Caught Between Corporate Cultures Who’s in Charge

### Stock and Watson - Introduction to Econometrics - Solutions Essay

17136 Words | 69 Pages### Monte Carlo Simulation

218872 Words | 876 Pages### Comprehensive 1 Essay

18452 Words | 74 Pages### Professional Misconduct

58343 Words | 234 Pages### Project Management Infomaton System

48477 Words | 194 Pages### Corporate Finance

69408 Words | 278 Pages### Monsanto: Better Living Through Genetic Engineering

96204 Words | 385 Pages### Varian Solution

153645 Words | 615 Pages### Cloud Computing Security

67046 Words | 269 Pages### Management Course: Mba−10 General Management

215330 Words | 862 Pages