# Register now to access 7 million high quality study materials (What's Course Hero?) Course Hero is the premier provider of high quality online educational resources. With millions of study documents, online tutors, digital flashcards and free courseware, Course Hero is helping students learn more efficiently and effectively. Whether you're interested in exploring new subjects or mastering key topics for your next exam, Course Hero has the tools you need to achieve your goals.

6 Pages

### IT 210 Week 3-Appendix G - Sequential and Selection Processing Control Structure

Course: IT 210, Spring 2010
School: University of Phoenix
Rating:

Word Count: 563

#### Document Preview

College Axia 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 0.00-1,499.99 1,500.00-2,999.99 3,000.00-4,999.99 5,000.00-7,999.99...

Register Now

#### Unformatted Document Excerpt

Coursehero >> Arizona >> University of Phoenix >> IT 210

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
College Axia 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 0.00-1,499.99 1,500.00-2,999.99 3,000.00-4,999.99 5,000.00-7,999.99 8,000.00-14,999.99 Base Tax in Dollars 0.00 225.00 465.00 825.00 1425.00 Percentage of Excess 15 % 16 % 18 % 20 % 25 % 1. 2. 3. 4. 5. Input First Name Last Name Salary Salary Salary Range Category Percentage of Excess Base Tax Salary Percentage Excess Total Base Tax First Name Last Name Salary Gross Salary Processes 1. Get User Input 2. Determine Range Category 3. Determine Base Tax and Percentage of Excess 4. Determine Gross Salary 5. Display Gross Salary Output First Name Last Name Salary Salary Range Percentage Excess Total Base Tax Gross Salary First Name Last Name Salary Gross Salary IT 210 Main Module Declare Name as string Declare SalaryAmt as real Declare Base as real Declare Excess as real Declare Salary as real Declare ReRun as string Call Input Data Module Call Range Module Call Salary1 Module Call Salary2 Module Call Salary3 Module Call Salary4 Module Call Salary5 Module Call Output Module End Main Module Input Data Module Write, Insert Employees First Name Input FirstName Write, Insert Employees Last Name Input LastName Write, What is the employees salary? Input SalaryAmt Call Range Module End Input Data Module Range Module If SalaryAmt < 1,499.99 Then Call Salary1 Module Else If SalaryAmt < 2,999.99 AND SalaryAmt > 1,500.00 Then Call Salary2 Module Else If SalaryAmt < 4,999.99 AND SalaryAmt > 3,000.00 Then Call Salary3 Module IT 210 Else If SalaryAmt < 7,999.99 AND SalaryAmt > 5,000.00 Then Call Salary4 Module Else If SalaryAmt < 14,999.99 AND SalaryAmt > 8,000.00 Then Call Salary5 Module Else The Write, salary you have entered is out of range. Write, Please enter a salary between 0 and 14,999.99. Call Input Module End Range Module Salary 1 Module Declare Excess as real Declare Salary as Real Set Excess = SalaryAmt * .015 Set Salary = SalaryAmt - Excess Call Output Module End Salary1 Module Salary2 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmt - 225 Set Excess = Base * .16 Set Salary = Base - Excess Call Output Module End Salary2 Module IT 210 Salary3 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmt - 465 Set Excess = Base * .18 Set Salary = Base - Excess Call Output Module End Salary3 Module Salary4 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmt - 825 Set Excess = Base * .20 Set Salary = Base - Excess Call Output Module End Salary4 Module Salary5 Module Declare Base as real Declare Excess as real Declare Salary as real Set Base = SalaryAmt - 1425 Set Excess = Base * .25 Set Salary = Base - Excess IT 210 Call Output Module End Salary5 Module Output Module Declare ReRun as string Declare FirstName as string Declare LastName as string Declare Salary as real Write, The following is the gross salary for, FirstName LastName Salary Write, Would you like to enter more salaries? Enter Y or N Input ReRun If ReRun = Y Then Call Input Module Else If ReRun = N Then End Else Write, Incorrect key entered. The program will now terminate. End End Output Module Test Values Input Expected Output The following is the gross salary for Roger Clark: 7331.25 Comments FirstName = Roger LastName = Clark Salary = 11,200.00 FirstName = Bill LastName = Wilson Salary = 1,200.00 FirstName = George LastName = Washington Salary = 3,500 ________ The following is the Gross Salary for Bill Wilson: 1020.00 The following is the Gross Salary for George ________ _________ IT 210 Washington: 2488.70 IT 210
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

USF - EEL - 6935
INDUCTION MOTOR TESTS (No-Load Test, Blocked Rotor Test) The equivalent circuit parameters for an induction motor can be determined using specific tests on the motor, just as was done for the transformer. No-Load Test Balanced voltages are applied to the
University of Phoenix - IT - 210
Week 3 Discussion Question 1Review the definition of control structure on p. 45 in Extended Prelude to Programming: Concepts and Design (2nd ed.). Then, think about the pseudocode algorithm you would write for a simple task (making a peanut butter sandwi
UCLA - GE CLUSTER - 72a
discussion13/01/201100:00:00Whatisthemeasurethatisusuallyusedtotellusaboutthemagnitudeofasex difference?Howdoyoucalculatethevalueofthismeasurement? Thestandarddeviationmeanmenmeanwomen o Standarddeviation 2.Whatarethecutoffsfor: a. asmallsexdifference?.
University of Phoenix - IT - 210
Week 3 Discussion Question 2How do you use the three basic control structures - sequential, repetition, and selection - in your everyday problem solving? Do you think there are any other control structures that would make your problem-solving skills more
UCLA - GE CLUSTER - 72a
UCLA - GE CLUSTER - 72a
UCLA - GE CLUSTER - 72a
Lecture13saguy04/11/201014:54:00Transsexualfrombirthyouareanormalfemaleormaleandthenlateryouwould liketobetheoppositesex. sexcategoryuncertaintywithlaw. testosteroneispermanenthoweverestrogenarenotpermanentwillgoawayif youstoptreatment. Transgender:umbre
UCLA - GE CLUSTER - 72a
TheMatingPsychologyofGayMenandlesbians 23/11/201015:53:00Preferringtohavesexwiththesamesexwillloweryourreproductivenumbers Causesareductioninfitness Evidencethatgenescausehomosexualityandbiologicalreasons Homosexualitycomesacrosstheanimalkingdom.Thesebir
UCLA - GE CLUSTER - 72a
Thebiologyofsexualorientation 30/11/201015:58:00Sexualdimorphicdiffbtwmalesandfemales Complex Complexgenetictraitsthatareconsideredtobecommon,multigenetic disordersthatareofteninfluencedbytheenvironment Traitisageneticdefinition Relatestospecificchar
UCLA - GE CLUSTER - 72a
03/12/201017:32:00 Lecture2 Sociologyfocusonempiricaldatabasedondatathatcanbefalsified Firstwaveonfeministvotingincludingworkplaceandreproductive ifthereisamixacrossmaleandfemalecharacteristicscanbecharacterized asintersex Lecture3 Axiomistakentobetruewi
UCLA - GE CLUSTER - 72a
UCLA - GE CLUSTER - 72a
Lecture820:57Optionsforchoosingtohavesurgeryrightaway Doitrightawayandletitbeasubjectofmedicinescience allowthesurgeryandletthesexcategorymatchthebiology notallowitbecausetheconsentofthechildwasnotinvolvedandthe potentialharmthatitcouldcausesociological
UCLA - GE CLUSTER - 72a
Lecture 5 October 7 Estrogen is bringing her into lordosis behavior, however the male has to be t here to stimulate. A would be estrogen and B would be lordosis I n order to decrease estrogen level remove the ovaries and to increase estrogen inject with e
UCLA - GE CLUSTER - 72a
Lecture 4 October 5 Fundamental things tht differentiate males and females Sry is a gene that is tu rned on during the development of the gonad. I t has not yet tu rned in to testes or ovaries. Sry is the signal that initiates testes or ovaries in a tissu
UCLA - GE CLUSTER - 72a
Intersexualitiespart1 12/10/201015:02:00Leydigcellslookliketriangles AlsosecreteAMH 46xxfemale 46xymale mosaicsmixtureofxxandxycellsmaleorfemale parmshortarm qarmlongarm mostcellsarediplidonefromourparents haploidcellsarehalfcellssuchasspermandeggcells
UCLA - GE CLUSTER - 72a
23:28 FromtheprogramsIhaveseenonthissubject,manyinvolvingpeoplewhohave grownupafterthese&quot;corrections&quot;,Iwouldbegreatlytemptedtoleavethechild alone.Theyareoftenunabletoexperienceanysexualgratificationina&quot;normal&quot; way(erectiletissuehasbeenremoved)andmanydon't
UCLA - GE CLUSTER - 72a
Memorial University - ECON - 1111
GOOD PRACTICE PAPER ON ICTS FOR ECONOMIC GROWTH AND POVERTY REDUCTIONPart II Good Practice Paper on ICTs for Economic Growth and Poverty ReductionAbstract. This report aims to give an overview of what DAC members currently know about how Information and
University of Phoenix - IT - 210
IT/210Currency Conversion Design AssignmentApplication-Level Requirements List 1) 2) 3) 4) Get input from the user. Enter the amount of foreign currency that is to be converted. Select the type of foreign currency that is to be converted to U.S dollars.
University of Phoenix - IT - 210
IT/210Iteration Control Structure CheckpointDesignaprogramthatmodelsthewormsbehaviorinthefollowingscenario: Awormismovingtowardanapple.Eachtimeitmovesthewormcutsthedistance betweenitselfandtheapplebyitsownbodylengthuntilthewormiscloseenoughto entertheap
Memorial University - ECON - 1111
American Economic AssociationEconomic Growth and Income Inequality Author(s): Simon Kuznets Source: The American Economic Review, Vol. 45, No. 1 (Mar., 1955), pp. 1-28 Published by: American Economic Association Stable URL: http:/www.jstor.org/stable/181
Memorial University - ECON - 1111
A N EW DEVELOPMENT DATA BASEThe following article is the first in an occasional series introducing new data bases. The series intends to make new development data bases more widely available and to contribute to discussion and further research on economi
University of Phoenix - IT - 210
IT/210CheckPoint: Simple Array ProcessChapter 6 / Exercise 3Input a list of employee names and salaries, and determine the mean (average) salary as well as the number of salaries above and below the mean.Define n to store number of employees Output En
Memorial University - ECON - 1111
Grameen Telecoms Village Phone Programme in Rural Bangladesh: a Multi-Media Case Study Final ReportMarch 17, 2000Prepared byDr. Don Richardson, Ricardo Ramirez, Moinul Haq TeleCommons Development Group(TDG) 512 Woolwich St., Suite 200, Guelph Ontario,
University of Balamand - FOBM - 230
Objective The objective of the term project is to provide you with an opportunity to apply the principals of deterministic operations research to a complex problem. This handout describes the expectations and guidelines for the proposal and the overall pr
Memorial University - ECON - 1111
University of Phoenix - IT - 210
Week 5 Discussion Question 1Identify at least two data structures that are used to organize a typical file cabinet. Why do you feel it is necessary to emulate these types of data structures in a computer program? For what kind of work project would you w
University of Phoenix - IT - 210
Week 5 Discussion Question 2Describe a programming project or situation in the workplace that would lend itself to array usage. At the job, someone created a Microsoft Access table to track special requests. The suggestion has been made to move the Micro
Memorial University - ECON - 1111
CHAPTER 1: INTRODUCTION TO COST-BENEFIT ANALYSIS Purpose: To provide a non-technical overview of CBA. CBA IS A METHOD FOR DETERMINING SOCIAL COSTS AND BENEFITS Definition Cost-Benefit Analysis (CBA) is a policy assessment method that quantifies the value
Memorial University - ECON - 1111
CHAPTER 6: DISCOUNTING FUTURE BENEFITS AND COSTS Purpose: This chapter deals with the practical issues one must know in order to compute the net present value of a project. It assumes the social discount rate is given, which is reasonable as the rate is o
Memorial University - ECON - 1111
CHAPTER 4: VALUING BENEFITS AND COSTS IN PRIMARY MARKETS Purpose: Estimating consumer surplus, producer surplus, and government revenue (i.e., social surplus) in primary markets (i.e., markets that are directly affected by a policy or project). ACTUAL VER
Memorial University - ECON - 1111
CHAPTER 2: CONCEPTUAL FOUNDATIONS OF COST-BENEFIT ANALYSIS Purpose: Introduction to Pareto efficiency (primary definition of allocative efficiency). CBA AS A METHOD FOR MEASURING EFFICIENCY CBA is a method for measuring allocative efficiency. Allocative e
Memorial University - ECON - 1111
I. Introduction As people throughout the world awake each morning to face a new day, they do so under different ways. A group of people live in comfortable home with shelter and rooms. They have adequate supply of food to eat, they are well garmented, the
University of Phoenix - IT - 210
IT/210Currency Conversion Test ProcedureThe following is a set of inputs and expected results for the Currency Conversion Program.*Begin Test Procedure* -Menu Error Testing-Test Case 1: Inputs: CurrencyType = U Expected Output: Invalid currency selecti
Memorial University - ECON - 1111
CHAPTER 3: BASICS OF COST BENEFIT ANALYSIS Purpose: To review the microeconomic underpinnings of CBA (assuming perfect competition). DEMAND CURVES Among the important properties of demand curves are: (1) their downward slope, which is due to diminishing m
Memorial University - ECON - 1111
CHAPTER 5: VALUING BENEFITS AND COSTS IN SECONDARY MARKETS Purpose: Estimating consumer surplus, producer surplus, and government revenue (i.e., social surplus) in secondary markets (i.e., markets that are indirectly affected by a policy or project). VALU
Memorial University - ECON - 1111
CHAPTER 7: DEALING WITH UNCERTAINTY: EXPECTED VALUE, SENSITIVITY ANALYSIS, AND THE VALUE OF INFORMATION Purpose: Develop the concepts of expected value, sensitivity analysis, and the value of information. EXPECTED VALUE ANALYSIS Expected value analysis co
Memorial University - ECON - 1111
Chapter 2 Exercises 4. Three mutually exclusive projects are being considered for a remote river valley: Project R, a recreational facility, has estimated benefits of \$10 million and costs of \$8 million; project F, a forest preserve with some recreational
Memorial University - ECON - 1111
ECONOMICS 6012Information and Communications Technologies and Poverty ReductionBy Ayaz Mahmood GhaniAyaz Mahmood Ghani Information and Communications Technologies and Poverty Reduction Over the past two decades, we have seen rapid demog4aphic growth in
Memorial University - ECON - 1111
Some slides for Econ 2450 Continuously updatedNippe LagerlfMarch 19, 20091Math revisionCourse mostly about using economic models Requires a bit of math to understand Nothing that should be newsNumbersNatural numbers: 1; 2; 3: Integers: : 2; 1; 0; 1
Memorial University - ECON - 1111
PROBLEMS FOR ECON 2450 Preliminary, continuously updatedNippe Lagerlf March 17, 20081IntroductionTo be written.AThe IS-LM and Mundell-Fleming modelsProblem A.1 Consider an IS-LM model where consumption, C , is given by the following consumption fun
Memorial University - ECON - 1111
2-1Chapter 2Frequency Distributions Frequency and Graphs and The McGraw-Hill Companies, Inc., 20002-2Outline2-1 Introduction 2-2 Organizing Data 2-3 Histograms The McGraw-Hill Companies, Inc., 20002-3ObjectivesOrganize data using frequency distr
Memorial University - ECON - 1111
4-1Chapter 4 Part 1 Counting TechniquesTheMcGrawHillCompanies,Inc.,20004-2Outline4-1 Introduction 4-2 Tree Diagrams and the Multiplication Rule for Counting 4-3 Permutations and CombinationsTheMcGrawHillCompanies,Inc.,20004-3ObjectivesDetermine t
Memorial University - ECON - 1111
5-1Chapter 5 Discrete Probability Discrete Distributions DistributionsTheMcGrawHillCompanies,Inc.,20005-2Outline 5-1 Introduction 5-2 Probability Distributions 5-3 Mean, Variance, and Expectation 5-4 The Binomial DistributionTheMcGrawHillCompanies,
Memorial University - ECON - 1111
Formulas and TablesElementary Statistics: A Step-By-Step Approach Bluman / Mayer, 1st Canadian EditionCopyright 2008 by McGraw-Hill Ryerson LimitedFormulas and TablesElementary Statistics: A Step-By-Step Approach Bluman / Mayer, 1st Canadian EditionC
Memorial University - ECON - 1111
3-1Chapter 3 Data DescriptionTheMcGrawHillCompanies,Inc.,20003-2Outline3-1 Introduction 3-2 Measures of Central Tendency 3-3 Measures of Variation 3-4 Measures of Position 3-5 Exploratory Data AnalysisTheMcGrawHillCompanies,Inc.,20003-3Objectives
Memorial University - ECON - 1111
4-27Chapter 4 Probability ProbabilityTheMcGrawHillCompanies,Inc.,20004-28Outline 4-4 Introduction 4-5 Sample Spaces and Probability 4-6 The Addition Rules for Probability 4-7 The Multiplication Rules and Conditional ProbabilityTheMcGrawHillCompanie
Memorial University - ECON - 1111
6-1Chapter 6 The Normal The Distribution DistributionTheMcGrawHillCompanies,Inc.,20006-2Outline 7-1 Introduction 7-2 Properties of the Normal Distribution 7-3 The Standard Normal Distribution 7-4 Applications of the Normal DistributionTheMcGrawHill
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas notes A.1 Summation A.2 Some Basics A.3 Linear Relationships A.4 Nonlinear Relationships xi = x1 + x2 + L + xni =1n is the capital Greek letter sigma, and means
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandSECONDAdapted from Vera Tabakovas notesB.4.1Mean, median and modeE[ X ] = x1P ( X = x1 ) + x2 P ( X = x2 ) + L + xn P ( X = xn )For a discrete random variable the expected value is: = E[ X ]
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas notes 1.1 1.2 1.3 1.4 1.5 1.6Why Study Econometrics What is Econometrics About The Econometric Model How Do We Obtain Data Statistical Inference A Research FormatFil
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas notesFIRST AnEconomic Model An Econometric Model Estimating the Regression Parameters Assessing the Least Squares Estimators The Gauss-Markov Theorem The Probability
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas notes 3.1 3.2 3.3 3.4 3.5Interval Estimation Hypothesis Tests Rejection Regions for Specific Alternatives Examples of Hypothesis Tests The p-valuey = 1 + 2 x + eE (
Memorial University - STAT - 2550
ECON 4550 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas notes 5.1Model Specification and Data 5.2 Estimating the Parameters of the Multiple Regression Model 5.3 Sampling Properties of the Least Squares Estimator 5.4 Interv
Memorial University - STAT - 2550
ECON 6002 Econometrics Memorial University of NewfoundlandAdapted from Vera Tabakovas 7.1 Polynomials 7.2 Dummy Variables 7.3 Applying Dummy Variables 7.4 Interactions Between Continuous Variables 7.5 Log-Linear Models7.1.1 Cost and Product CurvesFig
University of Phoenix - IT - 210
IT/210Week 6 | Algorithm Verification CheckpointWhatwillbeprintediftheinputis0? Youfail. Howdidyoudo?Whatwillbeprintediftheinputis100? Howdidyoudo?Whatwillbeprintedistheinputis51? Yourgradeis51. YoudidOK. Howdidyoudo?Whatwillbeprintediftheuserenters&quot;
Keller Graduate School of Management - TM - 583
Case 1 Apple Computer: Research how Apple managed to reinvent itself over the years.Apple Computer was born on April 1, 1976. Built by two high school drop outs, Steve Wozniak and Steve Jobs launched what would become the personal computer phase. Steve J
University of Phoenix - IT - 210
1. Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form: student (string), test1 (integer), test2 (integer), test3 (integer) Main Module Declare student as string Declare test1, test2, test3 as i
University of Phoenix - IT - 210
Week 7 Discussion Question 1Under what circumstances would you use a sequential file over a database? Describe these circumstances. When would a database be more beneficial than a sequential file? Is it possible for the two types of permanent storage to
University of Phoenix - IT - 210
Week 7 Discussion Question 2What are some of the key differences between a flat file and a relational database? Which of the two storage methods do you think is most useful in a real-world application? Flat file storage is generally considered to be data
University of Phoenix - IT - 210
I T/210Assignment: Object-Oriented DesignClassMediaCollection NameAsString TypeAsString QuantityAsIntegerSubprogramNewItem(name) CallSetName(name) CallSetQuantity(Quantity+1) EndSubprogram FunctiongetName()AsString SetgetName=Name EndFunction Functiong