Professional Documents
Culture Documents
Jothi K R
Project Estimation
For an effective management accurate estimation of various measures is a must. With correct estimation managers can manage and control the project more
efficiently and effectively.
• Project estimation may involve the following:
• Software size estimation
• Software size may be estimated either in terms of KLOC (Kilo Line of Code) or by calculating number of function points in the software. Lines of
code depend upon coding practices and Function points vary according to the user or software requirement.
• Effort estimation
• The managers estimate efforts in terms of personnel requirement and man-hour required to produce the software. For effort estimation software
size should be known. This can either be derived by managers’ experience, organization’s historical data or software size can be converted into
efforts by using some standard formulae.
• Time estimation
• Once size and efforts are estimated, the time required to produce the software can be estimated. Efforts required is segregated into sub categories
as per the requirement specifications and interdependency of various components of software. Software tasks are divided into smaller tasks,
activities or events by Work Breakthrough Structure (WBS). The tasks are scheduled on day-to-day basis or in calendar months.
• The sum of time required to complete all tasks in hours or days is the total time invested to complete the project.
• Cost estimation
• This might be considered as the most difficult of all because it depends on more elements than any of the previous ones. For estimating project
cost, it is required to consider -
• Size of software
• Software quality
• Hardware
• Additional software or tools, licenses etc.
• Skilled personnel with task-specific skills
• Travel involved, Communication, Training and support
Cost of a project
• The cost in a project is due to:
• the requirements for software, hardware and human resources
• the cost of software development is due to the human resources needed
• most cost estimates are measured in person-months (PM)
Cost of a project (.)
• the cost of the project depends on the nature and characteristics of the
project,
• at any point, the accuracy of the estimate will depend on the amount of
reliable information we have about the final product.
Software Cost Estimation
Project Estimation Techniques
Project manager can estimate the listed factors using two broadly recognized techniques –
• Decomposition Technique
• This technique assumes the software as a product of various compositions.
• There are two main models -
• Line of Code
• Estimation is done on behalf of number of line of codes in the software product.
• Function Points
• Estimation is done on behalf of number of function points in the software product.
• Boehm postulated that any software development project can be classified into one of the
following three categories based on the development complexity:
• organic,
• semidetached, and
• embedded.
COCOMO Model
• Organic:
• A development project can be considered of organic type, if the project deals with developing a well
understood application program, the size of the development team is reasonably small, and the team
members are experienced in developing similar types of projects.
• Semidetached:
• A development project can be considered of semidetached type, if the development consists of a
mixture of experienced and inexperienced staff. Team members may have limited experience on
related systems but may be unfamiliar with some aspects of the system being developed.
• Embedded:
• A development project is considered to be of embedded type, if the software being developed is
strongly coupled to complex hardware, or if the stringent regulations on the operational procedures
exist.
COCOMO Model
Effort = a1 х (KLOC) a2 PM
Tdev = b1 x (Effort) b2 Months
PersonRequired = effort / Tdev
• Where
• KLOC is the estimated size of the software product expressed in Kilo Lines of Code,
• a1, a2, b1, b2 are constants for each category of software products,
• Effort is the total effort required to develop the software product, expressed in person
months (PMs).
Effort Tdev
Mode a1 a2 Mode b1 b2
The cost and time for all the activities are estimated, and a network diagram is
developed showing sequential interrelationships (predecessor and successor)
between various activities during the planning stage.
Scheduling:
Based on the time estimates, the start and finish times for each activity
are worked out by applying forward and backward pass techniques, critical
path is identified, along with the slack and float for the non-critical paths.
Controlling:
Event: An event (or node) will always occur at the beginning and end of an
activity. The event has no resources and is represented by a circle. The ith
event and jth event are the tail event and head event respectively.
Merge and Burst Events
An imaginary activity which does not consume any resource and time is called a
dummy activity. Dummy activities are simply used to represent a connection
between events in order to maintain a logic in the network. It is represented by a
dotted line in a network.
ERRORS TO BE AVOIDED IN CONSTRUCTING A NETWORK
2.The event numbered 1 is the start event and an event with highest
number is the end event. Before an activity can be undertaken, all
activities preceding it must be completed. That is, the activities must
follow a logical sequence (or – interrelationship) between activities.
5. A network should have only one start event and one end event.
Some conventions of network diagram are shown in
Figure (a), (b), (c), (d) below:
PROCEDURE FOR NUMBERING THE EVENTS
USING FULKERSON'S RULE
Step1: Number the start or initial event as 1.
Step2: From event 1, strike off all outgoing activities. This would have
made one or more events as initial events (event which do not have
incoming activities). Number that event as 2.
Step3: Repeat step 2 for event 2, event 3 and till the end event. The end
event must have the highest number
Example 1:
Draw a network for a house construction project. The sequence of
activities with their predecessors are given in Table , below.
PERT: Program Evaluation and Review Technique
• PERT is based on the assumption that an activity’s duration
follows a probability distribution instead of being a single value
• Three time estimates are required to compute the parameters of
an activity’s duration distribution:
• pessimistic time (tp ) - the time the activity would take if things
did not go well
• most likely time (tm ) - the consensus best estimate of the
activity’s duration
• optimistic time (to ) - the time the activity would take if things
did go well
To find Z0 ,
we know, P (Z <Z Network Model 0) = 0.5 – z (1.3416) (from normal tables, z (1.3416) = 0.4099)
= 0.5 – 0.4099
= 0.0901
= Thus, the probability of completing the R & D project in 19 days is
9.01% 9.01%.
Since the probability of completing the project in 19 days is less than 20% As in
question, we find the probability of completing it in 24 days.