SOFTWARE DEVELOPMENT METHOD (or) Soft Development Life Cycle - C-Tutorial

Latest

Saturday, 19 November 2016

SOFTWARE DEVELOPMENT METHOD (or) Soft Development Life Cycle

SOFTWARE DEVELOPMENT METHOD


            
Modern projects are built using a series of interrelated phases commonly referred as the software development life cycle (SDLC).  The exact number and name of the phases of SDLC are differing from one environment to other.  One of the popular development life cycles is Water fall model. 

            The main important phases in software development method are:

1.                  Requirement gathering & Analysis
2.                  Algorithm & Flowchart
3.                  Program Design
4.                  Testing
5.                  Deployment
6.                  Maintenance

1. Requirement gathering & Analysis:
Ø  Requirements are gathered in this phase
Ø  In this phase project managers and stack holders are involved
Ø  Meeting with managers, stake holders and users are held in order to determine the requirements
·         who is going to use the system
·         how will they use the system
·         what data should be input into the program
Ø  After gathering requirements these requirements are analyzed and incorporate the requirements  into the system
Ø  Finally a requirement specification document is created, which serves guideline for the next phase
:                      
            Analysis phase is also referred as specification requirement analysis.  In this phase, analyze the given problem to determine the input requirements and the expected output.

Example:         Problem Statement                  :           Addition of given two values

Input requirements      :           Read two numbers as A and B
                        Expected output         :           Addition Value as A+B


2. Algorithm & Flowchart (or) System design:  In this phase the system and software design is prepared from the requirement specification. Solution of the given problem statement is represented interms of a step-by-step procedure is known as an algorithm.  The steps of the algorithm is represented in the form of a pictorial representation is called as a flowchart.

Example:         Algorithm & Flowchart for addition of given two values



 Algorithm:
Step 1: START
Step 2: READ A, B
Step 3: sum ← A + B
Step 4: WRITE sum
Step 5: STOP

Flowchart

3. Program Design (Code/Implementation):  After receiving/completing system design documents, the work is divided into modules/units and actual coding is started. The flowchart and algorithm steps developed in the previous phase is converted into actual programs by selecting any programming languages like C, C++ etc., This is the longest phase in software development method.

Example:         Program for addition of given two values in C language

#inlcude<stdio.h>
            #include<conio.h>
            main()
            {
                        int x,y,sum;
                        clrscr();
                        pritnf(“\nEnter Two Numbers:”);
                        scanf(“%d%d”,&A,&B);
                        sum = A+B;
                        printf(“\nTotal:%d”,sum);
            }

4. Testing & Validation: After the code is developed it is tested against the requirements. To make sure that the product is actually solving the needs that are gathered during the requirements phase. During this phase unit testing, integration testing, system testing and acceptance testing are done. In this phase, the program is tested by submitting proper input values.  And then program is validated with different valid inputs.  With this, the program is maintained for future re-use.

Example:

           Input               :           Enter  Two Numbers   :           10        20
           Output             :           Total                            :                 30

5. Deploment: After completing the testing process the devloped product delivered to the customer is called deployment.

6. Maintenance: Once when the customer starts using the developed system then the actual problems comes up and needs to be solved from time to time. This process whose take care by the developed product is known as maintenance.

No comments:

Post a Comment