The life cycle
Last updated
Pila's first year had a shape: plan, find out, design, build, test, release, keep it going. Almost every software project has that same shape, whatever method the team uses. In this lesson you'll draw it as a wheel, see what goes in and comes out of each phase, and sort fifteen of the team's tasks onto it.
By the end of this lesson you can
- Name the seven phases of the software development life cycle
- Say what goes into and comes out of each phase
- Place an everyday team task in its phase
- Explain why phases overlap and repeat
Seven phases
The activities a piece of software goes through are its life cycle. Different standards and methods divide them differently: the international standard ISO/IEC/IEEE 12207 lists about thirty processes, and the SWEBOK guide groups the work into knowledge areas. This course uses seven phases, the ones almost every method contains. Step through.
- Plan: Kap. Ernesto’s budget and the launch date.
From now on the small wheel in the corner of each lesson tints the phase that lesson is about.
What goes in and comes out
Each phase takes something from the one before and hands something on:
| Phase | Takes in | Hands on |
|---|---|---|
| Plan | An idea or a problem | A decision to go ahead, a budget, a team, a brief (lesson 1.P) |
| Requirements | The brief, and the people who’ll use it | What it must do and how well, written down (Stage 3) |
| Design | The requirements | How it will work: parts, data, screens, decisions (Stage 4) |
| Build | The design | Working code, in version control (Stage 5) |
| Test | The code, and the requirements to check it against | Bugs found and fixed; confidence it works (Stage 6) |
| Release | Tested code | Software running where people use it (Stage 7) |
| Maintain | Software in use, and what users report | Fixes, changes, and new ideas for the next round (Stage 8) |
The things handed on, like a brief, a list of requirements or a design, are often called artefacts. They can be a 40-page document or a few cards on a board. Stage 2 shows how methods differ in how much they write down.
Phases overlap and repeat
The wheel makes it look like one phase ends and the next begins. Real projects aren't that tidy:
- Phases overlap. Developers write tests while they write code. Designers sketch while the team is still finding out what's needed.
- Phases send you back. A test shows that a requirement was wrong; you're back in Requirements. A design turns out too slow; back to Design.
- The wheel turns again. Each new feature, each fix, goes round in a small loop of its own.
What differs between ways of working (Stage 2) is mostly how often a team goes round the wheel and how far it goes before checking with the people it's for: once in a year, or every two weeks.
Sort fifteen tasks
These are real tasks from Pila's first year. Which phase does each belong to? A few belong to two; either answer counts, and the explanation names the other.
0 of 15 placed right
Ask Ate Cora how walk-in patients are handled now.
Agree the budget and the launch date with Kap. Ernesto.
Write the code that gives out the next queue number.
Write a test that checks no number is given after closing time.
Decide that the queue lives in a database and the text messages go through a gateway.
Install the new version on the health centre’s server.
Fix the bug where late numbers are called after closing.
Write down: “A senior can take a priority number without a smartphone.”
Sketch the waiting-room screen on paper and show it to patients.
Try the app as 300 people at once.
Decide whether the team can afford a tester.
Train the health centre staff on launch day.
Update the app when the health centre changes its opening hours.
Review Marco’s code before it’s added to the project.
Switch off the old paper number system after a year.
Spot the trap: "testing is for the end"
Planning the year, Bea draws the phases as boxes in a line, and puts Testing in the last two weeks before launch, “once everything’s built”.
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- ISO/IEC/IEEE 12207:2017, Software life cycle processes: the standard set of life-cycle processes, which this course groups into seven phases
- IEEE Computer Society: SWEBOK Guide, version 4.0 (2024): requirements, design, construction, testing, operations and maintenance as knowledge areas