SlideShare a Scribd company logo
1 of 44
SOFTWARE ENGINEERING
1
CLASSICAL
WATERFALL MODEL
2
3
Classical Waterfall Model
 Classical waterfall model divides
life cycle into phases:
 feasibility study,
 requirements analysis and
specification,
 design,
 coding and unit testing,
 integration and system testing,
 maintenance.
4
Classical Waterfall Model
Feasibility Study
Req. Analysis
Design
Coding
Testing
Maintenance
5
Classical Waterfall Model
(CONT.)
 Most organizations usually define:
 entry and exit criteria for every phase.
 They also prescribe specific
methodologies for:
 specification,
 design,
 testing,
 project management, etc.
Why to study Waterfall
Model?
 Every other model is based on
Waterfall Model.
 To develop an understanding
toward various phases of
software development.
6
Classical Waterfall Model
(CONT.)
7
8
Feasibility Study
 Main aim of feasibility study:determine whether
developing the product
 financially worthwhile
 technically feasible.
 First roughly understand what the customer
wants:
 different data which would be input to the system,
 processing needed on these data,
 output data to be produced by the system,
 various constraints on the behavior of the system.
9
Activities during Feasibility
Study
 Work out an overall understanding
of the problem.
 Formulate different solution
strategies.
 Examine alternate solution
strategies in terms of:
 resources required,
 cost of development, and
 development time.
10
Activities during Feasibility
Study
 Perform a cost/benefit analysis:
 to determine which solution is the
best.
 you may determine that none of
the solutions is feasible due to:
 high cost,
 resource constraints,
 technical reasons.
11
Requirements Analysis and
Specification
 Aim of this phase:
 understand the exact
requirements of the customer,
 document them properly.
 Consists of two distinct
activities:
 requirements gathering and
analysis
 requirements specification.
12
Goals of Requirements
Analysis
 Collect all related data from the
customer:
 analyze the collected data to
clearly understand what the
customer wants,
 find out any inconsistencies and
incompleteness in the
requirements,
 resolve all inconsistencies and
incompleteness.
13
Requirements Gathering
 Gathering relevant data:
 usually collected from the end-
users through interviews and
discussions.
 For example, for a business
accounting software:
interview all the accountants of the
organization to find out their
requirements.
14
Requirements Analysis (CONT.)
 The data you initially collect
from the users:
would usually contain several
contradictions and
ambiguities:
each user typically has only a
partial and incomplete view of
the system.
15
Requirements Analysis (CONT.)
 Ambiguities and contradictions:
 must be identified
 resolved by discussions with the
customers.
 Next, requirements are organized:
 into a Software Requirements
Specification (SRS) document.
16
Requirements Analysis (CONT.)
 Engineers doing
requirements analysis and
specification:
are designated as analysts.
17
Requirements Specification
 Organizing requirement
analysis into SRS
 Important content of document
 Functional Requirements
 Non - Functional Requirements
 The goal of implementation
18
Design
 Design phase transforms
requirements specification:
 into a form suitable for
implementation in some
programming language.
19
Design
 In technical terms:
 during design phase, software
architecture is derived from the
SRS document.
 Two design approaches:
 traditional approach,
 object oriented approach.
20
Traditional Design Approach
 Consists of two activities:
Structured analysis
Structured design
21
Structured Analysis
Activity
 Identify all the functions to be
performed.
 Identify data flow among the
functions.
 Decompose each function
recursively into sub-functions.
 Identify data flow among the
subfunctions as well.
Structure Analysis (cont.)
22
23
Structured Analysis (CONT.)
 Carried out using Data flow
diagrams (DFDs).
 After structured analysis, carry
out structured design:
 architectural design (or high-level
design)
 detailed design (or low-level
design).
24
Structured Design
 High-level design:
 decompose the system into modules,
 represent relationships among the
modules.
 Detailed design:
 different modules designed in greater
detail:
 data structures and algorithms for each
module are designed.
25
Object Oriented Design
 First identify various objects (real
world entities) occurring in the
problem:
 identify the relationships among the
objects.
 For example, the objects in a pay-roll
software may be:
 employees,
 managers,
 pay-roll register,
 Departments, etc.
Object Oriented Design
26
27
Object Oriented Design (CONT.)
 Object structure
 further refined to obtain the
detailed design.
 OOD has several advantages:
 lower development effort,
 lower development time,
 better maintainability.
28
Implementation
 Purpose of implementation
phase (coding phase):
translate software design into
source code.
29
Implementation
 During the implementation
phase:
 each module of the design is
coded,
 each module is unit tested
tested independently as a stand
alone unit, and debugged,
 each module is documented.
30
Implementation (CONT.)
 The purpose of unit testing:
 test if individual modules work
correctly.
 The end product of
implementation phase:
 a set of program modules that
have been tested individually.
31
Integration and System
Testing
 Different modules are integrated in
a planned manner:
 modules are almost never integrated
in one shot.
 Normally integration is carried out
through a number of steps.
 During each integration step,
 the partially integrated system is
tested.
32
Integration and System
Testing
M1
M4
M3
M2
33
System Testing
 After all the modules have been
successfully integrated and
tested:
 system testing is carried out.
 Goal of system testing:
 ensure that the developed system
functions according to its
requirements as specified in the
SRS document.
34
Maintenance
 Maintenance of any
software product:
requires much more effort than
the effort to develop the product
itself.
development effort to
maintenance effort is typically
40:60.
35
Maintenance (CONT.)
 Corrective maintenance:
 Correct errors which were not discovered
during the product development phases.
 Perfective maintenance:
 Improve implementation of the system
 enhance functionalities of the system.
 Adaptive maintenance:
 Port software to a new environment,
 e.g. to a new computer or to a new operating system.
Drawbacks of classical
water fall model
 1. no feedback paths
 2. difficult to accommodate changes
 3. No overlapping of phases
 4. Limited customer interactions
36
Question
What is the first step in the software
development lifecycle?
a) System Design
b) Coding
c) System Testing
d) Preliminary Investigation and Analysis
37
38
Iterative Waterfall Model
 Classical waterfall model is
idealistic:
 assumes that no defect is
introduced during any
development activity.
 in practice:
defects do get introduced in almost
every phase of the life cycle.
39
Iterative Waterfall Model
(CONT.)
 Defects usually get detected
much later in the life cycle:
For example, a design defect might
go unnoticed till the coding or
testing phase.
40
Iterative Waterfall Model
(CONT.)
 Once a defect is detected:
 we need to go back to the phase
where it was introduced
 redo some of the work done during
that and all subsequent phases.
 Therefore we need feedback paths
in the classical waterfall model.
41
Iterative Waterfall Model
(CONT.)
Feasibility Study
Req. Analysis
Design
Coding
Testing
Maintenance
42
Iterative Waterfall Model
(CONT.)
 Errors should be detected
 in the same phase in which they are
introduced.
 For example:
 if a design problem is detected in
the design phase itself,
 the problem can be taken care of much
more easily than, if it is identified at the
end of the integration and system testing
phase.
43
Phase containment of
errors
 The principle of detecting errors as close to
its point of introduction as possible:
 is known as phase containment of errors.
 Iterative waterfall model is most widely
used model.
 Almost every other model is derived from the
waterfall model.
NEXT CLASS :
PROTOTYPING MODEL
44

More Related Content

Similar to Classical Waterfall Model Software Engineering Lifecycle Explained

Software life-cycle
Software life-cycleSoftware life-cycle
Software life-cyclegnesoni
 
Software Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsSoftware Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsNishu Rastogi
 
SE_Module1new.ppt
SE_Module1new.pptSE_Module1new.ppt
SE_Module1new.pptADARSHN40
 
Software Engineering Methodology
Software Engineering MethodologySoftware Engineering Methodology
Software Engineering MethodologyRajandeep Gill
 
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).pptabhishekgoyal29250
 
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.pptTanuYadav844527
 
lect3-Life-Cycle-models-I.pptx
lect3-Life-Cycle-models-I.pptxlect3-Life-Cycle-models-I.pptx
lect3-Life-Cycle-models-I.pptxJohnRambo709260
 
Testing material (1).docx
Testing material (1).docxTesting material (1).docx
Testing material (1).docxKVamshiKrishna5
 
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdf
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdfLife cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdf
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdfSohamChatterjee47
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )eshtiyak
 
SDLC models testing
SDLC models testingSDLC models testing
SDLC models testingJadavsejal
 
Types of software life cycle model
Types of software life cycle model Types of software life cycle model
Types of software life cycle model Santhia RK
 

Similar to Classical Waterfall Model Software Engineering Lifecycle Explained (20)

Software life-cycle
Software life-cycleSoftware life-cycle
Software life-cycle
 
3. ch 2-process model
3. ch 2-process model3. ch 2-process model
3. ch 2-process model
 
Software Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsSoftware Engineering- Crisis and Process Models
Software Engineering- Crisis and Process Models
 
2-models.pptx
2-models.pptx2-models.pptx
2-models.pptx
 
2. Software process
2. Software process2. Software process
2. Software process
 
SE_Module1new.ppt
SE_Module1new.pptSE_Module1new.ppt
SE_Module1new.ppt
 
Software Engineering Methodology
Software Engineering MethodologySoftware Engineering Methodology
Software Engineering Methodology
 
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models (1).ppt
 
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt
2.Basic Introduction of SDLC Phases and explanation of SDLC Models.ppt
 
lect3-Life-Cycle-models-I.pptx
lect3-Life-Cycle-models-I.pptxlect3-Life-Cycle-models-I.pptx
lect3-Life-Cycle-models-I.pptx
 
Testing material (1).docx
Testing material (1).docxTesting material (1).docx
Testing material (1).docx
 
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdf
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdfLife cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdf
Life cycle models cccccccccccccccccccccccccccccccccccccccccccccccc.pdf
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 
SE2.ppt
SE2.pptSE2.ppt
SE2.ppt
 
SDLC models testing
SDLC models testingSDLC models testing
SDLC models testing
 
1.Basic Introduction (1).ppt
1.Basic Introduction (1).ppt1.Basic Introduction (1).ppt
1.Basic Introduction (1).ppt
 
SE UNIT-1 Revised.pdf
SE UNIT-1 Revised.pdfSE UNIT-1 Revised.pdf
SE UNIT-1 Revised.pdf
 
Types of software life cycle model
Types of software life cycle model Types of software life cycle model
Types of software life cycle model
 
HCI Chapter_2.ppt
HCI Chapter_2.pptHCI Chapter_2.ppt
HCI Chapter_2.ppt
 
HCI Chapter_2.pdf
HCI Chapter_2.pdfHCI Chapter_2.pdf
HCI Chapter_2.pdf
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 

Classical Waterfall Model Software Engineering Lifecycle Explained

  • 3. 3 Classical Waterfall Model  Classical waterfall model divides life cycle into phases:  feasibility study,  requirements analysis and specification,  design,  coding and unit testing,  integration and system testing,  maintenance.
  • 4. 4 Classical Waterfall Model Feasibility Study Req. Analysis Design Coding Testing Maintenance
  • 5. 5 Classical Waterfall Model (CONT.)  Most organizations usually define:  entry and exit criteria for every phase.  They also prescribe specific methodologies for:  specification,  design,  testing,  project management, etc.
  • 6. Why to study Waterfall Model?  Every other model is based on Waterfall Model.  To develop an understanding toward various phases of software development. 6
  • 8. 8 Feasibility Study  Main aim of feasibility study:determine whether developing the product  financially worthwhile  technically feasible.  First roughly understand what the customer wants:  different data which would be input to the system,  processing needed on these data,  output data to be produced by the system,  various constraints on the behavior of the system.
  • 9. 9 Activities during Feasibility Study  Work out an overall understanding of the problem.  Formulate different solution strategies.  Examine alternate solution strategies in terms of:  resources required,  cost of development, and  development time.
  • 10. 10 Activities during Feasibility Study  Perform a cost/benefit analysis:  to determine which solution is the best.  you may determine that none of the solutions is feasible due to:  high cost,  resource constraints,  technical reasons.
  • 11. 11 Requirements Analysis and Specification  Aim of this phase:  understand the exact requirements of the customer,  document them properly.  Consists of two distinct activities:  requirements gathering and analysis  requirements specification.
  • 12. 12 Goals of Requirements Analysis  Collect all related data from the customer:  analyze the collected data to clearly understand what the customer wants,  find out any inconsistencies and incompleteness in the requirements,  resolve all inconsistencies and incompleteness.
  • 13. 13 Requirements Gathering  Gathering relevant data:  usually collected from the end- users through interviews and discussions.  For example, for a business accounting software: interview all the accountants of the organization to find out their requirements.
  • 14. 14 Requirements Analysis (CONT.)  The data you initially collect from the users: would usually contain several contradictions and ambiguities: each user typically has only a partial and incomplete view of the system.
  • 15. 15 Requirements Analysis (CONT.)  Ambiguities and contradictions:  must be identified  resolved by discussions with the customers.  Next, requirements are organized:  into a Software Requirements Specification (SRS) document.
  • 16. 16 Requirements Analysis (CONT.)  Engineers doing requirements analysis and specification: are designated as analysts.
  • 17. 17 Requirements Specification  Organizing requirement analysis into SRS  Important content of document  Functional Requirements  Non - Functional Requirements  The goal of implementation
  • 18. 18 Design  Design phase transforms requirements specification:  into a form suitable for implementation in some programming language.
  • 19. 19 Design  In technical terms:  during design phase, software architecture is derived from the SRS document.  Two design approaches:  traditional approach,  object oriented approach.
  • 20. 20 Traditional Design Approach  Consists of two activities: Structured analysis Structured design
  • 21. 21 Structured Analysis Activity  Identify all the functions to be performed.  Identify data flow among the functions.  Decompose each function recursively into sub-functions.  Identify data flow among the subfunctions as well.
  • 23. 23 Structured Analysis (CONT.)  Carried out using Data flow diagrams (DFDs).  After structured analysis, carry out structured design:  architectural design (or high-level design)  detailed design (or low-level design).
  • 24. 24 Structured Design  High-level design:  decompose the system into modules,  represent relationships among the modules.  Detailed design:  different modules designed in greater detail:  data structures and algorithms for each module are designed.
  • 25. 25 Object Oriented Design  First identify various objects (real world entities) occurring in the problem:  identify the relationships among the objects.  For example, the objects in a pay-roll software may be:  employees,  managers,  pay-roll register,  Departments, etc.
  • 27. 27 Object Oriented Design (CONT.)  Object structure  further refined to obtain the detailed design.  OOD has several advantages:  lower development effort,  lower development time,  better maintainability.
  • 28. 28 Implementation  Purpose of implementation phase (coding phase): translate software design into source code.
  • 29. 29 Implementation  During the implementation phase:  each module of the design is coded,  each module is unit tested tested independently as a stand alone unit, and debugged,  each module is documented.
  • 30. 30 Implementation (CONT.)  The purpose of unit testing:  test if individual modules work correctly.  The end product of implementation phase:  a set of program modules that have been tested individually.
  • 31. 31 Integration and System Testing  Different modules are integrated in a planned manner:  modules are almost never integrated in one shot.  Normally integration is carried out through a number of steps.  During each integration step,  the partially integrated system is tested.
  • 33. 33 System Testing  After all the modules have been successfully integrated and tested:  system testing is carried out.  Goal of system testing:  ensure that the developed system functions according to its requirements as specified in the SRS document.
  • 34. 34 Maintenance  Maintenance of any software product: requires much more effort than the effort to develop the product itself. development effort to maintenance effort is typically 40:60.
  • 35. 35 Maintenance (CONT.)  Corrective maintenance:  Correct errors which were not discovered during the product development phases.  Perfective maintenance:  Improve implementation of the system  enhance functionalities of the system.  Adaptive maintenance:  Port software to a new environment,  e.g. to a new computer or to a new operating system.
  • 36. Drawbacks of classical water fall model  1. no feedback paths  2. difficult to accommodate changes  3. No overlapping of phases  4. Limited customer interactions 36
  • 37. Question What is the first step in the software development lifecycle? a) System Design b) Coding c) System Testing d) Preliminary Investigation and Analysis 37
  • 38. 38 Iterative Waterfall Model  Classical waterfall model is idealistic:  assumes that no defect is introduced during any development activity.  in practice: defects do get introduced in almost every phase of the life cycle.
  • 39. 39 Iterative Waterfall Model (CONT.)  Defects usually get detected much later in the life cycle: For example, a design defect might go unnoticed till the coding or testing phase.
  • 40. 40 Iterative Waterfall Model (CONT.)  Once a defect is detected:  we need to go back to the phase where it was introduced  redo some of the work done during that and all subsequent phases.  Therefore we need feedback paths in the classical waterfall model.
  • 41. 41 Iterative Waterfall Model (CONT.) Feasibility Study Req. Analysis Design Coding Testing Maintenance
  • 42. 42 Iterative Waterfall Model (CONT.)  Errors should be detected  in the same phase in which they are introduced.  For example:  if a design problem is detected in the design phase itself,  the problem can be taken care of much more easily than, if it is identified at the end of the integration and system testing phase.
  • 43. 43 Phase containment of errors  The principle of detecting errors as close to its point of introduction as possible:  is known as phase containment of errors.  Iterative waterfall model is most widely used model.  Almost every other model is derived from the waterfall model.