CSC375 ยท 2079 ยท 5 marks
Suppose that a project was estimated to be 400 KLOC. Calculate the effort and development time for organic and semidetached.
Suppose that a project was estimated to be 400 KLOC. Calculate the effort and development time for organic and semidetached. [5]
COCOMO Basic Model - Effort and Development Time
Given
- Project Size = 400 KLOC
- Modes required: Organic and Semidetached
- Basic COCOMO constants (standard):
| Mode | a | b | c | d |
|---|---|---|---|---|
| Organic | 2.4 | 1.05 | 2.5 | 0.38 |
| Semidetached | 3.0 | 1.12 | 2.5 | 0.35 |
Formulas: $$E = a \times (KLOC)^b \text{ (Person-Months)}, \qquad D = c \times (E)^d \text{ (Months)}$$
Solution
Note: $\ln(400) = 5.99146$
1. Organic Mode
Effort: $$E = 2.4 \times 400^{1.05}$$ $$400^{1.05} = e^{1.05 \times 5.99146} = e^{6.29103} = 539.6$$ $$E = 2.4 \times 539.6 = 1295.0 \text{ PM}$$
Development Time: $$D = 2.5 \times (1295.0)^{0.38}$$ $$\ln(1295.0) = 7.16626$$ $$0.38 \times 7.16626 = 2.72318$$ $$(1295.0)^{0.38} = e^{2.72318} = 15.23$$ $$D = 2.5 \times 15.23 = 38.07 \text{ Months}$$
2. Semidetached Mode
Effort: $$E = 3.0 \times 400^{1.12}$$ $$400^{1.12} = e^{1.12 \times 5.99146} = e^{6.71044} = 819.0$$ $$E = 3.0 \times 819.0 = 2457.0 \text{ PM}$$
Development Time: $$D = 2.5 \times (2457.0)^{0.35}$$ $$\ln(2457.0) = 7.80674$$ $$0.35 \times 7.80674 = 2.73236$$ $$(2457.0)^{0.35} = e^{2.73236} = 15.37$$ $$D = 2.5 \times 15.37 = 38.43 \text{ Months}$$
Summary Table
| Mode | Effort (PM) | Development Time (Months) |
|---|---|---|
| Organic | โ 1295 PM | โ 38.07 Months |
| Semidetached | โ 2457 PM | โ 38.43 Months |
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.