Sepm Unit I
Sepm Unit I
Course Objectives:
To learn and understand the principles of Software Engineering
software requirements.
To be acquainted with methods of capturing, specifying, visualizing and analyzing
To apply Design and Testing principles to S/W project development.
To understand project management through life cycle of the project.
To understand software quality attributes.
Course : Software Engineering and Project
Management
Unit 1
Introduction to Software
Engineering, Software Process
Models
Syllabus
Software Engineering Fundamentals : Nature of Software , Software
Engineering Principles, The Software Process , Software Myths
Why it is important ?
Software is important because it affects nearly every aspect of our
lives and has become pervasive in our commerce, our culture, and
our everyday activities.
Software engineering is important because it enables us to
build
complex systems in a timely manner and with high quality.
What are the steps ?
You build computer software like you build any successful product, by
applying result
an agile, adaptable process that leads to a high-quality
that meets the needs of the people who will use the product.
You apply a software engineering approach.
Therefore, software has characteristics that are
considerably different than those of hardware :-
1. Software is developed or engineered; it is not manufactured in
the classical sense.
Although some similarities exist between software development and
hardware manufacturing, the two activities are fundamentally
different.
In both activities, high quality is achieved through good design, but
problems that are nonexistent (or easily corrected) for software.
the manufacturing phase for hardware can introduce quality
Both activities are dependent on people, but the relationship between people
applied and work accomplished is entirely different.
Both activities require theconstruction of a “product,” but the
approaches are different.
Software costs are concentrated in engineering.
This means that softwareprojects cannot be managed as if they were
manufacturing projects.
Figure 1.1 :- Failure curve for Hardware
Figure 1.1 depicts failure rate as a function of time for hardware.
The relationship, often called the “bathtub curve,” indicates that
hardware exhibits relatively high failure rates early in its life (these
failures are often attributable to design or manufacturing defects);
defects are corrected and the failure rate drops to a steady-state
level (hopefully, quite low) for some period of time.
As time passes, however, the failure rate rises again as hardware
components suffer from the cumulative effects of dust,
extremes, and many other
vibration, abuse, temperature
environmental maladies.
Stated simply, the hardware begins to wear out.
2. Software doesn’t “wear out.”
to the environmental maladies that cause
Software is not susceptible
hardware to wear out.
should take the
In theory, therefore, the failure rate curve for software
form of the “idealized curve” shown in Figure 1.2.
Figure 1.2 :- Failure curves for Software
The idealizedcurve is a gross oversimplification of actual failure models
for software.
However, the implication is clear—software doesn’t wear out. But it does
deteriorate!
During its life, software will undergo change.
As causing the
changes are made, it is likely that errors will be introduced,
failure rate curve to spike as shown in the “actual curve”
(Figure 1.2).
Before the curve can return to the original steady-state failure rate,
another change is requested, causing the curve to spike again.
Slowly, the minimum failure rate level begins to rise—the software is
deteriorating due to change.
When a hardware component wears out, it is replaced by a spare part.
There are no software spare parts.
Every software failure indicates an error in design or in the process through
which design was translated into machine executable code.
Therefore, the software maintenance tasks that accommodate
considerably more complexity than
requests for change involve
hardware maintenance.
3. Although the industry is moving toward component-based
construction, most software continues to be custom built.
evolves, a collection of standard design
As an engineering discipline
components is created.
Standard screws and off-the-shelf integrated circuits are only two of
thousands of standard components that are used by mechanical and
electrical engineers as they design new systems.
The reusable components have been created so that the engineer
can concentrate on the truly innovative elements of a
design, that is,
the parts of the design that represent something new.
component reuse is a natural part of the
In the hardware world,
engineering process.
In the software world, it is
something that has only begun to be
achieved on a broad scale.
A software component should be designed and implemented so that it can be
reused in many different programs.
For example, today’s interactive user interfaces are built with
reusable components that enable the creation of graphics windows,
pull-down menus, and a wide variety of interaction mechanisms.
The data structures and processing detail required to build the
interface are containedwithin a library of reusable components for
interface construction.
Software Application Domains
Today, seven broad categories of computer software present
continuing challenges for software engineers:
1. System software
A collection of system programs known as System Software.
Some system software (e.g., compilers, editors, and file management utilities)
processes complex, but determinate, information structures.
Other systems applications (e.g., operating system components,
drivers, networking software, telecommunications processors)
process largely indeterminate data.
Software is determinate if the order and timing of inputs, processing, and outputs
is predictable.
Software is indeterminate if the order and timing of inputs, processing, and
outputs cannot be predicted in advance.
2. Application software
Stand-alone programs that solve a specific business need.
Applications in this area process business or technical data in a way
decision making.
that facilitates business operations or management/technical
In addition to conventional data processing applications, application
software is used to control business functions in real time.
3. Engineering/scientific software
It has been characterized by “number crunching” algorithms.
Applications range from astronomy to volcanology, from
automotive stress analysis to space shuttle orbital dynamics, and
from molecular biology to automated manufacturing.
4. Embedded software
They resides within a product or system and is used to implement
system itself.
and control features and functions for the end user and for the
Embedded software can perform limited and esoteric functions (e.g.,
key pad control for a microwave oven) or provide significant function
fuel control, dashboard displays, and braking systems).
and control capability (e.g., digital functions in an automobile such as
5. Product-line software
a specific capability for use by many
They designed to provide
different customers.
Product-line software can focus on a limited and esoteric
marketplace. (e.g., inventory control products) or address mass
consumer markets (e.g., word processing, spreadsheets,
computer graphics, multimedia, entertainment, database
management, and personal and business financial applications).
6. Web Applications
They are also called as “WebApps,” this network-centric software
category spans a wide array of applications.
In their simplest form, WebApps can be little more than a set of
linked hypertext files that present information using text and limited
graphics.
7. Artificial intelligence software
It makes use of non numerical algorithms to solve complex
problems that are
not amenable to computation or straightforward analysis.
Applications within this area include robotics, expert systems, pattern
artificial neural networks, theorem
recognition (image and voice),
proving, and game playing.
Software Engineering
When a new application or embedded system is to be built, many voices
must be heard.
And it sometimes seems that each of them has a slightly different idea of
what software features and functions should be delivered.
It follows that a concerted effort should
be made to understand the problem
before a software solution is developed.
The technology requirements demanded by individuals,
information
businesses,
and governments grow increasing complex with each passing year.
Large teams of people now create computer programs.
Sophisticated software that was once implemented in a predictable,
self-contained, computing environment is now embedded inside
everything
from consumer electronics to medical devices to
weapons systems.
It follows that design becomes a pivotal activity.
o Individuals, businesses, and governments increasingly rely on
software for strategic and tactical decision making as well as day-
to-day operations and control.
o If the software fails, people and major enterprises can experience
anything from minor inconvenience to catastrophic failures.
o It follows that software should exhibit high quality.
As the perceived value of a specific application grows, the likelihood is that
its user base and longevity will also grow. As its user base and time-in-
use
increase, demands for adaptation and enhancement will also
grow.
It follows that software should be maintainable.
Software engineering is the establishment and use of sound
engineering principles in order to obtain economically software that
is reliable and works efficiently on real machines.
Software Engineering is the application of a systematic,
disciplined, quantifiable approach to the development, operation,
that is, the application of
and maintenance of software;
engineering to software.
Software engineering is a layered technology.
Referring to Figure 1.3, any engineering approach (including software
engineering) must rest on an organizational commitment to quality.
Figure 1.3 :- Software Engineering Layers
The bedrock that supports software engineering is a Quality focus.
The foundation for software engineering is the Process layer. The
software engineering process is the glue that holds the technology
layers together and enables rational and timely development of
computer software.
be established for effective delivery
Process defines a framework that must
of software engineering technology.
forms the basis for management control of
The software process
software projects.
Methods provide the technical how-to’s for
Software engineering
building software.
Methods encompass a broad array of tasks that include
design modeling, program
communication, requirements analysis,
construction, testing, and support.
Software engineering methods rely on a set of basic principles that
govern each area of the technology and include modeling activities
and other descriptive techniques.
automated or semi automated support
Software engineering tools provide
for the process and the methods.
When tools are integrated so that information created by one
tool can be used by another, a system for the support of software
development, called Computer-aided software engineering, is
established.
The Software Process
A Process is a collection of activities, actions, and tasks that
are performed when some work product is to be created.
An activity strives to achieve a broad objective (e.g.,
communication with stakeholders) and is applied regardless of the
application domain, size of the project, complexity of the effort, or
degree of rigor with which software engineering is to be applied.
An action (e.g., architectural design) encompasses a set of tasks that
produce a major work product (e.g., an architectural design model).
A task focuses on a small, but well-defined objective (e.g.,
conducting a unit test) that produces a tangible outcome.
Process is an adaptable approach that enables the people doing the
work (the software team) to pick and choose the appropriate set of
work actions and tasks.
A Process framework establishes the foundation for a complete
software engineering process by identifying a small number of
framework activities that are applicable to all software projects,
regardless of their size or complexity.
In addition, the process framework encompasses a set of umbrella
activities that are applicable across the entire software process.
A generic process framework for software engineering
encompasses five activities:
1. Communication
Before any technical work can commence, it is critically important to
communicate and collaborate with the customer and other
stakeholders.
The intent is to understand stakeholders’ objectives for the project
and to gather requirements that helps to define software features
and functions.
2. Planning
Any complicated journey can be simplified if a map exists.
A activity creates
software project is a complicated journey, and the planning
a “map” that helps guide the team as it makes the journey.
The map—called a software project plan.
3. Modeling
Whether you’re a landscaper, a bridge builder, an aeronautical
day.
engineer, a carpenter, or an architect, you work with models every
You create a “sketch” of the thing so that you’ll understand the big
picture—what it
characteristics. will look like architecturally and many other
If required, you refine the sketch into greater and greater detail in an
effort tobetter understand the problem and how you’re going to
solve it.
A software engineer does the same thing by creating models to
better understand software requirements and the design that will
achieve those requirements.
4. Construction
This activity combines code generation (either manualor automated) and the
testing that is required to uncover errors in the code.
5. Deployment
The software (as a complete entity or as a partially completed
increment) is delivered to the customer who evaluates the delivered
product and provides feedback based on the evaluation.
A stakeholder is anyone who has a stake in the successful outcome of
managers, end users, software engineers,
the project—business
support people.
These five generic framework activities can be used during the
development of small, simple programs, the creation of large
Web applications, and for
the engineering of large, complex
computer-based systems.
different in each case,
The details of the software process will be quite
but the framework activities remain the same.
Software engineering process framework activities are
complemented by a number of umbrella activities.
In general, umbrella activities are applied throughout a software
project and help a software team manage and control progress,
quality, change, and risk.
Typical umbrella activities include:
1. Software project tracking and control
the project plan and take
Allows the software team to assess progress against
any necessary action to maintain the schedule.
2. Risk Management
may affect the outcome of the project or the quality
Assesses risks that
of the product.
3. Software Quality Assurance
Defines and conducts the activities required to ensure software quality.
4. Techincal Reviews
and
Assesses software engineering work products in an effort to uncover
remove errors before they are propagated to the next activity.
5. Measurement
Defines and collects process, project, and product measures
that assist the team in delivering software that meets
stakeholders’ needs; can be used in conjunction with all other
framework and umbrella activities
6. Software Configuration Management
Manages the effects of change throughout the software process.
7. Reusability Managemet
Defines criteria for work product reuse (including software
components) and establishes mechanisms to achieve reusable
components.
8. Work product preparation and production
Encompasses the activities required to create work products such as models,
documents, logs, forms, and lists.
How does process model differs from one another ?
prescription that must be
The software engineering process is not a rigid
followed dogmatically by a software team.
Rather, it should be agile and adaptable (to theproblem, to the project,
to the team, and to the organizational culture).
Therefore, a process adopted for one project might besignificantly
different than a process adopted for another project.
Among the differences are
Overall flow of activities, actions,
and tasks and the
interdependencies among them.
Degree to which actions and tasks are defined within each framework activity.
Degree to which work products are identified and required.
Manner in which quality assurance activities are applied.
Manner in which project tracking and control activities are applied.
Overall degree of detail and rigor with which the process is described.
Degree
to which the customer and other stakeholders are involved with the
project.
Level of autonomy given to the software team.
Degree to which team organization and roles are prescribed.
Software
Engineering Practice
of the generic
In the sections that follow, you’ll gain a basic understanding
concepts and principles that apply to framework activities
in the solution to the problem? That is, who are the
Who has a stake
stakeholders?
What are the unknowns? What data, functions, and features are
required to properly solve the problem?
Can the problem be compartmentalized? Is it possible to represent smaller
problems that may be easier to understand?
Can the problem be represented graphically? Can an analysis model be
created?
2. Plan the Solution
Now you understand the problem (or so you think) and you can’t
wait to begin coding. Before you do, slow down just a bit and do a
little design.
Have you seen similar problems before? Are there patterns that are
recognizable in a potential solution? Is there existing software that
implements the data, functions, and features that are required?
problem been solved? If so, are elements of the solution
Has a similar
reusable?
Can sub problems be defined? If so, are solutions readily apparent for the sub
problems?
to effective
Can you represent a solution in a manner that leads
implementation? Can a design model be created?
3. Carry out the Plan
The design you’ve created serves as a road map for the system you
want to build. There may be unexpected detours, and it’s possible
that you’ll discover an even better route as yougo, but the “plan”
will allow you to proceed without getting lost.
conform to the plan? Is source code traceable to the
Does the solution
design model?
Is each component part of the solution provably correct? Have the
design and code been reviewed, or better, have correctness proofs
been applied to the algorithm?
4. Examine the Result
You can’t be sure that your solution is perfect, but you can be sure
that you’ve designed a sufficient number of tests to uncover as many
errors as possible.
Is it possible to test each component part of the
solution? Has a
reasonable testing strategy been implemented?
Does the solution produce results that conform to the data,
software been
functions, and features that are required? Has the
validated against all stakeholder requirements?
In fact, it’s reasonable to state that a commonsense approach to
engineering will never lead you astray (away from the right
software
path).
Software Engineering
Principles
David Hooker [Hoo96] has proposed seven principles that focus on
software engineering practice as a whole. They are reproduced in
the following paragraphs:
1. The First Principle: The Reason It All Exists
A software system exists for one reason: to
provide value to its users. All
decisions should be made with this in mind.
Before specifying a system requirement, before noting a piece of
system functionality, before determining the hardware platforms
or development processes, ask yourself questions such as: “Does
this add real value to the system?” If the answer is “no,” don’t do
it. All other principles support this one.
2. The Second Principle: KISS (Keep It Simple, Stupid!)
Software design is not a haphazard (carelessness) process. There are many
factors to consider in any design effort.
All design should be as simple as possible.
This facilitates having a more easily understood and easily maintained system.
This is not to say that features, eveninternal features, should be
discarded in the name of simplicity.
Indeed, the more elegant designs are usually the more simple ones. Simple
also does not mean “quick and dirty.”
3. The Third Principle: Maintain the Vision
A clear vision is essential to the success of a software project .
Without conceptual integrity, a system threatens to become a
patchwork of incompatible designs, held together by the wrong
kind of screws. . . . Compromising the architectural vision of a
software system weakens and will eventually break even the well-
designed systems.
Having an empowered architect who can hold the vision and enforce
compliance helps ensure a very successful software project.
4. The Fourth Principle: What You Produce, Others Will Consume
So, always specify, design, and implement knowing someone else will have to
understand what you are doing.
The audience for any product of software development is potentially large.
Specify with an eye to the users. Design, keeping the implementers in
mind. Code with concern for those that must maintain and extend the
system.
Someone may have to debug the code you write, and that makes
of your code. Making their job easier adds value to the
them a user
system.
5. The Fifth Principle: Be Open to the Future
A system with a long lifetime has more value. In today’s computing
environments, where specifications change on a moment’s notice
and hardware platforms are obsolete just a few months old,
software lifetimes are typically measured in months instead of years.
However, true “industrial-strength” software systems must endure far
longer.
To do this successfully, these systems must be ready to adapt to these and
other changes.
Systems that dothis successfully are those that have been designed this way
from the start.
6. The Sixth Principle: Plan Ahead for Reuse
Reuse saves time and effort. Achieving a high level of reuse is
arguably the hardest goal to accomplish in developing a software
system.
The reuse of code and designs has been proclaimed as a major benefit
of using object-oriented technologies.
However, the return on this investment is not automatic. To
leverage (strategic advantage) the reuse possibilities that object-
oriented [or conventional] programming provides requires
forethought and planning.
There are many techniques to realize reuse at every level of the system
development process. . . .
Planning ahead for reuse reduces the cost and increases the value of
components and the systems into which they are
both the reusable
incorporated.
7. The Seventh principle: Think!
When you think about something, you are more likely to do it right. You also
gain knowledge about how to do it right again.
about something and still do it wrong, it becomes a valuable
If you do think
experience.
A side effect of thinking is learning to recognize when youdon’t know
something, at which point you can research the answer.
When clear thought has gone into a system, value comes out.
Applying the first six principles requires intense thought, for which the
potential rewards are enormous.
( If every software engineer and every software team simply followed Hooker’s
seven principles, many of the difficulties we experience in building complex
computer-based systems would be eliminated. )
Software Myths
Software myths—erroneous beliefs about software and the process
that is used
to build it—can be traced to the earliest days of
computing.
Myths have a number of attributes that make them insidious.
For instance, they appear to be reasonable statements of fact
(sometimes
containing elements of truth), they have an intuitive feel,
and they are often promulgated by experienced practitioners who
“know the score.”
1. Management myths
Managers with software responsibility, like managers in most
budgets, keep
disciplines, are often under pressure to maintain
schedules from slipping, and improve quality.
Myth : We already have a book that’s full of standards and
procedures for building software. Won’t that provide my
people with everything they need to know?
Reality : The book of standards may very well exist, but is it used?
Are software practitioners aware of its existence? Does it reflect
modern software engineering practice? Is it complete? Is it
adaptable? Is it streamlined to improve time-to-delivery while still
maintaining a focus on quality? In many cases, the answer to all of
these questions is “no.”
Myth : If we get behind schedule, we can add more
programmers and catch up
(sometimes called the “Mongolian horde” concept).
Reality : Software development is not a mechanistic process like
manufacturing. Peoplecan be added but only in a planned and well-
coordinated manner.
Myth : If I decide to outsource the software project to a third party, I can just
relax and let that firm build it.
Reality : If an organization does not understand how to manage and
it will invariably struggle when it
control software projects internally,
out-sources software projects.
2. Customer myths
A customer who requests computer software may be a person at
the next desk, a technical group down the hall, the marketing/sales
department, or an outside company that has requested software
under contract.
Myths lead to false expectations (bythe customer) and, ultimately,
dissatisfaction with the developer.
Myth : A general statement of objectives is sufficient to begin writing
programs—we can fill in the details later.
Reality : Although a comprehensive and stable statement of
is not always possible, an ambiguous “statement
requirements
objectives” is a recipe for disaster. Unambiguous requirements
of
Myth : Once we write the program and get it to work, our job is done.
Reality : Someone once said that “the sooner you begin ‘writing
code,’ the longer it’ll take you to get done.” Industry data indicate
that between 60 and 80 percent of all effort expended on
software will beexpended after it is delivered to the customer for
the first time.
I get the program “running” I have no way of assessing its
Myth : Until
quality.
Reality : One of the most effective software quality assurance
mechanisms can be applied from the inception of a project the
technical review. Software reviews are a “quality filter” that
have been found to be more effective than testing for finding
certain classes of software defects.
Myth : The only deliverable work product for a successful project is the
working program.
Reality : A working program is only one part of a software
configuration that includes many elements. A variety of work
products (e.g., models, documents, plans) provide a foundation
for successful engineering and, more important, guidance for
software support.
Myth : Software engineering will make us create voluminous and
unnecessary documentation and will invariably slow us down.
Reality : Software engineering is not about creating documents. It is
about creating a quality product. Better quality leads to reduced
rework. And reduced rework results in faster delivery times.
Process Models
A Generic Process Model
When you work to build a product or system, it’s important to go
through road map that helps you
a series of predictable steps—a
create a timely, high-quality result.
The road map that you follow is called a “software process”.
1. Real projects rarely follow the sequential flow that the model
proposes. Although the linear model can accommodate iteration,
it does so indirectly. As a result, changes can cause confusion as
the project team proceeds.
2. Real projects rarely follow the sequential flow that the model
proposes. Although the linear model can accommodate iteration,
it does so indirectly. As a result, changes can cause confusion as
the project team proceeds.
Prototyping
Often, a customer defines a set of general objectives for software,
but doesnot identify detailed requirements for functions and
features.
In other cases, the developer may be unsure of the efficiency of an
algorithm, the adaptability of an operating
human machine interaction should take. system, or the form that
In these, and many
other situations, a prototyping paradigm may offer
the best approach.
The prototyping paradigm (Figure 2.6) begins with communication.
You meet with other stakeholders to define the overall objectives for
the software, identify whatever requirements are known, and outline
areas where further definition is mandatory.
A prototyping iteration is planned quickly, and modeling (in the form of a
“quick design”) occurs.
A quick design focuses on a representation of those aspects of the
software that will be visible to end user.
The quick design leads to the construction of a prototype. The
prototype is deployed and evaluated by stakeholders, who provide
feedback that is used to further refine requirements.
Figure 2.6 : The Prototyping Paradigm
Ideally, the prototype serves as a mechanism for identifying software
requirements.
If a working prototype is to be built, you can make use of existing
program fragments or apply tools (e.g., report generators and
window managers) that enable working programs to be
generated quickly.
Both stakeholders and software engineers like the prototyping
paradigm.
system, and developers get to build
Users get a feel for the actual
something immediately.
Yet, prototyping can be problematic for the following reasons:
1. Stakeholders see what appears to be a working version of the
software, unaware that the prototype is held together haphazardly,
unaware that in the rush to get it working you haven’t considered
overall software quality or long-term maintainability.
The Inception phase of the UP encompasses both customer
communication and planning activities.
By collaborating with stakeholders, business requirements for the
software are identified; a rough architecture for the system is
ensuing project is developed.
proposed; and a plan for the iterative, incremental nature of the
Architecture at this point is nothing more than a tentative outline of
major subsystems and the function and features that populate
them. Later, the architecture will be refined and expanded into a set
of models that will represent different views of the system.
The Elaboration phase encompasses the communication and
modeling activities of the generic process model (Figure 2.9).
Elaboration refines and expands the preliminary use cases that were
developed as part of the inception phase and expands the
architectural representation.
The architectural baseline demonstrates the viability of the
architecture but does not provide all features and functions required
to use the system.
The Construction phase of the UP is identical to the construction
activity defined for the generic software process.
Using the architectural model as input, the construction phase
develops or acquires the software components that will make each
use case operational for end users.
To accomplish this, requirements and design models that were
started during the elaboration phase are completed to reflect the
final version of the software increment.
The Transition phase of the UP encompasses the latter stages
of the generic construction activity and the first
deployment (delivery and feedback) activity. part of the generic
and user feedback
Software is given to end users for beta testing
reports both defects and necessary changes.
In addition, the software team creates the necessary support
information (e.g., user manuals, troubleshooting guides, installation
procedures) that is required for the release.
The Production phase of the UP coincideswith the
deployment activity of the generic process.
During this phase, the ongoing use of the software is monitored,
support for the operating environment (infrastructure) is provided,
and defect reports and requests for changes are submitted and
evaluated.
5. Concurrent Model
The concurrent development model, sometimes called
concurrent engineering, allows a software team to represent
iterative and concurrent elements of any of the process models.
Figure 2.8 provides a schematic representation of one software
engineering activity
within the modeling activity using a concurrent
modeling approach.
modeling may be in any one of the states noted at any given
The activity
time.
engineering activities exist concurrently but reside in different
Software
states.
Figure 2.8 : One element
of the Concurrent
process model
For example, early in a project the communication activity (not
shown in the figure) hascompleted its first iteration and exists in the
awaiting changes state.
The modeling activity (which existed in the inactive state while initial
communication was completed, now makes a transition into the
under development state.
If, however, the customer indicates that changes in requirements
must be made, the modeling activity moves from the under
development state into the awaiting changes state.
Concurrent modeling defines a series of events that will trigger
activities, actions, or tasks.
transitions from state to state for each of the software engineering
This generates the event analysis model correction, which will trigger
action from the done state into the
the requirements analysis
awaiting changes state.
Advanced Process Models &
Tools:
Agile software development:
Agile Methods
What is it ?
combines a philosophy and a set of
Agile software engineering
development guidelines.
The philosophy encourages customer satisfaction and early
incremental delivery of software; small, highly motivated
project teams; informal methods; minimal software engineering
work products; and overall development simplicity.
team fosters communication and collaboration among all who serve
An agile
on it.
Why is it important ?
The modern business environment that spawns computer-based systems
and software products is fast-paced and ever changing.
What is an Agile Process ?
Any agile software process is characterized in a manner that
addresses a numberof key assumptions about the majority of
software projects.
More time is spent on howthe system should be developed than on program
development and testing.
As the system requirements change, rework is essential and, in
principle
at least, the specification and design has to change with the
program.
Dissatisfaction with these heavyweight approaches to software
engineering led a number of software developers in the 1990s to
propose new ‘Agile Methods’.
These allowed the development team to focus on the software itself rather
than on its design and documentation.
Agile methods universally rely on an incremental approach to
software specification, development, and delivery.
They are best suited to application development where the system
process.
requirements usually change rapidly during the development
They are intended to deliver working software quickly to customers,
who can then propose new and changed requirements to be included
in later iterations of the system.
Although these agile methods are all based around the notion of
incremental development and delivery, they propose different
processes to achieve this.
Two of the most widely used methods: Extreme programming & Scrum.
Agile methodshave been very successful for some types of system
development:
To Do
Doing
Done
• TO DO-When the project is started, then we put all the activities from the
product backlog to the 'To Do' state.
• Doing-When the team member starts working on an activity, then that
activity is put in a 'Doing' state,
• Done-when the activity is placed, then it is placed in a 'Done' state.
• From the Kanban board, one can get to know which activities have been
done and which activities they need to develop.
KANBAN
• One of the most important features of the Kanban
board is a Limit option.
• In the above figure, we have eight tasks in a product
backlog and limit set is 4.
• At a time, it will take only four tasks in a 'To Do'
state, and if any of the tasks come in a 'Doing' state,
then one more task from the product backlog will be
placed in a 'To Do' state.
• In this way, we can set the limit depending on the
availability of the resources.
KANBAN vs SCRUM
• As in scrum, we are taking some activities
from a product backlog and adding in a sprint
backlog.
• However, in Kanban, we do not have sprint, so
sprint backlog activity will not be performed.
• This is the main difference between scrum
and Kanban that scrum contains sprint
backlog while kanban does not contain the
sprint backlog.