MACHINE PROBLEM #4:
• This activity is by pair.
• Please follow the filename format (minus 10 for the wrong filename)
• Filename: MP4<Lastname1Lastname2> .pdf
• Example: MP4MansuetoTraballo.pdf
Instructions:
1. Create a sqlite database that will store the following data:
a. Employee ID
b. Employee Name
c. Position Code
d. Civil Status
e. No. of days worked
f. Basic Pay
g. SSS Contribution
h. Withholding Tax
i. Net Pay
2. For Employee ID:
a. Upon choosing the desired Employee ID, it will automatically display the Employee
Name. Set at least 5 Employee ID’s.
3. For Compute button:
a. Compute the Basic Pay, SSS Contribution, Withholding Tax and Net Pay use the data on
the table below as your reference for computation.
Position Code Rate/Day Civil Status TAX Rate Basic Pay SSS
Rate
A 500.00 Single 10 % 10,000 & above 7%
B 400.00 Married 5% 5,000 – 9,999 5%
C 300.00 Widowed 5% 1,000 – 4,999 3%
below 1,000 1%
Formula:
Basic Pay = No. of Days Worked * Rate/Day
SSS Contribution = Basic Pay * SSS Rate
Withholding Tax = Basic Pay * Tax Rate
Net Pay = Basic Pay – (SSS Contribution + Withholding Tax)
b. After computing, save it on the database and then display the next activity and display
all the necessary details as shown below: (Note: All of the information displayed on the
next activity must be fetched from the database).
4. For Clear button:
a. All entries will be set to the default values.
5. For Back button:
a. Go back to the Main Activity.
6. Create a doc file (.pdf) and save all the source code, as well as a screenshot of your prototype,
and send it here.