When you write a program you do the following: 1. debug the program, 2. type out some routines, 3. consider the problem, 4. create a design, 5. draw diagrams