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

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

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.

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top