Lecture No4
Lecture No4
Lecture No4
(CS-313)
2
What is SDLC?
4
5
1.Planning and Requirements
7
Designing
• Based on the requirements specified in SRS, product architecture is
proposed and a document is made called DDS (Design Document
Specification)
• System architect will convert the design into LLD (Low-Level
Design) and HLD (High-Level Design) which can de done by third-
party application if required
o LLD
o HLD
8
Development
•During this phase, developers start programming.
9
Testing
• This stage refers to the testing of the software where software's
defects are reported, tracked, fixed, and retested until the product
reaches the quality standards defined in the SRS (Software
Requirement Specification)
10
Deployment and Maintenance
Deployment
• Once the product is tested and ready to be deployed, it is released
in the market.
Maintenance
• Once the product is deployed in the market the client may want to
update or make some changes to the product then the maintenance
part does this task.
• Also, when product users use the software they may give feedback
which should be resolved from time to time
11
SDLC Models
• There are various software development life cycle models which are
followed during the software development process.
• Each model follows a Series of steps to ensure success in the process
of software development.
• There are some models of SDLC discussed below:
I. Waterfall Model
II. V-Model
III. Iterative Model
IV. Spiral Model
V. Incremental model
VI. Agile Model
VII. Fish Model
VIII. Big-Bang Model
IX RAD Model (Rapid Application Development)
12
X. Prototype Model
1. Waterfall Model
13
Waterfall Model diagram and
its Phases
14
Advantages and Disadvantages
Of Waterfall Model
Advantages
• Simple and easy to understand and use
• Easy to manage due to its rigidness
• Phases are processed and completed one at a time
• In the Waterfall Model, processes and results are well documented
Disadvantages
• If any changes are required at any phase, the whole process needs to be
start from the beginning. For example, if the application has now shifted to
the coding phase, and there is a change in requirement, It becomes tough
to go back and change it.
• This Model is not suitable for complex/large projects.
• Manage small projects
15
2. V-Model
• 'V' in 'V-Model' stands for verification and validation, hence it is called V-
Model
• It is called V-Model because of its structure. On the left side, there are all
the verification processes and on the right side, there are all the validation
phases, they are connected by the development/coding phase at the
bottom, which makes a v shape like structure
• In this model, testing is associated with every phase, which means that
every single phase in the development cycle, they are directly associated to
the testing phase
• Verification - In verification, reviewing is done without executing code. It is
the process of evaluation of the product development process to find
whether specified requirements meet.
• Verification involves :
• Requirement analysis,
• System design,
• Architecture design,
• Module design
16
• Validation - It involves testing of
functional and non-functional testing,
which is done after executing code.
• Validation involves :
• Unit Testing,
• Integration testing,
• System testing, and
• Acceptance testing 17
18
Advantages and Disadvantages
Of V-Model
• Advantages:
• Simple and easy to understand and use.
• It works perfectly for smaller projects where requirements are very well
understood.
• Each and every component is tested parallelly at every phase, so the
chances of errors are less
• Disadvantages:
• No feedback so less scope of changing
• No risk handling
• This Model is not suitable for large and complex
• Once an application is in the testing stage, it is difficult to go back and
change functionality, which means we can't go back from any phase which
affects customer satisfaction
19
3. Iterative Model
• This Model is just like Waterfall Model, unlike waterfall Model, in this, we
can go back to the previous phase if any changes are required
• The Iterative Model allows going not only to the previous phase but also
allows accessing all of its earlier phases
20
Iterative Model Diagram
21
Advantages and Disadvantages
Of Iterative Model
• Advantages
• This model is easy to understand and execute
• Some working functionality can be developed quickly and early in
the life cycle.
• Less costly to change the scope/requirements.
• Testing and debugging during smaller iterations are easy.
• Feedback at every stage
• Disadvantages
• Requirement changes can cause over budget.
• Project completion date is not confirmed because of changing
requirements.
• No phase overlapping
• No intermediate delivery
• Rigid Model 22
4. Spiral Model
•In the Spiral Model all phases are divided into 4 quadrants that are:
23
Spiral Model
Identifying and resolving risks:
It is the next phase in the spiral model, in this phase, we calculate and
identify all the risks and prepare solutions for that risks before
developing the project
Developing and verifying:
In this phase, the design of the project is made and after designing the
developers develop the project after developing the project, the testing
team will test the software deeply and then the project goes into the
last quadrant/phase
Reviewing and planning for the next phase:
In this phase, the developed project is shown to the client or manager if
any refinement is required it again starts from 1st quadrant which
makes one spiral
24
Spiral Model
A software project repeatedly passes through these phases in iterations called
Spirals.
25
Spiral Model
• Advantage:
• Risk Handling
• Large projects
• Flexible
• Costumer satisfaction
• Disadvantage:
• Complex
• Expensive
• Time
• Too much risk analysis
26
5. Agile Model
• In this model the 'Agile' means - fast, so as the name suggests, this
model is used when the project deadline is short/less
• In Agile Model, the tasks are divided into smaller parts which are
done from time to time which is called iteration for delivering the
project
• instantly
• In this Model, a working software build is delivered after each
iteration. The final build/iterations hold all the features required by
the customer. Customer's interaction is the backbone of the Agile
Model
27
28
Advantages and Disadvantages Of
Agile Model
• Advantages
• Resource requirements are minimum.
• Project delivery time is fast
• One-to-one communication with the client
• Changes can be done frequently
• Little or no planning is required
• Easy to manage
• Adaptive software development methods
29
Advantages and Disadvantages Of
Agile Model
Disadvantages
•Less documentation may result in confusion and
conflicts.
•Transfer of technology to new team members
may be quite challenging due to lack of
documentation.
•Depends heavily on customer interaction, so if
customer is not clear, team can be driven in the
wrong direction
30
6. Fish Model
31
32
Advantages and Disadvantages
Of Fish Model
Advantages
• Fish model is used for developing secure and Highly quality
software
• Fish Model is easy to implement and all the documents are created
one by one as the phases are completed
Disadvantages
• This SDLC is expensive in terms of cost & time since it involves
verification as well as validation on almost all the phases
• it is not suitable for small projects
33
Note.
• The Fish Model emphasizes testing
activities even more than the V-Model,
especially in critical systems like
embedded systems or safety-critical
systems.
34
Comparison of Fish Model and V-Model
35
7. Big-Bang Model
• In the Big Bang model of the SDLC model, the model
does not follow any specific process.
• The development just starts with the required money and
efforts as the input, and the output is the software
developed which may or may not be as per customer
requirement
• There is no/less planning
• Usually this model is followed for small projects where
the development teams are very small
• For example - Academic projects
36
37
Advantages and Disadvantages
of Big- Bang Model
Advantages
• This is a very simple model to understand
• Little or no planning required
• Easy to manage
• Very few resources required
• Gives flexibility to developers
Disadvantages
• Very High risk and uncertainty
• Not a good model for complex and object-oriented projects
• Poor model for long and ongoing projects
• Can turn out to be very expensive if requirements are misunderstood
38
8. Prototype Model
39
40
Advantages and Disadvantages
Of Prototype Model
Advantages
• • Customer satisfaction
• Reduce Maintenance cost
• Reduces time and cost as the defects can be detected much
earlier
• Throwaway model.
Disadvantages
• Can take a long time
• It would be difficult if the customer is not clear with their idea
• .
41
9. RAD Model (Rapid Application
Development Model)
• Rapid application development is an SDLC Model that uses minimal
planning or not specific planning
• In this model the project is broken down into small modules and each
module may/may not be assigned independently to separate teams. These
modules can finally be combined to form the final product using some
powerful developer tools such as JAVA, C++, Visual BASIC, XML, etc. is
also an integral part of the projects.
42
9. RAD Model (Rapid Application
Development Model)
• Quick Prototype
• Iterative development
• Incremental release
• User Involvement
• Time Boxing
• Parallel Development
43
44
Advantages and Disadvantages
Of RAD Model
Advantages
• It takes less time as powerful RAD tools are used
• Feedback from the customer is available at the initial stages
• Expenses are lesser as fewer developers are required and
automation tools are used
Disadvantages
• Highly skilled professionals are required for use of powerful tools
• It is suitable for large projects only
45
Assignment 1
• Difference Between Agile and
Incremental model?
• What is cocomo model?
• Scrum Model?
• Extreme Programming? (XP)
46