Professional Documents
Culture Documents
Se Tutorial 5
Se Tutorial 5
void main()
{
int i,j,k;
readln (i,j,k);
if( (i < j) || ( i > k) )
{
writeln("then part");
if (j < k)
writeln ("j less then k");
else writeln ( " j not less then k");
}
else writeln( "else Part");
}
(i) Draw the flow graph.
(ii) Determine the cyclomatic complexity.
(iii) Arrive at all the independent paths.
Q13. Consider a project for which the manpower requirement is 200 PY and the
development time is 2 years. Calculate the peak manning time.
Q14. A software project is planned to cost 95PY in a period of 1 year and 9 months.
Calculate the peak manning and average rate of software them build up.
Q15. Write a program in C to add two numbers and then calculate the values of then
following software science metrics:
(i) n (vocabulary of a program )
(ii) N (program length)
(iii)V (Volume)
(iv) L (program level)