Unit I - Software Process and Agile Development
Unit I - Software Process and Agile Development
Regulation : 2017
Introduction to Software Engineering, Software Process, Perspective and Specialized Process Models –Introduction to
Agility-Agile process-Extreme programming-XP Process.
• Systems Engineering
– Software as part of larger system, determine requirements for all system
elements, allocate requirements to software.
• Software Requirements Analysis
– Develop understanding of problem domain, user needs, function, performance,
interfaces, ...
– Software Design
– Multi-step process to determine architecture, interfaces, data structures,
functional detail. Produces (high-level) form that can be checked for quality,
conformance before coding.
• Coding
– Produce machine readable and executable form, match HW, OS and design needs.
• Testing
– Confirm that components, subsystems and complete products meet requirements,
specifications and quality, find and fix defects.
• Maintenance
– Incrementally, evolve software to fix defects, add features, adapt to new
condition. Often 80% of effort spent here!
Waterfall model phases:
• Requirements analysis and definition
• System and software design
• Implementation and unit testing
• Integration and system testing
• Operation and maintenance
• The main drawback of the waterfall model is the difficulty of accommodating change
after the process is underway. One phase has to be complete before moving onto the next
phase.
• Each phase terminates only when the documents are complete and approved by the SQA
group.
• Maintenance begins when the client reports an error after having accepted the product. It
could also begin due to a change in requirements after the client has accepted the product
Waterfall model: Advantages:
• Disciplined approach
• Careful checking by the Software Quality Assurance Group at the end of each phase.
• Testing in each phase.
• Documentation available at the end of each phase.
Waterfall model problems:
• It is 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.
• The customer must have patience. A working version of the program will not be available
until late in the project time-span
• Feedback from one phase to another might be too late and hence expensive.
The Prototyping Models:
• Often, a customer defines a set of general objectives for software but does not identify
detailed input, processing, or output requirements.
• In other cases, the developer may be unsure of the efficiency of an algorithm, the
adaptability of an operating system, or the form that human –machine interaction should
take
• In this case prototyping paradigm may offer the best approach
• Requirements gathering
• Quick design
• Prototype building
• Prototype evaluation by customers
• Prototype may be refined
• Prototype thrown away and software developed using formal process{ it is used to define
the requirement} Prototyping
Strengths:
• Requirements can be set earlier and more reliably
• Customer sees results very quickly.
• Customer is educated in what is possible helping to refine requirements.
• Requirements can be communicated more clearly and completely
• Between developers and clients Requirements and design options can be
investigated quickly and Cheaply
Weaknesses:
– Requires a rapid prototyping tool and expertise in using it–a cost for the
development organisation
– Smoke and mirrors - looks like a working version, but it is not.
The RAD Model:
• Rapid Application Development is a linear sequential software development process
model that emphasizes an extremely short development cycle
• Rapid application achieved by using a component based construction approach
• If requirements are well understood and project scope is constrained the RAD process
enables a development team to create a ―fully functional systemǁ
Team # n
M o d e lin g
busines s m
odeling dat a m
odeling
proc es s m odeling
C o n s t ru c t io n
c om ponent r eus
Team # 2 e aut om at ic c
Communicat ion ode
generat ion
Mo d el i ng t es t ing
b u si n e ss m o de li n
g d a t a m o d eli n g
p ro ce ss m od elin g
Planning
Co nst r uct i o n De ployment
Team # 1 co m p o n e n t re u int egrat ion
se a u t oma t i c cod
e deliv ery
Mode ling g e n erat io f eedback
n t e st i ng
business mode lin g
d at a mo delin g
p ro cess mod e ling
6 0 - 9 0 d ays
RAD phases :
• Business modeling
• Data modeling
• Process modeling
• Application generation
• Testing and turnover
Business modeling:
• What information drives the business process?
• What information is generated?
• Who generates it?
Data Modeling:
• The information flow defined as part of the business modeling phase is refined into a set
of data objects that are needed to support the business.
• The characteristics ( called attributes) of each object are identified and the relationships
between these objects are defined
Process modeling:
• The data modeling phase are transformed to achieve the information flow necessary to
implement a business function.
• Processing descriptions are created for adding , modifying, deleting, or retrieving a data
object
Application generation:
• RAD assumes the use of 4 generation techniques.
• Rather than creating software using conventional 3 generation programming languages,
the RAD process works to reuse existing program components (when possible) or created
reusable components (when necessary)
Testing and Turnover:
• Since the RAD process emphasizes reuse, many of the program components have already
been testing.
• This reduces over all testing time.
• However, new components must be tested and all interfaces must be fully exercised
Advantages &Disadvantages of RAD:
Advantages
• Extremely short development time.
• Uses component-based construction and emphasises reuse and code generation
Disadvantages
• Large human resource requirements (to create all of the teams).
• Requires strong commitment between developers and customers for “rapid-fire”
activities.
• High performance requirements maybe can’t be met (requires tuning the components).
The Incremental Model
incr em ent # n
C o m m u n i c a t i o n
P l a n n i n g
M o d e
l i n g
C o n s t r u c t
a n a l y s i s i o n
D e p l o y m e n t
d e s i g n
c o d e d e l i v e r y
t e s t f e e d b a c k
d e l i ve r y of
incr em ent # 2 n t h in crem e nt
C o m m u n i c at i o n
i n g
P l a
n n
o d e l i n g
M a n C o n s t r u c t i o n
al y s i s
d es i g c o
n d e Dt e p l o y m e
n
t e s t
d
e
e
r y
l i v d e li ve r y of
f e
b a
e
c
d
k 2 n d incr em e nt
incr em ent # 1
C o u n i c a t i o n
P l a n n
i n g M o d e l
i n g
C o n s t r u c t i o n
a n a l y s i
s
d es i g
c o d e D
m
e
e
p
n
l
t
o y
d e l i ve r y of
t e s t
n d e l i v
e r y
1 st incre me nt
f e e d b
a c k
System Engineering
• Software engineering occurs as a consequence of a process called system engineering.
• Instead of concentrating solely on software, system engineering focuses on a variety of
elements, analyzing, designing, and organizing those elements into a system that can be a
product, a service, or a technology for the transformation of information or control.
• The system engineering process usually begins with a ―world view.ǁ That is, the entire
business or product domain is examined to ensure that the proper business or technology
context can be established.
• The world view is refined to focus more fully on specific domain of interest. Within a
specific domain, the need for targeted system elements (e.g., data, software, hardware,
people) is analyzed. Finally, the analysis, design, and construction of a targeted system
element is initiated.
• At the top of the hierarchy, a very broad context is established and, at the bottom, detailed
technical activities, performed by the relevant engineering discipline (e.g., hardware or
software engineering), are conducted.
• Stated in a slightly more formal manner, the world view (WV) is composed of a set of
domains (Di), which can each be a system or system of systems in its own right.
WV = {D1, D2, D3, . . . , Dn}
• Each domain is composed of specific elements (Ej) each of which serves some role in
accomplishing the objective and goals of the domain or component:
Di = {E1, E2, E3, . . . , Em}
• Finally, each element is implemented by specifying the technical components (Ck) that
achieve the necessary function for an element:
Ej = {C1, C2, C3, . . . , Ck}
• Each of these engineering disciplines takes a domain-specific view, but it is important to note
that the engineering disciplines must establish and maintain active communication with one
another. Part of the role of requirements engineering is to establish the interfacing
mechanisms that will enable this to happen.
• The element view for product engineering is the engineering discipline itself applied to the
allocated component. For software engineering, this means analysis and design modeling
activities (covered in detail in later chapters) and construction and integration activities that
encompass code generation, testing, and support steps.
• The analysis step models allocated requirements into representations of data, function, and
behavior. Design maps the analysis model into data, architectural, interface, and soft ware
component-level designs.