Program Life Cycle

Program Life Cycle:-

Program Development Life Cycle
 The Program Development Life Cycle is a set of phases and steps that are followed by developers to define, design, develop and maintain a computer program. Typical phases of the life cycle are:
• Gather and Analyze the Program Requirements:
 The developers must obtain the program requirements from the users and document the requirements. Typically, a standard form is used to develop the requirements.

• Design the User Interface:
 After understanding the requirements, the next step is to design the user interface. Typically a business information system consists of more than one program – it may have several forms, few reports, and other programs. The users interface defines all the input forms, output reports, programs, and menu system to organize all these objects.

• Design the Program:
A business function when implemented in a computer system is termed as a program. Before a program is developed, it must be designed. Program developers use tools such as pseudocode, flow chart, and hierarchy chart to design programs.

• Code the Program:
 After a program is designed, it is implemented. A program code is a
set of instructions developed by a programmer to carry out the business functionality in a particular language such as VB, C#, Java, ASP, etc.

• Test the Program:
As the program is being coded, and after the code is completed it
must be tested to see that program is running properly and it produces required
outputs with appropriate input data.

• Document the Program/System:
As a program is being coded, and after the coding is completed, the developers should document the program. Documenting a program means writing down some instruction for the users, the purpose of the program, the way it performs the tasks, the inputs and the outputs expected. Once each program or sub-program is documented, it is necessary to create documentation for the whole
business information system.

• Maintain the Program/System:
After the programs are developed and documented, it is placed into operation. During the operation, a program may fail to perform its objective and it might be necessary to add new functionality to a program or system.
Changing program design, coding, and updating programs are part of maintenance.
http://users.evtek.fi/~jaanah/IntroC/DBeech/images/3gl_sdlc1_fig1.gif
Algorithm:-

One example of any small program through Algorithm:-
Example No.1
 An algorithm to calculate even numbers between 0 and 99
1.  Start
2.  I ← 0
3.  Write I in standard output
4.  I ← I+2
5.  If (I <=98) then go to line 3
6.  End
Example No.2
Write algorithm to find the greater number between two numbers
Step1: Start
Step2: Read/input A and B
Step3: If A greater than B then C=A
Step4: if B greater than A then C=B
Step5: Print C
Step6: End

Share this

Related Posts

Previous
Next Post »