Best Nursing Writing Services -nursing-students

Week 5 – Practice Labs – Course Project Part 2: Using Lists and Dictionaries to store and retreive data

Buy ready-to-submit essays. No Plagiarism Guarantee!

WE WRITE ESSAYS FOR STUDENTS

Tell us about your paper and we will find the best writer for your assignment

Write My Essay For Me

Note:  All our papers are written by human writers to ensure authenticity and originality.

 

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.

Order an Essay Online and Save Your Time

Stop stressing over missed deadlines and low grades. Our essay writing service is your all-in-one academic partner, offering a premium balance of quality and affordability for high school, college, and university students.

We deliver original, custom-written papers—from essays and research papers to dissertations and personal statements—all at a price you can afford. Beyond writing, our expert editing and proofreading services will make your own work shine. Our team of professional writers guarantees high-quality, reliable work delivered exactly when you need it.

Get Assignment Solutions for All Your Classes

PLACE YOUR ORDER

SHARE WITH FRIENDS