Lesson 2
Lesson 2
LIFE CYCLE
Program
• Analyze and specification: Define the problem. Understand the inputs, the
required processing and expected output.
• Design the program: Plan the solution to the problem. Then, define the
logical sequence of precise steps to solve the problem (Algorithm).The
logic plan can be developed using the three methods: flowcharts, pseudo
codes e.t.c.
• Design the interface: Determine how the inputs will be obtained and how
the output will be displayed.
• Code: Translate the algorithm into programming language. In this stage
the programmer will use the algorithm in step [ii] and a given
programming language.
PDLC STAGES
• Test and debug: Locate and remove any errors in the program. Testing is
the process of finding errors in the programs. Debugging is the process of
correcting errors that are found. An error in a program is called abug.
• Documentation: Organize all the material that describes the program.i.e
allow another person at a later date to understand the program. Can be
internal documentation (e.g. comments) or user manuals.
• Maintain the program: This involves training and supporting users as well
as correcting any errors that may arise in future. When the cost of
maintenance exceeds the benefits of the system, the cycle begins again.
Algorithm
– Reduced complexity
– Easy to understand
– Easy to translate to code
– No special symbols required
– Saves time spent during coding, testing and debugging.
Disadvantages of pseudo code