Final answer:
To calculate the effort, development time, average staff size, and productivity of a project, you need to know the project size (lines of code) and the average productivity. Effort can be calculated by dividing the project size by the average productivity. Development time can be found by dividing the effort by the average staff size. And productivity can be calculated by dividing the project size by the effort.
Step-by-step explanation:
Effort is calculated by dividing the project size (lines of code) by the average productivity. In this case, the project size is 120,000 lines of code. To find the effort, we need to know the average productivity. The average staff size can be calculated by dividing the effort by the development time. Finally, the productivity can be calculated by dividing the project size by the effort.
Let's assume the average productivity is 100 lines of code per hour. Using this information, we can calculate the effort as follows:
- Effort = Project Size / Average Productivity
- Effort = 120,000 / 100 = 1,200 hours
The development time can be calculated by dividing the effort by the average staff size. Let's assume the average staff size is 5 people:
- Development Time = Effort / Average Staff Size
- Development Time = 1,200 / 5 = 240 hours
Finally, the productivity can be calculated by dividing the project size by the effort:
- Productivity = Project Size / Effort
- Productivity = 120,000 / 1,200 = 100 lines of code per hour