BN108 - Programming fundamentals - Programming for Networking Assessment Answer

Download Solution Order New Solution
 Programming fundamentals
Assessment Task:

Assignment Description                                                                                                                                                     

This assignment focuses on programming basics; expressions, variables, constants, methods, selection and loops.

Danny runs an ice cream shop in the inner suburbs of Melbourne. Due to the growing number of customers, Danny has decided to take on extra casual employees. In order to manage payroll for his employees, Danny has decided to develop an employee payroll management system. Details of each employee to be maintained in the system will include; employee id, name, gender (M or F), phone number, hours worked, pay per hour, gross pay, net pay, and income tax payable.

The gross pay is calculated as the number of hours worked multiplied by pay per hour, while the net pay is calculated as the difference between gross pay and income tax payable of which income tax payable is calculated by multiplying gross pay by an income tax rate of 30%. Any hours over forty (40) is paid as an overtime hour at the rate of (2.5) times the base hourly rate.

For example, an employee who has worked a total of 45 hours with an hourly rate of $20 will have;

Regular pay=40*$20=$800

Overtime pay=5 * $20 * 2.5 = $250

Gross pay=$800 + $250 = $1,050

Income tax payable=$1050 * 30%=$315

Net pay=$1050-$315=$735

Task Requirements

Imagine you have been hired to develop this system. Familiarise yourself with the problem description and write a python program named payroll.py with the following functions:

  1. Create a main () as a driver function in your payroll program. Within the main (), you will declare all the required variables, and invoke the other methods described in the next step as required for calculations and displaying the program output.
  2. Create additional functions in your payroll program for calculations as follows:
    1. Function to calculate the overtime hours
    2. Function to calculate the gross pay
    3. Function to calculate the income tax payable and
    4. Function to calculate the net pay

This IT and Computer Science Assessment has been solved by our IT  and Computer Science  Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.