What making software involves · lesson 2 of 8
Ideas in this lesson
APhaseone kind of activity in the life cycle
BPlan, Requirements, Design, Build, Test, Release, Maintainthe seven phases this course uses
CThe wheelthe course's map, in the corner of every lesson

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.

The life-cycle wheel with Plan tinted.PlanThe lifecycle
  • Plan: Kap. Ernesto’s budget and the launch date.
1 of 8 Plan: decide whether to build it, and how to run the project. Should we, and with what?

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:

The phases, and what passes between them
PhaseTakes inHands on
PlanAn idea or a problemA decision to go ahead, a budget, a team, a brief (lesson 1.P)
RequirementsThe brief, and the people who’ll use itWhat it must do and how well, written down (Stage 3)
DesignThe requirementsHow it will work: parts, data, screens, decisions (Stage 4)
BuildThe designWorking code, in version control (Stage 5)
TestThe code, and the requirements to check it againstBugs found and fixed; confidence it works (Stage 6)
ReleaseTested codeSoftware running where people use it (Stage 7)
MaintainSoftware in use, and what users reportFixes, 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

  1. Ask Ate Cora how walk-in patients are handled now.

  2. Agree the budget and the launch date with Kap. Ernesto.

  3. Write the code that gives out the next queue number.

  4. Write a test that checks no number is given after closing time.

  5. Decide that the queue lives in a database and the text messages go through a gateway.

  6. Install the new version on the health centre’s server.

  7. Fix the bug where late numbers are called after closing.

  8. Write down: “A senior can take a priority number without a smartphone.”

  9. Sketch the waiting-room screen on paper and show it to patients.

  10. Try the app as 300 people at once.

  11. Decide whether the team can afford a tester.

  12. Train the health centre staff on launch day.

  13. Update the app when the health centre changes its opening hours.

  14. Review Marco’s code before it’s added to the project.

  15. Switch off the old paper number system after a year.

Spot the trap: "testing is for the end"

Spot the trapBea

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

Which phase answers “What exactly is needed?”
Why is the life cycle drawn as a wheel, not a line?
Rina’s test shows that a requirement was wrong. What happens?

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.

All sources for Simple Software Development