COCOMO-Model
Question 1 |
A company needs to develop digital signal processing software for one of its newest inventions. The software is expected to have 40000 lines of code. The company needs to determine the effort in person-months needed to develop this software using the basic COCOMO model. The multiplicative factor for this model is given as 2.8 for the software development on embedded systems, while the exponentiation factor is given as 1.20. What is the estimated effort in person-months?
234.25 | |
932.50 | |
287.80 | |
122.40 |
Question 2 |
Consider the basic COCOMO model where E is the effort applied in person-months, D is the development time in chronological months, KLOC is the estimated number of delivered lines of code (in thousands) and ab, bb, cb, db have their usual meanings. The basic COCOMO equations are of the form
E = a b(KLOC)exp (b b, D = c b(E)exp (d b) | |
E = a b(KLOC)exp (b b, D = c b(E)exp (d b) | |
E = a bexp(b b), D = c b(KLOC)exp (d b) | |
E = a bexp(D b), D = c b(KLOC)exp (b b) |
Effort applied (E) = ab(KLOC)bb
Development time (D) = cb(E)db
Question 3 |
E = 2.0(KLOC)1.05 Per Month | |
E = 3.4(KLOC)1.06 Per Month | |
E = 2.4(KLOC)1.05 Per Month | |
E = 2.4(KLOC)1.07 Per Month |
1. Effort Applied (E) = ab(KLOC)bb [ man-months ]
2. Development Time (D) = cb(Effort Applied)db [months]
3. People required (P) = Effort Applied / Development Time [count]
where, KLOC is the estimated number of delivered lines (expressed in thousands ) of code for project. The constants ab, bb, cb and db are given in the following table (note: the values listed below are from the original analysis, with a modern reanalysis producing different values)

Question 4 |
196.77 | |
206.56 | |
199.56 | |
210.68 |
Effort Applied (E) = ab(KLOC)bb [ person-months ]
= 2.2 x(20)1.50
= 2.2 x 89.44
= 196.77
Question 5 |

19 | |
21 | |
20 | |
10 |
It is a quantitative measure of the number of linearly independent paths through a program's source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 - 1 = 9
Number of decision points in module-B = 10 - 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
