Professional Documents
Culture Documents
Soft Plan
Soft Plan
Please use the COCOMO method to estimate the size (in terms of line of code in C) and the effort (in terms of man month) of a software project, which is described in the following table. Measurement Parameter # of user input # of user output # of user inquires # of files # of external interfaces Solution: Step 1. Compute the UFC (unadjusted function-point) count Measurement Parameter # of user input # of user output # of user inquires # of files # of external interfaces Count 10 15 8 25 6 Weight Factor 3 4 3 7 5 or or or or or 4 or 6 5 or 7 4 or 6 10 or 15 7 or 10 Weight 60 75 48 375 42 Count 10 15 8 25 6 Weight Factor 3 4 3 7 5 or or or or or 4 5 4 10 7 or 6 or 7 or 6 or 15 or 10 Weight
UFC = 60 + 75 + 48 +375 + 42 = 600 Step 2. Compute the FC (function point) provided the project complexity factor is 350 FP = UFC * (0.65 + 0.01 * 35) = 600 * (0.65 + 0.35) = 600
Step 3. Compute the code size in C, and its average lines of code/FP is 128 Code Size = 128 * 600 = 76800 Step 4. Estimate the effort if the projects complexity is moderate. E = 3.0 * (76.8) ^1.12 = 3 * 129.3 = 388
Example of CPM
The software project consists of a list of tasks along with their estimated durations which are shown in the estimation table below. The project manager also knows the dependencies among those tasks. Please make a CPM graph and a Gantt chart to show how to organize all the tasks so that the project can be down in the shortest time by Nancy and Julia. Tasks A B C D E F G H I Dependency Duration 4 3 8 7 9 12 2 5 6
Tasks A B C D E F G H I
Step 3. Assign the tasks to Nancy and Julia, and compute the earliest start time
Nancy
A 4
D 7
12
F 12
24
I 6
Julia
B 3
C 8
12
E 9
21 G 2
24 H 5
Step 4. Compute the latest possible start time given the earliest completion time, 30.
Nancy
0 0 0 1
A 4
4 5 4 4
D 7
F 12 12 12 12 13 E 9
24 24
I 6
Julia
B 3
C 8
21 G 22 2
23 H 25 5