Week 5 – practice labs – course project part 2: using lists and | CIS261 | Strayer University

Note: The assignments in this course are a series of projects that build on one another.

Overview  

The purpose of this assignment is to demonstrate knowledge of advanced datatypes and the use of lists and dictionaries to store, retrieve process data.

Scenario

The company has approved the proof of concept provided in your week three assignment but wants to change some of the data as well as the processing.  In addition to the data input, you will need to include the “from date” and “to date” for the hours worked.  Detailed information will not be displayed until all the data has been entered, followed by the total summary for the payroll.   

  • All the coding will be maintained from your week three assignment and modified as needed to meet the new requirements.

Instructions  

Complete the following in Practice Labs:

  1. Create a new function that will input and return the from date and to date for the hours worked and is called inside the loop.  This should be the first function called.  Dates must be in the format mm/dd/yyyy.
  2. Store the from date, to date, employee name, total hours, hourly rate and income tax rate in a list object. Note: multiple list objects may be needed to complete this functionality
  3. After the user terminates the loop, call a function that will:
    • Read through the list(s) and for each employee calculate the income tax and net pay.  
    • Display the from date, to date, employee name, hours worked, hourly rate, gross pay, income tax rate, income taxes and net pay for the employee
    • Increment the total number of employees, total hours, total tax, total net pay and store the values in a dictionary object.
  4. Modify the function that displays totals to read the data from the dictionary object and then display the totals.
  5. Submit the Python source code file and a Word document that contains a screen shot of input and display for one employee and a screen shot of the display of totals.  A minimum of five employees must be entered to receive full credit. Include a 1-2 sentence reflection on the successes and/or challenges you had with this assignment.     
  • Ensure all functionality is working correctly and code is written efficiently. For purposes of this assignment, writing code efficiently is defined as:
    • Using correct naming conventions for all variables and objects.
    • Using correct naming conventions for functions and methods.
    • Using built-in functions whenever possible.  
    • Using the fewest lines of code needed to return multiple values from functions.
    • Using the fewest lines of code needed to complete the functionality defined.

Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more