07 SPM

Updated 4 Oct 2026


1. The 10-Step Project Planning Overview (Step-Wise)

One-liner: A structured process from "should we even do this?" to "execute and monitor."

StepNameWhat Happens
0Project SelectionFeasibility Study + Cost-Benefit Analysis
1Scope & ObjectivesDefine goals, objectives, stakeholders
2Project InfrastructureTeam roles, standards, tools
3Project CharacteristicsConstraints (tech, process, resource)
4Products & ActivitiesWBS + Activity Network (PERT)
5Estimate EffortsSize → Effort → Cost → Duration → Staffing → Schedule
6Identify RisksRisk identification, analysis, planning
7Allocate ResourcesPeople, materials, equipment — time vs resource constrained
8Review PlanCheck feasibility of the plan
9Execute PlanDo the work
10Lower Level PlanningDetailed planning for each activity → repeat loop

2. Step 0 — Feasibility Study

Should we even build this? The feasibility study answers that question before spending real money.

Content of a Feasibility Study:

  • Introduction (what is this document)
  • Description of current situation
  • Problem description
  • Proposed development
  • Business and financial aspects
  • Technical aspects
  • Organizational aspects
  • Estimated costs (development + operational)
  • Envisaged benefits
  • Recommendation

3. Cost-Benefit Analysis (CBA)

Compare expected costs vs. benefits — in money terms.

Two Steps:

  1. Identify and estimate all costs and benefits
  2. Express in common units (money) → calculate net benefit

Net Benefit=Total Benefit−Total Cost\boxed{\text{Net Benefit} = \text{Total Benefit} - \text{Total Cost}}

Types:

CategoryExamples
CostsDevelopment, Setup, Operational
Direct BenefitsRevenue increase, cost savings
Assessable Indirect BenefitsImproved customer satisfaction
Intangible BenefitsBrand image, staff morale

4. Cash-Flow Forecasting

Maps out WHEN money goes out and comes in over the project's life.

  • During development: negative cash flow (spending money)
  • During operation: positive cash flow (earning returns)
  • End of life: possible decommissioning costs

🏠 Analogy: Building a house — pay during construction (negative), earn rent after (positive), pay demolition at the end.

Example (4 projects, 5-year life):

YearProject 1Project 2Project 3Project 4
0−100,000−1,000,000−100,000−120,000
1–410,000–20,000200,00030,00030,000
5100,000300,00030,00075,000
Net Profit50,000100,00050,00075,000

5. Cost-Benefit Evaluation Techniques (4 Methods)

Method 1 — Net Profit

Total income − total cost over the project life. Ignores time value of money.

Net Profit=∑All Cash Flows (including initial investment)\boxed{\text{Net Profit} = \sum \text{All Cash Flows (including initial investment)}}


Method 2 — Payback Period

How long until you break even (recover the initial investment)?

  • Prefer the shortest payback period — minimizes time "in debt"
  • Limitation: Ignores overall profitability after breakeven

⏱️ Like a loan — when do I finish paying it back? Doesn't tell you how much profit you make after.

From example:

  • Project 1 → payback at Year 5
  • Project 3 → payback at Year 4
  • Project 4 → payback at Year 4

Method 3 — Return on Investment (ROI) / ARR

How much % return per year relative to the investment?

ROI=Average Annual ProfitTotal Investment×100\boxed{ROI = \frac{\text{Average Annual Profit}}{\text{Total Investment}} \times 100}

Example — Project 1: Avg Annual Profit=50,0005=10,000\text{Avg Annual Profit} = \frac{50{,}000}{5} = 10{,}000 ROI=10,000100,000×100=10%ROI = \frac{10{,}000}{100{,}000} \times 100 = 10\%

📈 Like an interest rate on your investment. Higher = better.


Method 4 — Net Present Value (NPV)

Money today is worth MORE than money in the future. NPV converts all future cash flows to today's value.

PV=Value in Year t(1+r)t\boxed{PV = \frac{\text{Value in Year } t}{(1+r)^t}}

Discount Factor=1(1+r)t\boxed{\text{Discount Factor} = \frac{1}{(1+r)^t}}

NPV=∑t=0nCt(1+r)t\boxed{NPV = \sum_{t=0}^{n} \frac{C_t}{(1+r)^t}}

Where:

  • rr = discount rate (e.g. 10% = 0.10)
  • tt = years into the future
  • CtC_t = cash flow at year tt

NPV Decision Rule:

NPVMeaningDecision
> 0Investment adds valueAccept ✅
< 0Investment destroys valueReject ❌
= 0Breaks even at required rateDepends on strategy

🕐 Analogy: ฿100 today ≠ ฿100 in 5 years. Today's ฿100 can be invested and grow. NPV adjusts for that.

Discount Factor Table (key values to know):

Period8%10%12%
01.0001.0001.000
10.9260.9090.893
20.8570.8260.797
30.7940.7510.712
40.7350.6830.636
50.6810.6210.567

Worked Example — Project 1 at 10%:

YearCash FlowDiscount FactorDiscounted CF
0−100,0001.0000−100,000
110,0000.90919,091
210,0000.82648,264
310,0000.75137,513
420,0000.683013,660
5100,0000.620962,090
NPV£618 ✅

Note: NPV and IRR together = Discounted Cash Flow (DCF) technique.


6. Step 1 — Goals vs. Objectives

Goals — the "WHAT"

  • Broad, big-picture statements
  • Simply stated, describes the final outcome

🎯 "ผู้เยี่ยมชมจะเชื่อว่า global warming มีอยู่จริง"

Objectives — the "HOW"

  • Specific, measurable, operational
  • Start with an action verb
  • Support the goal
  • Include quantitative measure

🎯 Goal = "อยากผอม" | Objective = "ออกกำลังกาย 3 วัน/สัปดาห์ ลด 5 กก. ภายใน 3 เดือน"


7. S.M.A.R.T. Objectives

LetterMeaningDescription
SSpecificWhich problem is addressed
MMeasurableHow much / how many / how well
AAction-OrientedUses action verbs
RReasonableAchievable result
TTime-boundHas a specific deadline

8. Types of Objectives

TypeStarts WithDescribesExample
Process Objective"To develop" / "To establish"A process to follow"To evaluate personnel requirements"
Outcome Objective"To increase" / "To reduce"A measurable end result"To increase options by 10%"

9. A-B-C-D-E Method for Measurable Objectives

A=AudienceB=BehaviorC=ConditionsD=DataE=Era\boxed{A = \text{Audience} \quad B = \text{Behavior} \quad C = \text{Conditions} \quad D = \text{Data} \quad E = \text{Era}}

LetterQuestion It Answers
A — AudienceWho is affected?
B — BehaviorWhat observable change?
C — ConditionsHow will it be measured?
D — DataWhat level of achievement = success?
E — EraWhen will it be measured?

10. Types of Evaluation

TypeQuestionFocus
Formative / Process"How are we doing?"Ongoing; short-term progress
Summative / Product"How did we do?"Final effectiveness; outcomes

11. Step 2 — Project Infrastructure

Team Roles:

Project Manager → Team Leader → Project Coordinator → Business/System Analyst → Systems Architect → Software Engineers → Testers → DevOps → QA Auditor

Standards Hierarchy:

LevelExamples
ProcessPSP, TSP, CMMI, ISO, Agile
DocumentationOrg templates, Project templates, Personal templates
CodeOrg coding standard, Project coding standard, Personal coding standard

CMMI vs. ISO Quick Compare:

CMMIISO
TypeModelStandard
FocusDeep SE/SW/SABroad
PurposeMeasure process qualityEnsure a process exists
RigorMore rigorousLess rigorous

12. Step 4 — WBS (Work Breakdown Structure)

Break the project into phases → activities → tasks until you reach atomic work units.

Project
├── Phase 1
│   ├── Activity 1.0
│   │   ├── Task 1.1
│   │   └── Task 1.2
│   └── Activity 2.0
└── Phase N

Why create a WBS?

  • Plans the process
  • Designs project architecture
  • Forms basis for time and effort estimation

3 Approaches:

ApproachBased OnStructure
Activity-BasedActivities/tasks to be doneList of all activities
Product-BasedDeliverables to be producedStructured around work products
HybridMix of bothActivity → Product or Product → Activity

Work Package Specification (each task must have):

Task ID, Task Name, Description, Person in charge, Resource, Preconditions, Duration, Work Product + acceptance criteria, Risks involved


13. Activity Network (PERT Chart)

Shows sequencing and dependencies between tasks.

6 Steps to create a PERT Chart:

  1. Identify activities and milestones (from WBS)
  2. Determine proper sequence
  3. Construct network diagram
  4. Estimate time for each activity
  5. Determine the critical path
  6. Update as project progresses

14. Step 5 — Estimation Flow

Size→Effort→Cost→Duration→Staffing→Schedule\text{Size} \rightarrow \text{Effort} \rightarrow \text{Cost} \rightarrow \text{Duration} \rightarrow \text{Staffing} \rightarrow \text{Schedule}


15. Critical Path

The longest path through the activity network = earliest possible completion date.

  • Any delay on the critical path = project delays
  • Non-critical paths have slack/float (they can be delayed without affecting the deadline)

Example:

Path A-C-G-H = 4+5+2+2 = 13 days  ← CRITICAL PATH
Path B-D-E-H = 3+3+1+2 = 9 days
Path B-F-H   = 3+4+2   = 9 days

🚦 Critical Path = the bottleneck. If task on critical path slips, the whole project slips.


16. Step 6 — Risk Management

4-Step Risk Management Paradigm (continuous loop):

Identify→Analyze→Plan→Monitor↺\text{Identify} \rightarrow \text{Analyze} \rightarrow \text{Plan} \rightarrow \text{Monitor} \circlearrowleft

StepOutput
IdentifyList of potential risks
AnalyzePrioritized risk list
PlanAvoidance + contingency plans
MonitorRisk assessment (loops back)

Risk Categories:

TypeExample Risks
TechnologyDB can't handle load; reused components have defects
PeopleCan't recruit needed skills; key staff illness
OrganisationalRestructuring; budget cuts
ToolsCASE tools can't integrate; inefficient generated code
RequirementsScope creep; customers misunderstand change impact
EstimationDev time underestimated; defect rate underestimated

Risk Analysis

Risk Exposure=Risk Likelihood×Risk Impact\boxed{\text{Risk Exposure} = \text{Risk Likelihood} \times \text{Risk Impact}}

  • Likelihood: 1 (least likely) → 10 (most likely)
  • Impact: 1 → 10

Example Risk Exposure Table:

RiskLikelihoodImpactExposurePriority
Requirements changes during coding188Low
Specification takes longer3721Medium
Key staff sickness (critical path)5735HIGH
Key staff sickness (non-critical)10330High
Module coding takes longer4520Medium
Testing reveals design errors11010Low

🎲 Fix highest exposure first — not necessarily highest probability or highest impact alone.


Risk Planning — 3 Strategy Types:

StrategyGoalExample
AvoidanceReduce probability the risk occursCross-train team so no single point of failure
MinimizationReduce impact if it does occurDesign for maintainability to limit req change impact
ContingencyPlan what to do if it happens anyway"If DB too slow → buy higher-performance DB"

Risk Monitoring Indicators:

Risk TypeWarning Signs
TechnologyLate hardware delivery; many tech problems reported
PeoplePoor morale; bad team relationships; job postings appear
OrganisationalGossip; no action from senior management
ToolsReluctance to use tools; demands for better machines
RequirementsMany change requests; customer complaints
EstimationMissing schedule milestones; defects not cleared

17. Step 7 — Resource Allocation

Triple Constraints:

         Quality
        /       \
    Cost ——— Scope
       (Time)

Pulling any one leg without adjusting the others breaks quality. Increase scope without more time/cost → quality drops.

Two Types of Scheduling Problems:

TypeDefinitionGoal
Time-ConstrainedFixed deadline; resources can flexMinimize resource use while meeting date
Resource-ConstrainedFixed resource limit; date can flexMinimize delay without exceeding resource cap

Solutions:

Problem TypeMethodHow
Time-ConstrainedResource SmoothingDelay non-critical tasks (use slack) to reduce peak demand
Resource-ConstrainedParallel MethodPrioritize by: min slack → shortest duration → lowest ID

Resource Smoothing 3 Goals:

  1. Reduce peak demand
  2. Reduce total resources used
  3. Minimize fluctuations in demand

18. Project Planning Process (End-to-End)

Scope/WBS→Activity Network→Resource & Cost Scheduling→Master Plan\text{Scope/WBS} \rightarrow \text{Activity Network} \rightarrow \text{Resource \& Cost Scheduling} \rightarrow \text{Master Plan}

Risk interacts with ALL four stages bidirectionally.

WBS Effort Distribution (typical software project):

PhaseEffort
Specification25%
Design20%
System Implementation30%
Testing15%
Project Close Out10%

19. Big Picture Summary

STEP-WISE OVERVIEW
  Steps 0-10: Select → Scope → Infrastructure → Characteristics
             → WBS → Estimate → Risks → Resources → Review → Execute → Detail

COST-BENEFIT (Step 0)
  4 techniques: Net Profit, Payback Period, ROI, NPV
  NPV: adjusts for time value of money — accept if NPV > 0
  ROI = (Avg Annual Profit / Total Investment) × 100

SCOPE & OBJECTIVES (Step 1)
  Goals = WHAT (broad) | Objectives = HOW (specific, measurable)
  SMART: Specific, Measurable, Action-Oriented, Reasonable, Time-bound
  A-B-C-D-E: Audience, Behavior, Conditions, Data, Era

WBS (Step 4)
  Project → Phases → Activities → Tasks (work packages)
  3 approaches: Activity-based, Product-based, Hybrid
  PERT Chart: visualizes sequence + dependencies

CRITICAL PATH (Step 5)
  Longest path through network = earliest completion
  Delays on critical path = project delays

RISK MANAGEMENT (Step 6)
  Identify → Analyze → Plan → Monitor (loop)
  Risk Exposure = Likelihood × Impact
  3 strategies: Avoidance, Minimization, Contingency

RESOURCES (Step 7)
  Triple Constraints: Cost + Time + Scope → Quality
  Time-constrained → Resource Smoothing
  Resource-constrained → Parallel Method (min slack first)

🍎 Final analogy: SPM is basically what Apple does for every product launch. Step 0 = "should we build AirPods Max?" (feasibility), Step 1 = "ship by November, target audiophiles" (scope/goals), Steps 4-5 = engineering WBS + PERT for hardware/software tracks, Step 6 = "what if key chip supplier is delayed?" (risk), Step 7 = allocate Jony Ive's design team without overloading them (resource smoothing). Same framework, different scale.


Cheat sheet for CSS323 Software Engineering — Chapter 9: Software Project Management A project without a plan is just a wish. 📋