Module1-SDLC
Module1-SDLC
Requirement analysis is the most important and fundamental stage in SDLC. It is performed
by the senior members of the team with inputs from the customer, the sales department,
market surveys and domain experts in the industry. This information is then used to plan the
basic project approach and to conduct product feasibility study in the economical, operational
and technical areas.
Planning for the quality assurance requirements and identification of the risks associated with
the project is also done in the planning stage. The outcome of the technical feasibility study is
to define the various technical approaches that can be followed to implement the project
successfully with minimum risks.
Once the requirement analysis is done the next step is to clearly define and document the
product requirements and get them approved from the customer or the market analysts. This
is done through an SRS (Software Requirement Specification) document which consists of all
the product requirements to be designed and developed during the project life cycle.
SRS is the reference for product architects to come out with the best architecture for the
product to be developed. Based on the requirements specified in SRS, usually more than one
design approach for the product architecture is proposed and documented in a DDS – Design
Document Specification. This DDS is reviewed by all the important stakeholders and based
on various parameters as risk assessment, product robustness, design modularity, budget and
time constraints, the best design approach is selected for the product.
A design approach clearly defines all the architectural modules of the product along with its
communication and data flow representation with the external and third party modules (if
any). The internal design of all the modules of the proposed architecture should be clearly
defined with the minutest of the details in DDS.
In this stage of SDLC the actual development starts and the product is built. The
programming code is generated as per DDS during this stage. If the design is performed in a
detailed and organized manner, code generation can be accomplished without much hassle.
Developers must follow the coding guidelines defined by their organization and
programming tools like compilers, interpreters, debuggers, etc. are used to generate the code.
Different high level programming languages such as C, C++, Pascal, Java and PHP are used
for coding. The programming language is chosen with respect to the type of software being
developed.
This stage is usually a subset of all the stages as in the modern SDLC models, the testing
activities are mostly involved in all the stages of SDLC. However, this stage refers to the
testing only stage of the product where product defects are reported, tracked, fixed and
retested, until the product reaches the quality standards defined in the SRS.
Once the product is tested and ready to be deployed it is released formally in the appropriate
market. Sometimes product deployment happens in stages as per the business strategy of that
organization. The product may first be released in a limited segment and tested in the real
business environment (UAT- User acceptance testing).
Then based on the feedback, the product may be released as it is or with suggested
enhancements in the targeting market segment. After the product is released in the market, its
maintenance is done for the existing customer base.
SDLC Models
There are various software development life cycle models defined and designed which are
followed during the software development process. These models are also referred as
Software Development Process Models". Each process model follows a Series of steps
unique to its type to ensure success in the process of software development. Following are the
most important and popular SDLC models followed in the industry −
➢ Waterfall Model
➢ Iterative Model
➢ Spiral Model
➢ V-Model
➢ Big Bang Model
ALGORITHM:
Definiteness: Instructions must be precise and unambiguous i.e. each and every instruction
should be clear and should have only one meaning.
Finiteness: Not even a single instruction must be repeated infinitely. i.e., each instruction
should be performed in finite time.
Termination: After the algorithm gets executed, the user should get the desired result
STEPS:
Step 1:[Initialize]
Start
Step 2: [Input the sides of Rectangle]
Read length, breadth
Step 3:[Compute the area of rectangle]
Area<-length*breadth
Step 4:[Display the Area]
Print Area
Step 5: [Finished]
Stop
ALGM: AREA_of_CIRCLE [This algorithm takes radius of circle as input and computes
the area of circle using the formula area=3.14*radius*radius. It computes perimeter of
circle as perimeter= 2*3.14*radius. Finally it prints the area and perimeter of circle]
STEPS:
Step 1:[Initialize]
Start
Step 2: [Input the radius of circle]
Read radius.
Step 3:[Compute the area of circle]
Area<-3.14*radius*radius
Step 4:[Compute the perimeter of circle]
Perimeter<-2*3.14*radius
Step 4:[Display the Area and Perimeter]
Print Area, Perimeter
Step 5: [Finished]
Stop
FLOWCHARTS:
The following table shows the symbols used in flowchart along with its descriptions.
Symbol Name Description
oval Represents the terminal point
Represents
Looping
Hexagon Structures
Subroutine
Process Function
Advantages of Flowcharts:
A flowchart is a diagrammatic representation that illustrates the sequence of steps that must
be performed to solve a problem. They are usually drawn in the early stages of formulating
computer solutions to facilitate communication between programmers and business people.
Flowcharts help programmers to understand the logic of complicated and lengthy problems.
They help to analyze the problem in a more effective manner
Flowchart can be used to debug programs that have error(s).
START
READ RADIUS
AREA=3.14*RADIUS*RADIUS
PERIMETER=2*3.14*RADIUS
PRINT AREA,
PERIMETER
STOP
#include<stdio.h>
void main()
float r, area,perimeter;
scanf(“%f”,&r);
area=3.14*r*r;
perimeter=2*3.14*r;
(2) Draw a flowchart and C program which takes as input p,t,r. Compute the simple
interest and display the result.
START
READ P,T,R
SIMPLE_INT=(P*T*R)/100
DISPLAY
SIMPLE_INT
STOP
#include<stdio.h>
void main()
float SI,p,r,t;
scanf(“%f%f%f”,&p,&t,&r);
SI=p*t*r/100;