10 Software Management

Software Engineering ยท Unit 10 ยท 7 hrs

Software Management

Exam-focused notes for Software Management (Software Engineering, CSC375): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.

Software Management in short

Software project management plans, schedules, staffs and controls the work of building software, estimates its cost and duration before it starts, and puts in place the quality and configuration discipline needed to keep a changing system trustworthy.

Software Management: notes

Software Project Management

Software project management is the art and science of planning and leading software projects; it is a sub-discipline of general project management, concerned with planning, implementing, monitoring and controlling software projects, and is essential to software engineering, since good management cannot guarantee a project's success but bad management reliably causes failure. The software project manager plans, executes and controls the project and schedules its development. Software project management differs from managing other kinds of project for reasons specific to software: the product is intangible, so progress cannot be checked simply by looking at it; there is no single standard software process every project follows; and large software projects are often one-off undertakings, without an earlier, identical project to draw estimates from.

Project Management Activities (Project Planning, Risk Management, People Management, Reporting and Proposal Writing)

Project planning breaks the work down into parts, assigns them to team members, allocates resources, and prepares responses to problems as they arise. A project plan is normally organised into standard sections: an introduction stating objectives and constraints (time, budget); project organisation, the people involved and their roles; risk analysis; hardware and software resource requirements; a work breakdown into activities, milestones and deliverables; a project schedule showing dependencies; and a monitoring and reporting mechanism. Alongside the main plan, an organisation typically also keeps a quality plan, a validation plan, a configuration management plan, a maintenance plan and a staff development plan. A milestone is a recognisable end point of some process activity, often no more than a short progress report, marking the end of a distinct stage; a deliverable is an actual result, a report, document or software increment, handed over to the customer at the end of a major phase. Deliverables are usually milestones, but a milestone need not be a deliverable, and one deliverable can be made up of several smaller ones.

Risk management identifies risks that might affect a project's schedule or the quality of the software it produces, and acts to avoid them, assessing both the probability that each risk occurs and its consequence if it does. Risks fall into three categories: project risks (affect the schedule and delay development, e.g. staff turnover, hardware unavailability), technical risks (affect implementation, testing and maintenance, usually from the team's insufficient knowledge of some part of the project), and business risks (threaten the developing organisation itself, e.g. a shift in technology or a competing product reaching market first). The process is iterative: risk identification lists possible risks; risk analysis judges each one's probability, commonly banded very low (under 10 percent), low (10 to 25 percent), moderate (26 to 50 percent), high (51 to 75 percent) or very high (over 75 percent), together with its impact; risk planning chooses an avoidance strategy (reduce the chance the risk arises), a minimisation strategy (reduce its impact) or a contingency plan (a fallback if it happens anyway); and risk monitoring rechecks every identified risk regularly to see whether its probability or effect has changed. This combined discipline of risk mitigation, monitoring and management is often called RMMM.

People management, the planning, organising, directing and controlling of an organisation's human resources, ensures organisational, individual and social needs are all satisfied together, and covers attracting and retaining the people a project needs. Reporting and proposal writing covers the project proposal needed to win a contract in the first place, stating objectives, approach, and cost and schedule estimates, together with the ongoing progress reports the monitoring mechanism calls for once the project is under way.

What this unit covers

  • Software Project Management
  • Project Management Activities (Project Planning, Risk Management, People Management, Reporting and Proposal Writing)
  • Project Planning (Software Pricing, Plan-Driven Development, Project Scheduling, Estimation Techniques, COCOMO Cost Modeling)
  • Introduction to Quality Management and Configuration Management

Project Planning

2081 ยท 10 marks

Explain the importance of software pricing. Highlight COCOMO cost modeling technique. List its disadvantage.[10]

Show solved answer

Software Pricing, COCOMO Cost Modeling, and Its Disadvantages


1. Importance of Software Pricing

Software pricing is a critical activity in software project management. It must take into account broader organizational, economic, political, and business considerations. Simply calculating the cost of development is not enough; pricing decisions are influenced by many strategic factors.

The major factors that affect software pricing are:

FactorExplanation
Market Entry StrategyA development organization may quote a low price if it wants to move into a new segment of the software market. Accepting low profit in one project may give the opportunity of more profit later.
Uncertain Cost EstimationIf an organization has no clear idea about cost estimation, it may increase its price by adding a contingency amount to cover unexpected expenses.
Unclear RequirementsIf the customer is not clear about their requirements, there is a chance of changing requirements later. In such cases, the organization may initially lower its price to win the contract.
Financial HealthIf the financial health of the organization is not good, they may lower their price to gain a contract and establish themselves in business.
Competitive PositioningPricing helps an organization position itself competitively in the market against rival software vendors.

Why Software Pricing Matters:

  • It determines the profitability and sustainability of a software organization.
  • It affects the bidding and tendering process for software contracts.
  • It helps in resource planning -- knowing how much to invest in development, testing, and maintenance.
  • Roughly 60% of costs are development costs and 40% are testing costs, so accurate pricing ensures these are covered.
  • For customer software, evolution costs often exceed development costs, making long-term pricing strategy essential.

2. COCOMO Cost Modeling Technique

Definition

The Constructive Cost Model (COCOMO) is an algorithmic software cost estimation model. It predicts or estimates:

  • The effort required for the project (in person-months)
  • The total project cost
  • The scheduled time for the project

This model depends on the number of lines of code (LOC) for software product development.


Estimation Approaches

COCOMO fits within the broader software estimation process, which includes estimating:

  • Size of the software product
  • Effort required
  • Overall cost of the project

Estimation can be done using either:

  • Top-down approach (also called Macro Model): Overall cost is derived from global properties of the project.
  • Bottom-up approach: The cost of each software component is estimated individually and then combined to arrive at the overall project cost. COCOMO's detailed model is the leading method using this bottom-up approach.

Types / Levels of COCOMO

COCOMO is applied at three levels depending on the accuracy needed:

a) Basic COCOMO

  • Estimates effort and duration based purely on lines of code (LOC).
  • Uses the formula:
Effort (E)    = a * (KLOC)^b   [person-months]
Duration (D)  = c * (E)^d      [months]

Where a, b, c, d are constants that depend on the project type.

b) Intermediate COCOMO

  • Extends Basic COCOMO by introducing cost driver attributes such as:
    • Product attributes (reliability, complexity)
    • Hardware attributes (memory constraints)
    • Personnel attributes (analyst capability)
    • Project attributes (use of software tools)
  • These attributes adjust the effort estimate more accurately.

c) Detailed COCOMO (Advanced)

  • Uses the bottom-up approach.
  • The cost of each individual software component is estimated and then combined.
  • It aims at constructing the estimate of a system from the knowledge gained about small software components and their interactions.
  • Provides the most accurate estimate among the three levels.

Project Categories in COCOMO

ModeDescriptionExample
OrganicSmall, simple projects with experienced teamsPayroll system
Semi-detachedMedium complexity, mixed experienceCompiler design
EmbeddedComplex, tight constraints (hardware/software)Air traffic control

3. Disadvantages of COCOMO

Despite being widely used, COCOMO has several notable disadvantages:

  1. Dependence on Lines of Code (LOC)

    • The model relies heavily on LOC as the primary input. LOC is difficult to estimate accurately at the early stages of a project, making early estimates unreliable.
  2. Does Not Handle Modern Development Well

    • COCOMO was designed for traditional software development. It does not adequately address object-oriented development, component-based development, or agile methodologies.
  3. Difficulty in Accurate Cost Driver Assessment

    • In Intermediate and Detailed COCOMO, the cost drivers (effort multipliers) are subjective and require expert judgment, which can introduce human bias into the estimation.
  4. Not Suitable for All Project Types

    • COCOMO is less effective for real-time systems, embedded systems, or projects with rapidly changing requirements, as these do not fit neatly into its three project categories.
  5. Ignores Reuse and COTS Components

    • The model does not properly account for reused code, commercial off-the-shelf (COTS) components, or third-party libraries, which are common in modern software development.
  6. Historical Data Dependency

    • The constants (a, b, c, d) used in the formulas are derived from historical project data. If an organization's projects differ significantly from the data used to calibrate the model, the estimates will be inaccurate.
  7. Does Not Consider Team Dynamics

    • COCOMO does not fully account for team communication overhead, organizational culture, or management quality, all of which significantly affect project cost and schedule.

Summary Table

AspectDetail
Software PricingStrategic decision based on market, finance, and requirements clarity
COCOMO TypeAlgorithmic cost estimation model
InputLines of Code (KLOC)
Open this answer on its own page โ†’

2080 ยท 5 marks

Explain COCOMO model. [5]

The Constructive Cost Model (COCOMO) is an algorithmic software cost estimation model. It predicts or estimates the effort required for a project, the total project cost, and the scheduled time for the project. This model depends on the number of lines of code (LOC) for software product developme...

Open this answer on its own page โ†’

2079 ยท 5 marks

Suppose that a project was estimated to be 400 KLOC. Calculate the effort and development time for organic and semidetached. [5]

Show solved answer

COCOMO Basic Model - Effort and Development Time

Given

  • Project Size = 400 KLOC
  • Modes required: Organic and Semidetached
  • Basic COCOMO constants (standard):
Modeabcd
Organic2.41.052.50.38
Semidetached3.01.122.50.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

ModeEffort (PM)Development Time (Months)
Organicโ‰ˆ 1295 PMโ‰ˆ 38.07 Months
Semidetachedโ‰ˆ 2457 PMโ‰ˆ 38.43 Months
Open this answer on its own page โ†’

2077 ยท 5 marks

Explain with example how COCOMO can be used for software cost estimation? [5]

The Constructive Cost Model (COCOMO) is an algorithmic software cost estimation model that predicts the effort required, total project cost, and scheduled time for a software project. It depends primarily on the number of lines of code (LOC) for software product development. --- There are three t...

Open this answer on its own page โ†’

Project Management Activities

2081 ยท 5 marks

How risk management is carried out during software development? Explain. [5]

Risk management is the process of identifying risks that might affect the project schedule or quality of the software being developed, and taking action to avoid or minimize these risks. It involves assessing major project risks to establish the probability that they will occur and the consequenc...

Open this answer on its own page โ†’

2076 ยท 10 marks

Discuss different types of risks which are likely to arise in software projects. Briefly explain risk analysis stage during risk management process.[10]

According to the notes, there are three main categories of risks likely to occur in software projects: --- Project risks influence the schedule of a software project. If these risks occur, they delay the development process. Examples: - Staff turnover (key team members leaving the project) - Hard...

Open this answer on its own page โ†’

Introduction to Quality Management and Configuration Management

2080 ยท 10 marks

In the software development process, how does software configuration management facilitate the changes that may occur during different stages of a software development life cycle? Justify your explanation with example.[10]

Software Configuration Management (SCM) is the general process of managing a changing software system throughout its development and maintenance lifecycle.: "Configuration management is the name given to the general process of managing a changing software system. During the development process, w...

Open this answer on its own page โ†’

2079 ยท 10 marks

Explain in detail about the activities carried out in software configuration management. Why it is required?[10]

Software Configuration Management (SCM) is a set of activities designed to manage changes to software products throughout the software development life cycle. It is a discipline that applies technical and administrative direction to identify and document the functional and physical characteristic...

Open this answer on its own page โ†’

2079 ยท 5 marks

What do you understand by software quality assurance? [5]

Software Quality Assurance (SQA) is a set of activities that ensures processes, procedures, and standards defined for a software project are implemented correctly. It is a process that works parallel to the development of software and focuses on improving the development process so that problems ...

Open this answer on its own page โ†’

2077 ยท 10 marks

Explain the detail tasks in a software configuration management process with example.[10]

Show solved answer

Software Configuration Management (SCM) Process - Detailed Tasks

Definition

Software Configuration Management (SCM) is the general process of managing a changing software system. During the development process, we have to keep track of the many different versions of each software component and ensure that changes made by different developers do not interfere with each other. SCM is concerned with the policies, processes, and tools for managing changing software systems.


Why SCM is Needed

Software systems are constantly changing during development and after delivery. Multiple developers may work on the same system simultaneously, different versions exist for different customers, and bugs must be fixed while new features are added. Without SCM, chaos results - wrong versions get delivered, changes are lost, and conflicts arise between developers.

Example Context: Consider a team of 5 developers building an Online Banking System. Developer A is fixing a security bug in Login.java, while Developer B is adding a new feature to the same file. Without SCM, one developer's work will overwrite the other's.


Detailed Tasks in SCM Process

Task 1: Change Management

Definition: Change management is the process of keeping track of requests for changes to the delivered software from customers and developers, working out the costs and impact of making these changes, and deciding whether and when the changes should be implemented.

Steps involved:

  1. A change request is submitted formally
  2. The change is analyzed for cost, impact, and feasibility
  3. A Change Control Board (CCB) approves or rejects the change
  4. Approved changes are assigned to developers
  5. Changes are tracked until completion

Example: In the Online Banking System, a customer requests: "Add UPI payment support."

  • A Change Request Form (CRF) is filled out
  • The team estimates it will take 3 weeks and affect Payment.java, Transaction.java
  • CCB approves the change
  • Developer C is assigned the task
  • The change is tracked from request to deployment

Task 2: Version Management

Definition: Version management is the process of keeping track of different versions of software components and the systems in which these components are used. It also involves ensuring that changes made by different developers to these versions do not interfere with each other.

Key concepts:

  • Version: A specific instance of a software item (e.g., v1.0, v1.1, v2.0)
  • Variant: A version created for different environments (e.g., Windows variant, Linux variant)
  • Baseline: A snapshot of a system at a particular point in time

Example:

Online Banking System Versions:
- v1.0  --> Initial release (basic login, balance check)
- v1.1  --> Bug fix release (fixed login timeout issue)
- v2.0  --> Major release (added UPI payment support)
- v2.0-Windows --> Windows variant
- v2.0-Android --> Android variant

Tools like Git, SVN, or CVS are used for version management. For example:

git commit -m "Fixed login timeout bug - v1.1"
git tag v1.1
git branch feature/upi-payment   # new branch for v2.0 development

Task 3: System Building

Definition: System building is the process of assembling program components, data, and libraries, then compiling and linking these to create an executable system. Different versions of components may be included in different builds.

Steps involved:

  1. Identify which versions of components to include
  2. Retrieve those versions from the version management system
  3. Compile and link all components
  4. Run automated tests on the built system
  5. Create a build report

Example:

For the Online Banking System, a build specification might be:

Build: v2.0 Release Build
Components:
  - Login.java         (version 1.3 - security patched)
  - Payment.java       (version 2.1 - UPI added)
  - Transaction.java   (version 1.8)
  - Database.java      (version 1.5)
Build Tool: Maven / Gradle
Command: mvn clean install
Output: BankingApp-v2.0.jar

Build tools like Maven, Gradle, Ant, or Make automate this process. Continuous Integration (CI) tools like Jenkins can trigger automatic builds whenever a developer commits code.


Task 4: Release Management

Definition: Release management involves preparing software for external release and keeping track of the system versions that have been released for customer use. It includes creating the release package (executable, documentation, configuration files) and distributing it to customers.

A release includes:

  • The executable programs (compiled code)
  • Configuration files
  • Data files needed for installation
  • Installation programs
  • Electronic and paper documentation
  • Packaging and associated publicity

Types of releases:

TypeDescriptionExample
Major releaseSignificant new functionalityv1.0 to v2.0
Minor releaseSmall improvements and bug fixesv2.0 to v2.1
Patch releaseEmergency bug fixes onlyv2.1 to v2.1.1

Example:

For the Online Banking System v2.0 release:

Release Package Contents:
- BankingApp-v2.0.jar          (executable)
- config.properties             (configuration file)
- database_schema_v2.sql        (data file)
- install.sh / setup.exe        (installation script)
- UserManual_v2.0.pdf           (user documentation)
- ReleaseNotes_v2.0.txt         (what changed)

The release manager records: "v2.0 released to customers on 2024-01-15, deployed on Linux servers, supports UPI payments."


Summary Table

SCM TaskPurposeKey Tool/Artifact
Change ManagementTrack and control change requestsChange Request Form, CCB
Version ManagementTrack different versions of componentsGit, SVN, CVS
System BuildingAssemble and compile components into an executable systemMaven, Gradle, Ant, Make, Jenkins
Release ManagementPrepare a release package and track what was shipped to customersRelease package, release notes

Conclusion

The four tasks form a single controlled loop. A change request is raised and approved by the CCB, the developer checks out the affected components and checks in new versions under version management, the build process assembles a specific set of those versions into an executable system, and release management packages that build with its documentation and records what was delivered. Because every artefact is versioned and every change is traced back to an approved request, the team can always reproduce any past build of the Online Banking System exactly.

Open this answer on its own page โ†’

2077 ยท 5 marks

Explain the software quality assurance with example. [5]

Software Quality Assurance (SQA) is a set of activities that ensures processes, procedures, and standards defined for a software project are implemented correctly. It is a process that works parallel to the development of software and focuses on improving the development process so that problems ...

Open this answer on its own page โ†’