Consider a system that has the following UML models:
Use Case for CalculateTotalProjectCost
Trigger: End of each month
Normal Flow of Events
For each project in the project data file, DO
Set TotalProjectCost = 0
For each employee who worked in the project, DO
TotalProjectCost = TotalProjectCost + HourlyRate*HoursWorked
Print Project#, TotalProjectCost
Data Dictionary
Project data = Project# + Name + BeginDate + EndDate + {Emp# + HoulrlyRate + HoursWorked}
In the above design the total cost of a project is broken down into employee costs. For better cost control, the management wants the total cost to be broken down into activity costs also. For example, if the project requires two activities, design and programming, then the costs for the design activity and the programming activity are also required. Show the revised Use case description and data dictionary to generate the new cost report. Make any additional assumptions required.