Four stages, in order
The program development life cycle is the set of stages a programmer goes through to make a program.
There are four stages: analysis, design, coding and testing.
It is called a cycle because problems found in testing send you back to an earlier stage.
| Stage | Question it answers | What is produced |
|---|---|---|
| Analysis | What must the program do? | A list of requirements |
| Design | How will it do it? | Structure diagrams, flowcharts, pseudocode |
| Coding | Can we build it? | Program code, tested as it is written |
| Testing | Does it work for all data? | Test results with test data |
Planning before coding is faster overall. A mistake fixed in the design costs minutes. The same mistake found after coding can cost hours.
Learn the four names exactly. Cambridge uses analysis, design, coding, testing. Words like 'planning' or 'making' do not earn the mark.