Posts

COCOMO

COCOMO stands for CO nstructive CO st MO del COCOMO ,COnstrustive COst MOdel is static single variable model . Barry Bohem introduced COCOMO models. There is a hierarchical of these models. Model 1: Basic COCOMO model is static single-valued model that computers software development effort (and cost) as a function of program size expressed in estimate lines of code. Model 2 : Intermediate COCOMO model computers software development effort as a function of program size and a set of "cost drivers"  that include subjective assessments of product ,hardware ,personnel, project attributes. Model 3: Advanced COCOMO model incorporates  all characteristics of the intermediate version with an assessment of the cost driver's impact on each step,like analysis ,design ,etc. COCOMO can be applied to the following software project's categories. Organic mode Embedded mode  Problem : KLOC =10.9 E = a b (KLOC)exp(b b )     =2.4 (10.9)exp(1.05)   ...

for loop - syntax and explaination

The for loop :- Syntax:                    for (initialization;condition ;increase)                           {         ---------;                                     statement;                            } and its main function is to repeat statement while condition remains true , like the while loop . But in addition ,for provides places to specify an initialization instruction and an increase instruction . The three expression inside for loop have to be separated by semicolon. ...