Question: computer Science.... ICE - SOLID / DRY + PATTERN This exercise is to be completed individually during class time. Students are allowed to discuss the
computer Science....
ICESOLIDDRY PATTERN
This exercise is to be completed individually during class time. Students are allowed to discuss the exercise and provide assistance to one another, but each student is responsible for their own final product. Students not present in class are not eligible for credit unless they are eligible for a specific accommodation which is worked out between the instructor and that student according to classdepartmentalcollege policies.
Overview
This Exercise will allow students to demonstrate their ability to apply basic patterns and OO principles to a piece of code by refactoring.
CreditNecessary Information
Take the Payroll project code and refactor it so that the design improves. You must make at least three changes to the code based upon any of the three design patterns MVC Singleton or Factory and any of the SOLID DRY principles. Identify the principle or pattern you applied by commenting upon your refactoring in the classlevel comment of each source file you change.
TASK
Program should be able to create different types of employees Fulltime. parttime, manager At the end, program should display pay for each employee.
Make three design improvements to the code provided
After each improvement, list the change and the pattern or design principle applied in the classlevel comment of each source file change. For example: "Clone removed from lines applied DRY principle and replaced with a method call to new method
Ensure your code has a good design and follows good coding conventions with comments
Zip the entire working project into one zip file and label it with your name before submilting it to the ICE DropBox.
Submissions not in zip format will not be evaluated. Students who do not
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
