SlideShare a Scribd company logo
1 of 45
Life Cycle Models
1
Software
Life Cycle
Conceptualize
Specify
Design
Code
Test
Maintain
Retire
Deliver
2
Life Cycle Model
• A software life cycle model (also process
model or SDLC):
–A descriptive and diagrammatic model of
software life cycle:
–Identifies all the activities undertaken during
product development,
–Establishes a precedence ordering among the
different activities,
–Divides life cycle into phases. 3
Life Cycle Model (CONT.)
• Each life cycle phase consists of
several activities.
–For example, the design stage might
consist of:
• structured analysis
• structured design
• Design review
4
Why Model Life Cycle?
• A graphical and written description:
–Helps common understanding of activities
among the software developers.
–Helps to identify inconsistencies,
redundancies, and omissions in the
development process.
–Helps in tailoring a process model for specific
projects.
5
Life Cycle Model (CONT.)
• The development team must identify
a suitable life cycle model:
–and then adhere to it.
–Primary advantage of adhering to a life
cycle model:
• Helps development of software in a
systematic and disciplined manner.
6
Life Cycle Model (CONT.)
• When a program is developed by a single
programmer ---
– The problem is within the grasp of an individual.
– He has the freedom to decide his exact steps and still
succeed --- called Exploratory model--- One can use it in
many ways
– CodeTest Design
– CodeDesign Test  Change Code 
– Specify code Design Test  etc.
7
Initial
Coding Do Until
Done
Test
Fix
Life Cycle Model (CONT.)
• When software is being developed by a
team:
–There must be a precise understanding
among team members as to when to do
what,
–Otherwise, it would lead to chaos and
project failure.
8
Life Cycle Model (CONT.)
• A software project will never succeed if:
–one engineer starts writing code,
–another concentrates on writing the test
document first,
–yet another engineer first defines the file
structure
–another defines the I/O for his portion first.
9
Phase Entry and Exit Criteria
• A life cycle model:
–defines entry and exit criteria for
every phase.
–A phase is considered to be complete:
•only when all its exit criteria are
satisfied.
10
Life Cycle Model (CONT.)
• What is the phase exit criteria for the software
requirements specification phase?
–Software Requirements Specification (SRS)
document is complete, reviewed, and approved
by the customer.
• A phase can start:
–Only if its phase-entry criteria have been
satisfied.
11
Life Cycle Model: Milestones
• Milestones help software project
managers:
–Track the progress of the project.
–Phase entry and exit are
important milestones.
12
Life Cycle and Project Management
• When a life cycle model is
followed:
–The project manager can at any time
fairly accurately tell,
•At which stage (e.g., design, code,
test, etc.) the project is.
13
Project Management Without Life Cycle Model
• It becomes very difficult to track the
progress of the project.
–The project manager would have to
depend on the guesses of the team
members.
• This usually leads to a problem:
–known as the 99% complete syndrome.
14
Project Deliverables: Myth and Reality
Myth:
The only deliverable for a successful project is
the working program.
Reality:
Documentation of all aspects of software
development are needed to help in
operation and maintenance.
15
Life Cycle Model (CONT.)
• Many life cycle models have been proposed.
• We confine our attention to only a few commonly
used models.
–Waterfall
–V model,
–Evolutionary,
–Prototyping
–Spiral model,
–Agile models
Traditional models
16
Software Life Cycle
• Software life cycle (or software process):
–Series of identifiable stages that a
software product undergoes during its
life time:
• Feasibility study
• Requirements analysis and specification,
• Design,
• Coding,
• Testing
• Maintenance. 17
Classical Waterfall Model
• Classical waterfall model divides life
cycle into following phases:
–Feasibility study,
–Requirements analysis and
specification,
–Design,
–Coding and unit testing,
–Integration and system testing,
–Maintenance.
Conceptualize
Specify
Design
Code
Test
Maintain
Retire
Deliver
18
Classical Waterfall Model
Feasibility Study
Req. Analysis
Design
Coding
Testing
Maintenance
Simplest and most
intuitive
19
Relative Effort for Phases
• Phases between feasibility study
and testing
–Called development phases.
• Among all life cycle phases
–Maintenance phase consumes
maximum effort.
• Among development phases,
–Testing phase consumes the
maximum effort.
0
10
20
30
40
50
60
Req.
Sp
Design
Coding
Test
Maintnce
Relative
Effort
Process Model
• Most organizations usually define:
–Standards on the outputs (deliverables) produced
at the end of every phase
–Entry and exit criteria for every phase.
• They also prescribe methodologies for:
–Specification,
–Design,
–Testing,
–Project management, etc.
Classical Waterfall Model (CONT.)
• The guidelines and methodologies of an
organization:
–Called the organization's software
development methodology.
• Software development organizations:
– Expect fresh engineers to master the
organization's software development
methodology. 22
Feasibility
Dimensions
Feasibility Study
Schedule
feasibility
Technical
feasibility
Economic
feasibility
(also called
cost/benefit
feasibility)
23
Feasibility Study
• Main aim of feasibility study: determine
whether developing the software is:
– Financially worthwhile
– Technically feasible.
• Roughly understand what customer wants:
–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. 24
First Step
Case Study
• SPF Scheme for CFL
• CFL has a large number of employees, exceeding
50,000.
• Majority of these are casual labourers
• Mining being a risky profession:
– Casualties are high
• Though there is a PF:
– But settlement time is high
• There is a need of SPF:
– For faster disbursement of benefits
25
Feasibility: Case Study
• Manager visits main office, finds out the
main functionalities required
• Visits mine site, finds out the data to be
input
• Suggests alternate solutions
• Determines the best solution
• Presents to the CFL Officials
• Go/No-Go Decision
26
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. 27
Activities during
Feasibility Study
• Perform a cost/benefit analysis:
–Determine which solution is the best.
–May also find that none of the
solutions is feasible due to:
• high cost,
• resource constraints,
• technical reasons.
28
Cost benefit analysis (CBA)
• Need to identify all costs --- these could be:
– Development costs
– Set-up
– Operational costs
• Identify the value of benefits
• Check benefits are greater than costs
29
The business case
• Benefits of delivered
project must outweigh
costs
• Costs include:
- Development
- Operation
• Benefits:
– Quantifiable
– Non-quantifiable
Rs
Rs
Benefits
Costs
30
The business case
• Feasibility studies should help write a
‘business case’
• Should provide a justification for starting
the project
• Should show that the benefits of the
project will exceed:
– Various costs
• Needs to take account of business risks 31
Writing an Effective
Business Case
1. Executive summary
2. Project background:
 The focus must be on what, exactly, the project is undertaking, and should
not be confused with what might be a bigger picture.
3. Business opportunity
- What difference will it make?
- What if we don’t do it?
4. Costs
- Should include the cost of development, implementation, training, change
management, and operations.
5. Benefits
 Benefits usually presented in terms of revenue generation and cost
reductions.
6. Risks
− Identify risks.
− Explain how these will be managed.
32
Classical Waterfall Model
Feasibility Study
Req. Analysis
Design
Coding
Testing
Maintenance
33
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.
34
Requirements Analysis and Specification
• Gather requirements data from the
customer:
Analyze the collected data to understand what
customer wants
• Remove requirements problems:
Inconsistencies
Anomalies
Incompleteness
• Organize into a Software Requirements
Specification (SRS) document. 35
Requirements Gathering
• Gathering relevant data:
–Usually collected from the end-users
through interviews and discussions.
–Example: for a business accounting
software:
•Interview all the accountants of the
organization to find out their requirements.
36
Requirements Analysis (Cont...)
• The data you initially collect from the
users:
–Usually contain several contradictions and
ambiguities.
–Why?
–Each user typically has only a partial and
incomplete view of the system. 37
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. 38
Classical
Waterfall Model
Feasibility Study
Req. Analysis
Design
Coding
Testing
Maintenance
Design
39
Design
• During design phase requirements
specification is transformed into :
– A form suitable for implementation in
some programming language.
• Two commonly used design
approaches:
–Traditional approach,
–Object oriented approach 40
Traditional Design Approach
• Consists of two activities:
–Structured analysis (typically carried
out by using DFD)
–Structured design
41
Structured Design
• High-level design:
–decompose the system into
modules,
–represent invocation
relationships among modules.
• Detailed design:
–different modules designed in
greater detail:
• data structures and algorithms for each
module are designed.
root
Handle-
order
Handle-indent Handle-
query
Get-
order
Accept-
order Process-
order
order query
indent
42
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. 43
Object Oriented Design (CONT.)
• Object structure:
–Refined to obtain the detailed design.
• OOD has several advantages:
–Lower development effort,
–Lower development time,
–Better maintainability.
44
lect3-Life-Cycle-models-I.pptx

More Related Content

Similar to lect3-Life-Cycle-models-I.pptx

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
 
Software life-cycle
Software life-cycleSoftware life-cycle
Software life-cyclegnesoni
 
Comp8 unit5 lecture_slides
Comp8 unit5 lecture_slidesComp8 unit5 lecture_slides
Comp8 unit5 lecture_slidesCMDLMS
 
Software development life cycle
Software development life cycle Software development life cycle
Software development life cycle ParikshitTaksande1
 
Software engineering jwfiles 3
Software engineering jwfiles 3Software engineering jwfiles 3
Software engineering jwfiles 3Azhar Shaik
 
Software engineering.pptx
Software engineering.pptxSoftware engineering.pptx
Software engineering.pptxProvatMajhi
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )eshtiyak
 
Intoduction to software engineering part 2
Intoduction to software engineering part 2Intoduction to software engineering part 2
Intoduction to software engineering part 2Rupesh Vaishnav
 
Chapter 1,2,3,4 notes
Chapter 1,2,3,4 notesChapter 1,2,3,4 notes
Chapter 1,2,3,4 notesAruna M
 
Software vjhghjjkhjkkkghhjhEngineering.pdf
Software vjhghjjkhjkkkghhjhEngineering.pdfSoftware vjhghjjkhjkkkghhjhEngineering.pdf
Software vjhghjjkhjkkkghhjhEngineering.pdfavishekpradhan24
 
SDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSaravanan Manoharan
 
SE18_Lec 02_Software Life Cycle Model
SE18_Lec 02_Software Life Cycle ModelSE18_Lec 02_Software Life Cycle Model
SE18_Lec 02_Software Life Cycle ModelAmr E. Mohamed
 
1.Basic Introduction_software engineering.ppt
1.Basic Introduction_software engineering.ppt1.Basic Introduction_software engineering.ppt
1.Basic Introduction_software engineering.pptabhishekgoyal29250
 
Software engineering Satish.pptx
Software engineering Satish.pptxSoftware engineering Satish.pptx
Software engineering Satish.pptxProvatMajhi
 
Software Project management
Software Project managementSoftware Project management
Software Project managementsameer farooq
 

Similar to lect3-Life-Cycle-models-I.pptx (20)

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
 
Software life-cycle
Software life-cycleSoftware life-cycle
Software life-cycle
 
Comp8 unit5 lecture_slides
Comp8 unit5 lecture_slidesComp8 unit5 lecture_slides
Comp8 unit5 lecture_slides
 
Software development life cycle
Software development life cycle Software development life cycle
Software development life cycle
 
Software engineering jwfiles 3
Software engineering jwfiles 3Software engineering jwfiles 3
Software engineering jwfiles 3
 
Software engineering.pptx
Software engineering.pptxSoftware engineering.pptx
Software engineering.pptx
 
S.E Lec #1.pptx
S.E Lec #1.pptxS.E Lec #1.pptx
S.E Lec #1.pptx
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 
Intoduction to software engineering part 2
Intoduction to software engineering part 2Intoduction to software engineering part 2
Intoduction to software engineering part 2
 
Chapter 1,2,3,4 notes
Chapter 1,2,3,4 notesChapter 1,2,3,4 notes
Chapter 1,2,3,4 notes
 
Software vjhghjjkhjkkkghhjhEngineering.pdf
Software vjhghjjkhjkkkghhjhEngineering.pdfSoftware vjhghjjkhjkkkghhjhEngineering.pdf
Software vjhghjjkhjkkkghhjhEngineering.pdf
 
Lect3 ch15-unit2
Lect3 ch15-unit2Lect3 ch15-unit2
Lect3 ch15-unit2
 
2 (1).ppt
2 (1).ppt2 (1).ppt
2 (1).ppt
 
SDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSDLC - Software Development Life Cycle
SDLC - Software Development Life Cycle
 
SE18_Lec 02_Software Life Cycle Model
SE18_Lec 02_Software Life Cycle ModelSE18_Lec 02_Software Life Cycle Model
SE18_Lec 02_Software Life Cycle Model
 
1.Basic Introduction_software engineering.ppt
1.Basic Introduction_software engineering.ppt1.Basic Introduction_software engineering.ppt
1.Basic Introduction_software engineering.ppt
 
Sdlc model
Sdlc modelSdlc model
Sdlc model
 
Software engineering Satish.pptx
Software engineering Satish.pptxSoftware engineering Satish.pptx
Software engineering Satish.pptx
 
2.SDLC Models.ppt
2.SDLC Models.ppt2.SDLC Models.ppt
2.SDLC Models.ppt
 
Software Project management
Software Project managementSoftware Project management
Software Project management
 

Recently uploaded

Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
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
 
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
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
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
 
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...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
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
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

lect3-Life-Cycle-models-I.pptx

  • 3. Life Cycle Model • A software life cycle model (also process model or SDLC): –A descriptive and diagrammatic model of software life cycle: –Identifies all the activities undertaken during product development, –Establishes a precedence ordering among the different activities, –Divides life cycle into phases. 3
  • 4. Life Cycle Model (CONT.) • Each life cycle phase consists of several activities. –For example, the design stage might consist of: • structured analysis • structured design • Design review 4
  • 5. Why Model Life Cycle? • A graphical and written description: –Helps common understanding of activities among the software developers. –Helps to identify inconsistencies, redundancies, and omissions in the development process. –Helps in tailoring a process model for specific projects. 5
  • 6. Life Cycle Model (CONT.) • The development team must identify a suitable life cycle model: –and then adhere to it. –Primary advantage of adhering to a life cycle model: • Helps development of software in a systematic and disciplined manner. 6
  • 7. Life Cycle Model (CONT.) • When a program is developed by a single programmer --- – The problem is within the grasp of an individual. – He has the freedom to decide his exact steps and still succeed --- called Exploratory model--- One can use it in many ways – CodeTest Design – CodeDesign Test  Change Code  – Specify code Design Test  etc. 7 Initial Coding Do Until Done Test Fix
  • 8. Life Cycle Model (CONT.) • When software is being developed by a team: –There must be a precise understanding among team members as to when to do what, –Otherwise, it would lead to chaos and project failure. 8
  • 9. Life Cycle Model (CONT.) • A software project will never succeed if: –one engineer starts writing code, –another concentrates on writing the test document first, –yet another engineer first defines the file structure –another defines the I/O for his portion first. 9
  • 10. Phase Entry and Exit Criteria • A life cycle model: –defines entry and exit criteria for every phase. –A phase is considered to be complete: •only when all its exit criteria are satisfied. 10
  • 11. Life Cycle Model (CONT.) • What is the phase exit criteria for the software requirements specification phase? –Software Requirements Specification (SRS) document is complete, reviewed, and approved by the customer. • A phase can start: –Only if its phase-entry criteria have been satisfied. 11
  • 12. Life Cycle Model: Milestones • Milestones help software project managers: –Track the progress of the project. –Phase entry and exit are important milestones. 12
  • 13. Life Cycle and Project Management • When a life cycle model is followed: –The project manager can at any time fairly accurately tell, •At which stage (e.g., design, code, test, etc.) the project is. 13
  • 14. Project Management Without Life Cycle Model • It becomes very difficult to track the progress of the project. –The project manager would have to depend on the guesses of the team members. • This usually leads to a problem: –known as the 99% complete syndrome. 14
  • 15. Project Deliverables: Myth and Reality Myth: The only deliverable for a successful project is the working program. Reality: Documentation of all aspects of software development are needed to help in operation and maintenance. 15
  • 16. Life Cycle Model (CONT.) • Many life cycle models have been proposed. • We confine our attention to only a few commonly used models. –Waterfall –V model, –Evolutionary, –Prototyping –Spiral model, –Agile models Traditional models 16
  • 17. Software Life Cycle • Software life cycle (or software process): –Series of identifiable stages that a software product undergoes during its life time: • Feasibility study • Requirements analysis and specification, • Design, • Coding, • Testing • Maintenance. 17
  • 18. Classical Waterfall Model • Classical waterfall model divides life cycle into following phases: –Feasibility study, –Requirements analysis and specification, –Design, –Coding and unit testing, –Integration and system testing, –Maintenance. Conceptualize Specify Design Code Test Maintain Retire Deliver 18
  • 19. Classical Waterfall Model Feasibility Study Req. Analysis Design Coding Testing Maintenance Simplest and most intuitive 19
  • 20. Relative Effort for Phases • Phases between feasibility study and testing –Called development phases. • Among all life cycle phases –Maintenance phase consumes maximum effort. • Among development phases, –Testing phase consumes the maximum effort. 0 10 20 30 40 50 60 Req. Sp Design Coding Test Maintnce Relative Effort
  • 21. Process Model • Most organizations usually define: –Standards on the outputs (deliverables) produced at the end of every phase –Entry and exit criteria for every phase. • They also prescribe methodologies for: –Specification, –Design, –Testing, –Project management, etc.
  • 22. Classical Waterfall Model (CONT.) • The guidelines and methodologies of an organization: –Called the organization's software development methodology. • Software development organizations: – Expect fresh engineers to master the organization's software development methodology. 22
  • 24. Feasibility Study • Main aim of feasibility study: determine whether developing the software is: – Financially worthwhile – Technically feasible. • Roughly understand what customer wants: –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. 24 First Step
  • 25. Case Study • SPF Scheme for CFL • CFL has a large number of employees, exceeding 50,000. • Majority of these are casual labourers • Mining being a risky profession: – Casualties are high • Though there is a PF: – But settlement time is high • There is a need of SPF: – For faster disbursement of benefits 25
  • 26. Feasibility: Case Study • Manager visits main office, finds out the main functionalities required • Visits mine site, finds out the data to be input • Suggests alternate solutions • Determines the best solution • Presents to the CFL Officials • Go/No-Go Decision 26
  • 27. 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. 27
  • 28. Activities during Feasibility Study • Perform a cost/benefit analysis: –Determine which solution is the best. –May also find that none of the solutions is feasible due to: • high cost, • resource constraints, • technical reasons. 28
  • 29. Cost benefit analysis (CBA) • Need to identify all costs --- these could be: – Development costs – Set-up – Operational costs • Identify the value of benefits • Check benefits are greater than costs 29
  • 30. The business case • Benefits of delivered project must outweigh costs • Costs include: - Development - Operation • Benefits: – Quantifiable – Non-quantifiable Rs Rs Benefits Costs 30
  • 31. The business case • Feasibility studies should help write a ‘business case’ • Should provide a justification for starting the project • Should show that the benefits of the project will exceed: – Various costs • Needs to take account of business risks 31
  • 32. Writing an Effective Business Case 1. Executive summary 2. Project background:  The focus must be on what, exactly, the project is undertaking, and should not be confused with what might be a bigger picture. 3. Business opportunity - What difference will it make? - What if we don’t do it? 4. Costs - Should include the cost of development, implementation, training, change management, and operations. 5. Benefits  Benefits usually presented in terms of revenue generation and cost reductions. 6. Risks − Identify risks. − Explain how these will be managed. 32
  • 33. Classical Waterfall Model Feasibility Study Req. Analysis Design Coding Testing Maintenance 33
  • 34. 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. 34
  • 35. Requirements Analysis and Specification • Gather requirements data from the customer: Analyze the collected data to understand what customer wants • Remove requirements problems: Inconsistencies Anomalies Incompleteness • Organize into a Software Requirements Specification (SRS) document. 35
  • 36. Requirements Gathering • Gathering relevant data: –Usually collected from the end-users through interviews and discussions. –Example: for a business accounting software: •Interview all the accountants of the organization to find out their requirements. 36
  • 37. Requirements Analysis (Cont...) • The data you initially collect from the users: –Usually contain several contradictions and ambiguities. –Why? –Each user typically has only a partial and incomplete view of the system. 37
  • 38. 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. 38
  • 39. Classical Waterfall Model Feasibility Study Req. Analysis Design Coding Testing Maintenance Design 39
  • 40. Design • During design phase requirements specification is transformed into : – A form suitable for implementation in some programming language. • Two commonly used design approaches: –Traditional approach, –Object oriented approach 40
  • 41. Traditional Design Approach • Consists of two activities: –Structured analysis (typically carried out by using DFD) –Structured design 41
  • 42. Structured Design • High-level design: –decompose the system into modules, –represent invocation relationships among modules. • Detailed design: –different modules designed in greater detail: • data structures and algorithms for each module are designed. root Handle- order Handle-indent Handle- query Get- order Accept- order Process- order order query indent 42
  • 43. 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. 43
  • 44. Object Oriented Design (CONT.) • Object structure: –Refined to obtain the detailed design. • OOD has several advantages: –Lower development effort, –Lower development time, –Better maintainability. 44