Question
Posted by:
desimunda
desimunda
Rating (3): C
Questions Asked: 0
Tutorials Posted: 20, earned $277.80
 

$10.00 PRG/210 PRG210 PRG-210 Week 1 Assignment

Found in Computer-Science: Programming-Methods
Chapter 1, # 0
Q:

You just joined a company that creates software to manage corporate payrolls.  You will be responsible for updating the software.  In an attempt to familiarize yourself with the software, you decide to figure out how payroll works in general, without looking at the code.  You find that a person’s weekly wages are calculated as follows:

            (Number of hours worked in a week) x * (Hourly rate of pay)

You also find that some people put in overtime (more than 40 hours per week.)  They get 1.5 times their hourly wage for every hour of overtime that they put in.

 

Now, you probably wouldn’t put this much effort into a task with the sole purpose of familiarizing yourself with the code, but:

 

1.  Describe the process you would go through to write a program to calculate a person’s weekly earnings.  Explain what each step in the program development process means and requires you to do.

 

2.  Explain what you might expect to do to maintain the program.

 

3.  The company requires you to document the program.  What would you do to document the program?

 

4.  To make the program flexible, and useful to the large number of clients you have, you decide to allow all data to be input.  The program will ask for, and have the user type in, the hourly wage and the number of hours worked during that week.  Will you use data validation?  If you do, what kind of data validation will you use?

 

5.  (optional) Explain the program using pseudocode.

 


   
   
   
   
 
Tutorial
 

$10.00 PRG/210 PRG210 PRG-210 Week 1 Assignment

  • This tutorial hasn't been purchased yet.
  • Posted on Nov. 07, 2009 at 03:58:26AM
A:
Preview: ... ment process includes four steps as follows: Step 1: Analyze the problem Step 2: Design ...

The full tutorial is about 63 words long plus attachments.

Attachments:
Payroll.doc (43K) (Preview)
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty