Discussion:
1. The package on the left contains the classes in a payroll system. The package on the right is a payroll tax subsystem.
a. What technique would you use to integrate the tax subsystem into the payroll system?
b. Show how you would solve the problem.
c. Show what modifications you would make to the existing classes or what NEW classes you would add. Use UML notation.
2. On the right side a system is running that is simulating the manufacture of computer chips. The equations in the simulation system are based on statistical probabilities of failures in the manufacturing process.
The package on the left illustrates a window and its associated class definition, which is to display these results dynamically as they occur.
The values in the top five fields are obtained when the window is opened. However, the bottom three fields should be updated after every iteration, which takes about one second. It is not desirable to have the simulation system (on the left).
a. Show how you would solve this problem.
b. Show any class methods for existing classes, new classes, and new definitions that you would use. Use UML notation.