Swe Lecture 02
Swe Lecture 02
Software Processes
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 1
Topics covered
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 2
The software process
✧ A structured set of activities required to develop a
software system.
✧ Many different software processes but all involve:
▪ Specification – defining what the system should do;
▪ Design and implementation – defining the organization of the system and implementing the system;
▪ Validation – checking that it does what the customer wants;
▪ Evolution – changing the system in response to changing customer needs.
✧ A software process model is an abstract representation of a process. It presents a
description of a process from some particular perspective.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 3
Software process descriptions
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 4
Plan-driven and agile processes
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 5
Software process models
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Software process models
✧ The waterfall model
▪ Plan-driven model. Separate and distinct phases of specification and development.
✧ Incremental development
▪ Specification, development and validation are interleaved. May be plan-driven or agile.
✧ In practice, most large systems are developed using a process that incorporates
elements from all of these models.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 7
The waterfall model
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Waterfall model phases
✧ There are separate identified phases in the waterfall model:
▪ Requirements analysis and definition
▪ System and software design
▪ Implementation and unit testing
▪ Integration and system testing
▪ Operation and maintenance
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 9
Waterfall model problems
✧ Inflexible partitioning of the project into distinct stages makes it difficult
to respond to changing customer requirements.
▪ Therefore, this model is only appropriate when the requirements are
well-understood and changes will be fairly limited during the design process.
▪ Few business systems have stable requirements.
✧ The waterfall model is mostly used for large systems engineering
projects where a system is developed at several sites.
▪ In those circumstances, the plan-driven nature of the waterfall model helps
coordinate the work.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 10
Incremental development
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Incremental development benefits
✧ The cost of accommodating changing customer requirements is reduced.
▪ The amount of analysis and documentation that has to be redone is much less than is required with
the waterfall model.
✧ It is easier to get customer feedback on the development work that has been done.
▪ Customers can comment on demonstrations of the software and see how much has been
implemented.
✧ More rapid delivery and deployment of useful software to the customer is possible.
▪ Customers are able to use and gain value from the software earlier than is possible with a waterfall
process.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 12
Incremental development problems
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 13
Integration and configuration
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 14
Types of reusable software
✧ Stand-alone application systems (sometimes called COTS) that are
configured for use in a particular environment.
✧ Collections of objects that are developed as a package to be integrated
with a component framework such as .NET or J2EE.
✧ Web services that are developed according to service standards and
which are available for remote invocation.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 15
Reuse-oriented software engineering
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Key process stages
✧ Requirements specification
✧ Software discovery and evaluation
✧ Requirements refinement
✧ Application system configuration
✧ Component adaptation and integration
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 17
Advantages and disadvantages
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 18
Process activities
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Process activities
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 20
The requirements engineering process
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Software specification
✧ The process of establishing what services are required and the
constraints on the system’s operation and development.
✧ Requirements engineering process
▪ Requirements elicitation and analysis
• What do the system stakeholders require or expect from the system?
▪ Requirements specification
• Defining the requirements in detail
▪ Requirements validation
• Checking the validity of the requirements
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 22
Software design and implementation
✧ The process of converting the system specification into an executable
system.
✧ Software design
▪ Design a software structure that realises the specification;
✧ Implementation
▪ Translate this structure into an executable program;
✧ The activities of design and implementation are closely related and may
be interleaved.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 23
A general model of the design process
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Design activities
✧ Architectural design, where you identify the overall structure of the system, the
principal components (subsystems or modules), their relationships and how they are
distributed.
✧ Database design, where you design the system data structures and how these are to
be represented in a database.
✧ Interface design, where you define the interfaces between system components.
✧ Component selection and design, where you search for reusable components. If
unavailable, you design how it will operate.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 25
System implementation
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 26
Software validation
✧ Verification and validation (V & V) is intended to show that a system
conforms to its specification and meets the requirements of the system
customer.
✧ Involves checking and review processes and system testing.
✧ System testing involves executing the system with test cases that are
derived from the specification of the real data to be processed by the
system.
✧ Testing is the most commonly used V & V activity.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 27
Stages of testing
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Testing stages
✧ Component testing
▪ Individual components are tested independently;
▪ Components may be functions or objects or coherent groupings of these entities.
✧ System testing
▪ Testing of the system as a whole. Testing of emergent properties is particularly
important.
✧ Customer testing
▪ Testing with customer data to check that the system meets the customer’s needs.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 29
Testing phases in a plan-driven software process (V-model)
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 30
Software evolution
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 31
System evolution
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Coping with change
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Coping with change
✧ Change leads to rework so the costs of change include both rework (e.g.
re-analysing requirements) as well as the costs of implementing new
functionality
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 34
Reducing the costs of rework
✧ Change anticipation, where the software process includes activities that can
anticipate possible changes before significant rework is required.
▪ For example, a prototype system may be developed to show some key features of the system to
customers.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 35
Coping with changing requirements
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 36
Software prototyping
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 37
Benefits of prototyping
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 38
The process of prototype development
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Prototype development
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 40
Throw-away prototypes
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 41
Incremental delivery
✧ Rather than deliver the system as a single delivery, the development and
delivery is broken down into increments with each increment delivering
part of the required functionality.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 42
Incremental development and delivery
✧ Incremental development
▪ Develop the system in increments and evaluate each increment before proceeding to the development of the
next increment;
▪ Normal approach used in agile methods;
▪ Evaluation done by user/customer proxy.
✧ Incremental delivery
▪ Deploy an increment for use by end-users;
▪ More realistic evaluation about practical use of software;
▪ Difficult to implement for replacement systems as increments have less functionality than the system being
replaced.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 43
Incremental delivery
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Incremental delivery advantages
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 45
Incremental delivery problems
✧ Most systems require a set of basic facilities that are used by different
parts of the system.
▪ As requirements are not defined in detail until an increment is to be implemented, it
can be hard to identify common facilities that are needed by all increments.
✧ The essence of iterative processes is that the specification is developed
in conjunction with the software.
▪ However, this conflicts with the procurement model of many organizations, where
the complete system specification is part of the system development contract.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 46
Bonus Content – Just for Your Knowledge
Process improvement
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
Process improvement
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 48
Approaches to improvement
✧ The process maturity approach, which focuses on improving process and
✧ The agile approach, which focuses on iterative development and the reduction
of overheads in the software process.
▪ The primary characteristics of agile methods are rapid delivery of functionality and
responsiveness to changing customer requirements.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 49
The process improvement cycle
✧ Process analysis
▪ The current process is assessed, and process weaknesses and bottlenecks are identified. Process
models (sometimes called process maps) that describe the process may be developed.
✧ Process change
▪ Process changes are proposed to address some of the identified process weaknesses. These are
introduced and the cycle resumes to collect data about the effectiveness of the changes.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 51
Process measurement
✧ Wherever possible, quantitative process data
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 52
Process metrics
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 53
Capability maturity levels
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025
The SEI capability maturity model
✧ Initial
✧ Repeatable
▪ Product management procedures defined and used
✧ Defined
▪ Process management procedures and strategies defined
and used
✧ Managed
▪ Quality management strategies defined and used
✧ Optimising
▪ Process improvement strategies defined and used
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 55
Key points
✧ Software processes are the activities involved in producing a software system.
Software process models are abstract representations of these processes.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 56
Key points
✧ Design and implementation processes are concerned with transforming a
requirements specification into an executable software system.
✧ Software validation is the process of checking that the system conforms to its
specification and that it meets the real needs of the users of the system.
✧ Software evolution takes place when you change existing software systems to
meet new requirements. The software must evolve to remain useful.
✧ Processes should include activities such as prototyping and incremental
delivery to cope with change.
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 57
Key points
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 58
Questions?!
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 59
Stay in touch!
ha.eldeeb@gmail.com
@hassaneldeeb
@_HassanEldeeb_
Dr. Hassan Eldeeb Software Engineering: Software Processes Software Engineering - Feb, 2025 60