Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

201730 - Spring 2018 CreditHomeAnnouncementsSyllabusModulesGradesPeopleChatIvy AdvisingTextbook Free TrialCourse Evaluations M07 Apply: Homework Assignment Submit Assignment DueThursdayby11:59pmPoints50Submittinga file uploadAvailableuntil Mar 8 at 11:59pm Using the Prelude

201730 - Spring 2018 CreditHomeAnnouncementsSyllabusModulesGradesPeopleChatIvy AdvisingTextbook Free TrialCourse Evaluations

M07 Apply: Homework Assignment

Submit Assignment

DueThursdayby11:59pmPoints50Submittinga file uploadAvailableuntil Mar 8 at 11:59pm

Using the Prelude to Programming book, complete the following Programming Challenge problems on page 177 & 178:

Programming Challenge 3 (worth 25 points)Programming Challenge 4 (worth 25 points)

Each of the Programming Challenges problem can be solved by a program that performs three basic tasks---Input Data, Process Data, and Output Results.

The last module introduced documenting, specifically, commenting. Documentation is very important for this course and in this field. From this point and moving forward, an expectation is that commenting will beincorporated to all assignments. Both header comments and step comments are encouraged as it will help for logic to be better. Header comments should include the following:

Name of theRaptor programAuthorof theRaptor programVersion of theRaptor programand the date of its last revisionSummary/goal of the Raptor programVariables used with a short description of the variable, as well as theformat of the data (e.g. datatype)

Use Raptor to answer each of the problems in this assignment. Save each of your files as:

LASTNAME_FIRSTNAME_M07HW3LASTNAME_FIRSTNAME_M07HW4

(Where LASTNAME is your last name and FIRSTNAME is your first name).

To be able to receive full points for the M07 Apply: Homework Assignment, uploadbothparts of the assignment when completed.

To download this assignment,click here.

Rubric

M07 Apply: Homework Assignment Rubric

M07 Apply: Homework Assignment Rubric

CriteriaRatingsPts

This criterion is linked to a Learning OutcomeStudents program computes the monthly gross pay of their employees as well as the employees net pay: Student declares and uses the following variables with the appropriate datatypes: EmployeeID, HourlyRate, RegHours, OvertimeHours, GrossPay, Tax, Parking, and NetPay. Student inputs employee ID number, hourly rate of pay, and number of regular and overtime hours worked. Student calculates gross pay as the sum of the wages earned from regular hours and overtime hours. Student calculates overtime pay as 1.5 times the regular rate. Student calculates net pay as gross pay minus deductions, which are tax withholding (30% of gross pay) and parking ($10 per month). Student uses the following formula: GrossPay = (RegularHours * HourlyRate + (OvertimeHours * (HourlyRate * 1.5)) and NetPay = GrossPay (Grospay * Tax) - Parking. Student incorporates user-friendly displays. Student enters in the appropriate documentation. Student shows strong evidence of applying program development strategies as discussed in the reading. Student shows mastery of algorithm design

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago