Any project faces uncertainty. Risk management is the planned handling of this uncertainty so that the project is not surprised by problems.

What is Risk?

A risk is a possible future problem that, if it happens, will harm the project. It has two parts, the probability that it will happen and the impact if it does. A risk that has already happened is called a problem, and it is handled as part of the normal work of the project. Risks can be project risks, that affect the schedule and resources, product risks, that affect the quality and performance of the software, and business risks, that affect the organisation.

Definition: Risk management. The process of identifying, analysing, planning for, monitoring and controlling the risks of a project.

Activities of Risk Management

The activities form a cycle. Risk identification lists the possible risks, by checklists, brainstorming and the study of past projects. Typical risks are staff turnover, a change of management, hardware not available, changes in requirements, wrong size estimates and the use of a new technology. Risk analysis assesses the probability and the impact of each risk, and finds the risk exposure = probability × loss. Risk planning prepares strategies to avoid the risk, to minimise its effect, or to prepare a contingency plan. Risk monitoring watches the risks throughout the project, and checks the signs that they are becoming problems.

Risk Strategies

There are three kinds of strategy. Avoidance strategies reduce the probability, for example by buying a component instead of building a risky one. Minimisation strategies reduce the impact, for example by training backup staff. Contingency plans say what to do if the risk occurs, for example a fallback design. A risk table lists each risk, its probability, impact and strategy, and is ranked by exposure.

Table 1.6: Risk management activities

Activity Question Output
Identification What can go wrong? List of risks
Analysis How likely and how serious? Ranked risk table
Planning What will we do? Avoidance, minimisation, contingency plans
Monitoring Is it becoming real? Updated risk table

Example 1.6: Ranking risks

Problem: Rank the risks. R1: staff leave, probability 0.2, loss 500000. R2: requirements change, probability 0.5, loss 150000. R3: hardware is late, probability 0.1, loss 300000.

Solution:

  1. RE(R1) = 0.2 × 500000 = 100000.
  2. RE(R2) = 0.5 × 150000 = 75000.
  3. RE(R3) = 0.1 × 300000 = 30000.

Result: The order is R1, R2, R3, so the loss of staff should be dealt with first.

risks = {"R1": (0.2, 500000), "R2": (0.5, 150000),
         "R3": (0.1, 300000)}
rank = sorted(risks.items(), key=lambda r: -r[1][0] * r[1][1])
for name, (p, c) in rank:
    print(name, p * c)

Output

R1 100000.0
R2 75000.0
R3 30000.0

Common mistakes

  • Treating risk identification as a single event at the start.
  • Ranking risks by probability alone and ignoring their impact.
  • Having no contingency plan for a high-exposure risk.

Key takeaways

  • Risk has a probability and an impact.
  • Risk exposure = probability × loss.
  • The activities are identification, analysis, planning and monitoring.
  • Strategies are avoidance, minimisation and contingency.

Practice questions

  1. What is risk exposure?
  2. List the activities of risk management.
  3. Distinguish avoidance and minimisation strategies.

Answers to the practice questions

  1. The probability of a risk multiplied by the loss it would cause.
  2. Risk identification, analysis, planning and monitoring.
  3. Avoidance reduces the probability of the risk, minimisation reduces its impact.

Sources

  • Official BCA syllabus Advanced Software Engineering, course code 25BCA405DS01, Unit I