Question: c# Instruction: Answer all questions using c# 1. Create an interface with abstract getter and setter methods for first name, last name and any other

 c# Instruction: Answer all questions using c# 1. Create an interface

with abstract getter and setter methods for first name, last name and

any other method deemed necessary. (5 marks) 2. Create another interface with

c#

Instruction: Answer all questions using c# 1. Create an interface with abstract getter and setter methods for first name, last name and any other method deemed necessary. (5 marks) 2. Create another interface with the abstract getter and setter methods for hours worked, gross salary, net salary, for each statutory deduction amount and any other method deemed necessary. [5 marks] 3. Create a class with the following attributes title, first name, last name, hours worked, gross salary and any other attribute(s) deemed necessary. Implement all abstract methods from both interfaces in the class created here. [25 marks) 4. Create a property in the class created in question 3 above to access the title of the employee. [2 marks) 5. Fulltime employees earn a gross salary of $200,000.00 while part-time employees earn $4,000.98 per hour. All gross salary are subjected to statutory deductions as follows NHT = 2%, NIS = 2.5%, EDTAX = 2.25%, and PAYE = 25%. Calculate all statutory deductions (8 marks] 6. Create read only properties to access NHT, NIS, EDTAX, PAYE, FULLTIMEGROSS, and HOURLYRATE. [12 marks] 7. Create the employee details form shown overleaf. Set default employee status to fulltime [2 marks] b. Set default hours worked to zero (1 mark] C. Clicking Exit or using the Mnemonic character (x) will close the application. [2 marks] d. Clicking Clear or using the Mnemonic character (c) will reset the controls on the form to their default status. [2 marks] Gender can only be Male or Female and one must be selected before generating pay advice. If Male is selected set the employee title to Mr. Otherwise set the title to Ms. If no gender is selected then display the message "Invalid Gender". [3 marks] First name and last name cannot be less than 3 characters after excluding leading and trailing spaces. If this condition is not met display the message "Invalid Name". [3 marks] Hours worked must be between 1 and 10 inclusive. If this condition is not met then display the message "Invalid Hours Worked". [3 marks] h. The hours worked label and hours worked text box are only visible when employment status is part- time. [3 marks] a e f. i. Clicking Submit or using the Mnemonic character (s) will display the Employee's pay advice after all conditions in f-l above are met. [3 marks] 8. Create the Pay Advice Form shown overleaf a. The pay advice form must be open as a modal dialog form with the submit button on the employee details form is clicked. [2 marks] b. Clicking OK or using the Mnemonic character (o) on the pay advice form will close the pay advice form only. [2 marks] 9. Create and Object of the class created in question 3 above to call methods and use properties of the class to interact with the employee details form. (10 marks] 10. Use constructor overloading to pass values between the forms. [7 marks) Screen Shots Fulltime PAY ADVICE Employee Details Employee We Maryland Gross Salary S200000 First Name Mary Employment Status Fume Stallo Dodations NIS 25 $5000 Last Name Jane HT 2 N 90000 Gender Female Mae TAX ED Tax 12 25 S4500 PAYE 25) S50000 der Sibout Total Deduction: 569500 Net Salary 5150500 OK Part-Time PAY ADVICE Employee Details Employee Mary Jane Gross Salary $40009.8 First Name Mary Employment Status Part Time slalulory Deductions NIS (25%) S1000 245 Last Nome Jane Hours Worked INHT 2% $800196 TAX ED Tax (2.25% $90012205 Gender Female Male PAYE (252) S1000245 Total Deduction: S12703 1115 But Cldar Submit Net Salary $27306 6885 OK Secco he Instruction: Answer all questions using c# 1. Create an interface with abstract getter and setter methods for first name, last name and any other method deemed necessary. (5 marks) 2. Create another interface with the abstract getter and setter methods for hours worked, gross salary, net salary, for each statutory deduction amount and any other method deemed necessary. [5 marks] 3. Create a class with the following attributes title, first name, last name, hours worked, gross salary and any other attribute(s) deemed necessary. Implement all abstract methods from both interfaces in the class created here. [25 marks) 4. Create a property in the class created in question 3 above to access the title of the employee. [2 marks) 5. Fulltime employees earn a gross salary of $200,000.00 while part-time employees earn $4,000.98 per hour. All gross salary are subjected to statutory deductions as follows NHT = 2%, NIS = 2.5%, EDTAX = 2.25%, and PAYE = 25%. Calculate all statutory deductions (8 marks] 6. Create read only properties to access NHT, NIS, EDTAX, PAYE, FULLTIMEGROSS, and HOURLYRATE. [12 marks] 7. Create the employee details form shown overleaf. Set default employee status to fulltime [2 marks] b. Set default hours worked to zero (1 mark] C. Clicking Exit or using the Mnemonic character (x) will close the application. [2 marks] d. Clicking Clear or using the Mnemonic character (c) will reset the controls on the form to their default status. [2 marks] Gender can only be Male or Female and one must be selected before generating pay advice. If Male is selected set the employee title to Mr. Otherwise set the title to Ms. If no gender is selected then display the message "Invalid Gender". [3 marks] First name and last name cannot be less than 3 characters after excluding leading and trailing spaces. If this condition is not met display the message "Invalid Name". [3 marks] Hours worked must be between 1 and 10 inclusive. If this condition is not met then display the message "Invalid Hours Worked". [3 marks] h. The hours worked label and hours worked text box are only visible when employment status is part- time. [3 marks] a e f. i. Clicking Submit or using the Mnemonic character (s) will display the Employee's pay advice after all conditions in f-l above are met. [3 marks] 8. Create the Pay Advice Form shown overleaf a. The pay advice form must be open as a modal dialog form with the submit button on the employee details form is clicked. [2 marks] b. Clicking OK or using the Mnemonic character (o) on the pay advice form will close the pay advice form only. [2 marks] 9. Create and Object of the class created in question 3 above to call methods and use properties of the class to interact with the employee details form. (10 marks] 10. Use constructor overloading to pass values between the forms. [7 marks) Screen Shots Fulltime PAY ADVICE Employee Details Employee We Maryland Gross Salary S200000 First Name Mary Employment Status Fume Stallo Dodations NIS 25 $5000 Last Name Jane HT 2 N 90000 Gender Female Mae TAX ED Tax 12 25 S4500 PAYE 25) S50000 der Sibout Total Deduction: 569500 Net Salary 5150500 OK Part-Time PAY ADVICE Employee Details Employee Mary Jane Gross Salary $40009.8 First Name Mary Employment Status Part Time slalulory Deductions NIS (25%) S1000 245 Last Nome Jane Hours Worked INHT 2% $800196 TAX ED Tax (2.25% $90012205 Gender Female Male PAYE (252) S1000245 Total Deduction: S12703 1115 But Cldar Submit Net Salary $27306 6885 OK Secco he

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!