1. The program development life cycle
The program development life cycle has four stages: analysis, design, coding and testing.
In analysis, abstraction keeps the important aspects of the problem. The problem is decomposed into smaller parts and its requirements are identified.
In design, decomposition continues. The solution is shown with structure diagrams, flowcharts and pseudocode. In coding, the program is written and tested iteratively. In testing, the program code is tested with test data.
Examiner insight
Worked example 16 marks
The program development life cycle is split into a number of stages.
Describe what happens during the analysis and design stages of the program development life cycle.
- 1
Analysis: abstraction to emphasise the important aspects of the problem [1]
- 2
Analysis: decomposition of the problem into smaller, manageable parts [1]
- 3
Analysis: identification of the (functional) requirements of the problem [1]
- 4
Design: decomposition to separate the problem into further sub-problems [1]
- 5
Design: generate structure diagrams to represent the proposed system [1]
- 6
Design: construct a flowchart, or write the algorithm in pseudocode [1]