4 Laboratory Activities
4 Laboratory Activities
Be sure that you will TRY DOING it INDEPENDENTLY and placed your answer it in ONE PDF FILE
ONLY (program code equivalent and screenshot of your answer).
PROBLEM #1:
CREATE A PYTHON PROGRAM FOR THE GIVEN PROBLEM BELOW:
Processing Specifications
Compute for the following:
BALANCE = TUITION FEE – DOWN PAYMENT
TUITION FEE = LECTURE FEE + LABORATORY FEE
LABORATORY FEE = TOTAL NUMBER OF LABORATORY UNITS ENROLLED X
LABORATORY RATE
LECTURE FEE = TOTAL NUMBER OF LECTURE UNITS ENROLLED X RATE PER UNIT
LABORATORY RATE = 1.5% OF THE RATE PER UNIT
Computation:
Overtime Rate = additional 3% of regular rate per hour
Tax = 10% of Gross Pay
Deduction = Under Time Pay + Insurance + Tax + SSS + Food Deduction
SSS = 5% of Gross Pay
Gross Pay = No. of hours worked x Rate per hour + Overtime Pay
Insurance = 3% of Gross Pay
Under Time Pay = No. of hours late x Rate per hour
Over Time Pay = No. of Extra service hour x Over time rate
Net Pay = Gross Pay – Deduction + Extra Income (Tip)
COMPUTATION:
Net Bill = Amount Due + Other charges
Other Charges Rate = 23% of the Amount Due
Other Charges = CMU x Other Charges Rate
Amount Due = CMU x Current Amount Rate
CMU = Present Reading – Previous Reading
INPUT Specifications:
Employee Name (ROSE ANN GONZALES)
Employee Number (2017- 1- 004537)
Employee Department (ADMINISTRATION)
Number of days present (consider 8hrs/day working hours) (13 DAYS)
Number of days absent (consider working hours) (3.5 DAYS)
Rate per hour (76.80)
Extra Income (number of hours worked) (40 HRS)
PROCESSING SPECS:
Amount paid = Total amount – Premiums + Extra Income Pay
Total amount = Total regular wage – Absences deductions
Extra Income Pay= Extra Income x Rate per hour
Premiums = SSS premium is 15% of the total amount + Medicare premium is 10% of the total
amount + tax is 25% of the total amount
Absences Deductions = Rate per hour x Number of days absent
Total Regular Wage = Rate per hour x Number of days present
OUTPUT Specifications:
Employee Name (ROSE ANN GONZALES)
Employee Number (2017- 1- 004537)
Employee Department (ADMINISTRATION)
Total Regular Wage (7987.2)
Premiums (2918.4)
Absences Deductions (2150.4)
Amount Paid (5990.4)