Docsity

Software Engineering all units notes, Study notes of Introduction to Software Engineering

Toggle sidebar
bg1
1
UNIT I
Introduction to Software Engineering: A Generic view of Process: Software Engineering, Process
Framework, CMM Process Patterns, Process Assessment.
Process Models: Prescriptive Models, Waterfall Model, Incremental Process Models, Evolutionary Process
Models, Specialized Process Models, The Unified Models, Personal and Team Process Models, Process
Technology, Product and Process.
An Agile view of Process: Introduction to Agility and Agile Process, Agile Process Models.
Software: “It is defined as an organized set of instructions to deliver a desired output by considering
various processes and functions.”
Now-a-days software acts both as product (Application Software) and vehicle for delivering a product
(System Software).
As product, software delivers computing potential embodied by computer hardware (or) by a network of
computers that are accessible by local hardware.
As the vehicle used to deliver product, software acts as basis for control of PC (OS), Communication of
information (Networks) and Creation and Control of other programs (Software Tools, Environments).
Software Development: “It is a creative activity, where a software system is developed from initial concept
through a working system”.
Software Maintenance: “Process of changing a developed system once it is delivered”.
Software Evolution: “Evolutionary process where software is conceptually changed over its lifetime in
response to the changing requirements”.
Software Characteristics:
1.
Software is developed (or) engineered, it is not manufactured.
2.
Software doesn’t “wear out”. Sometimes, it may deteriorate with too many changes.
3.
Most of softwares continue to be custom build, component-based assembly. [As software is both product
and vehicle to carry product].
Types of Software Applications: Various types of softwares include:
1)
System Software: “A collection of programs written to service other programs.”
2)
Application Software: “It consists of stand-alone programs that solve a specific business need.”
3)
Engineering/Scientific Software: “Characterized by numerical algorithm.” Ex: Astronomy etc.
4)
Embedded Software: “Resides within a product/system to implement and control features and functions
for end user.” (Ex: keypad control for oven.)
5)
Web-Applications: “Set of linked hyper text files which provide e-commerce and B2B (Business to
Business) application.”
6)
AI Software: “Makes use of non-numerical algorithms to solve complex problems.” Ex: Robotics.
7)
Product-line Software: “Capable to be used by many different customers.” (Ex: DBMS in BSE.)
8)
Open Source: “Available for all customers and can be modified.”
9)
Net Sourcing: “WWW is used as a content provider. So Software Engineers can develop simple and
sophisticated applications.”
10)
Ubiquitous Computing: “Allows small devices to communicate across vast networks.”
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Software Engineering all units notes and more Study notes Introduction to Software Engineering in PDF only on Docsity!

UNIT I

Introduction to Software Engineering: A Generic view of Process: Software Engineering, Process Framework, CMM Process Patterns, Process Assessment. Process Models: Prescriptive Models, Waterfall Model, Incremental Process Models, Evolutionary Process Models, Specialized Process Models, The Unified Models, Personal and Team Process Models, Process Technology, Product and Process. An Agile view of Process: Introduction to Agility and Agile Process, Agile Process Models.

Software : “ It is defined as an organized set of instructions to deliver a desired output by considering

various processes and functions. ” Now-a-days software acts both as product (Application Software) and vehicle for delivering a product (System Software).  As product, software delivers computing potential embodied by computer hardware (or) by a network of computers that are accessible by local hardware.  As the vehicle used to deliver product, software acts as basis for control of PC (OS), Communication of information (Networks) and Creation and Control of other programs (Software Tools, Environments). Software Development : “It is a creative activity, where a software system is developed from initial concept through a working system”. Software Maintenance: “Process of changing a developed system once it is delivered”. Software Evolution: “Evolutionary process where software is conceptually changed over its lifetime in response to the changing requirements”. Software Characteristics:

  1. Software is developed (or) engineered, it is not manufactured.
  2. Software doesn’t “wear out”. Sometimes, it may deteriorate with too many changes.
  3. Most of softwares continue to be custom build, component-based assembly. [As software is both product and vehicle to carry product]. Types of Software Applications: Various types of softwares include: 1) System Software: “ A collection of programs written to service other programs. **”
  1. Application Software: “** It consists of stand-alone programs that solve a specific business need. ”
  2. Engineering/Scientific Software: “ Characterized by numerical algorithm. ” Ex: Astronomy etc.
  3. Embedded Software: “ Resides within a product/system to implement and control features and functions for end user. ” (Ex: keypad control for oven.) 5) Web-Applications: “ Set of linked hyper text files which provide e-commerce and B2B (Business to Business) application. ”
  4. AI Software: “ Makes use of non-numerical algorithms to solve complex problems. ” Ex: Robotics.
  5. Product-line Software: “ Capable to be used by many different customers. ” (Ex: DBMS in BSE.) 8) Open Source: “ Available for all customers and can be modified. **”
  6. Net Sourcing: “** WWW is used as a content provider. So Software Engineers can develop simple and sophisticated applications. **”
  7. Ubiquitous Computing: “** Allows small devices to communicate across vast networks. ”

A GENERIC VIEW OF PROCESS

Software Engineering-A Layered Technology: According to IEEE, “Software Engineering is the

application of a systematic, disciplined, quantifiable approach to the development, operation and maintenance of software i.e., application of engineering to software. Software engineering is a layered technology. The foundation for software engineering is the process layer. The software engineering process is the glue that holds the technology layers together and enables timely development of software. Process defines a framework that must be established for effective delivery of software engineering technology. The software process forms the basis for management control of software projects and establishes the context in which technical methods are applied, work products (models, documents, data, reports, forms, etc.) are produced, milestones are established, quality is ensured , and change is properly managed. Software engineering methods provide the technical how-to’s for building software. Methods encompass a broad array of tasks that include communication, requirements analysis, design modeling, program construction, testing, and support. Software engineering tools provide automated or semi automated support for 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 (CASE) , is established. Fig: Software Engineering Layers A Process Framework: “ It establishes a foundation for complete software process by identifying a small number of framework activities and umbrella activities that are applicable to all software projects. ”  Each framework activity is populated by a set of Software Engineering actions (Ex: Design) – collection of related tasks.  Each action is populated with individual work tasks.  Software is determinate if order and timing of inputs, processing and outputs is predictable, otherwise it is referred an indeterminate. Framework Activities:

1. Communication: It involves heavy communication and collaboration with customer and other stakeholders. It encompasses requirements gathering and related activities. 2. Planning: It plans for Software Engineering work that follows. It describes technical tasks to be conducted, resources that will be required, likely risks, work products to be produced and a work schedule. 3. Modeling: This activity focuses on creation of models that allow stakeholders (customer, developer) to better under software requirements and design that will achieve requirements.

Product and Process: If process is weak, the end products will undoubtedly suffer. But an obsessive

over- reliance on process is also dangerous.

Process Technology: “Process Technology tools are used to help software organizations to analyze their

current process, organize work tasks, controls and monitor progress, manage technical quality”.

Process Assessment: It is required to ensure that the process meets set of basic principles that are needed

for a successful software engineering. Approaches:CMM-Based Appraisal for Internal Process Improvement (CBA IPI): It provides a diagnostic technique for assessing the relative maturity of a software organization; uses the SEI CMM as the basis for the assessment  SPICE: S oftware P rocess I mprovement and C apability d E termination.  SCAMPI: S tandard C MMI A ssessment M ethod for P rocess I mprovement. It provides a five step process assessment model that includes: Initiating, Diagnosing, Establishing, Acting, and Learning.  ISO 9001:2000 for software: Generic standard to improve the overall quality of products, system and services of software organization. It adopted a plan-do-check-act cycle for continuous process improvement

CMMI

Capability Maturity Model Integration is a maturity model used to rank software development organizations. It is proposed by Software Engineering Institute (SEI). It represents process model as 1.Continuous Model 2.Staged Model CMM: “ It is maturity framework strategy that focuses on continuously improving the development and management of organization workforce. ” Capability Levels: The Capability levels depend on Key Process Areas (KPA). These are given as:

1. Level 0 (Incomplete): The process area (Ex; Requirement Management) is not performed or does not achieve all goals and objectives defined by CMMI for level 1 capability. 2. Level 1 (Initial/Performed): All specific goals of process area have been satisfied. Work tasks required to produce defined work products are being conducted. 3. Level 2 (Repeatable/Managed): All level 1 criteria have been satisfied.  All work related to PA is up-to-date with organization expectations.  All people doing work have access to adequate resources to get the job done i.e., stakeholders are actively involved.  Work task and work products are “monitored, controlled, reviewed and evaluated”. 4. Level 3 (Defined): All level 2 criteria are achieved. “The process is tailored from organization’s set of standard other processes and contributes work products, measures and other process improvement information to organizational process assets” 5. Level 4 (Quantitatively managed): All level 3 criteria are satisfied. Quantitative objectives for quality and process performance are established and used as criteria in managing the process. 6. Level 5 (Optimized): All level 4 criteria are satisfied. Process Area (PA) is adapted and optimized using quantitative needs to meet changing customer needs and continually improve efficiency of Process Area.

SEI has associated key process areas (KPAs) with each of the maturity levels. KPAs describe those software engineering functions (e.g., software project planning, requirements management) that must be present to satisfy good practice at a particular level. Each KPA is described by identifying the following characteristics:  Goals —the overall objectives that the KPA must achieve.  Commitments —requirements (imposed on the organization) that must be met to achieve the goals or provide proof of intent to comply with the goals.  Abilities —those things that must be in place (organizationally and technically) to enable the organization to meet the commitments.  Activities —the specific tasks required to achieve the KPA function.  Methods for monitoring implementation —the manner in which the activities are monitored as they are put into place.  Methods for verifying implementation —the manner in which proper practice for the KPA can be verified. Eighteen KPAs are defined across the maturity model and mapped into different levels of process maturity. The following KPAs should be achieved at each process maturity level: Process maturity level 2  Software configuration management  Software quality assurance  Software subcontract management  Software project tracking and oversight  Software project planning  Requirements management Process maturity level 3  Peer reviews  Intergroup coordination  Software product engineering

PERSONAL AND TEAM PROCESS MODELS: These models were proposed by Watts Humpry.

Each software engineer can create a process that best fits his or her needs. A team can also create a process that meets narrower needs of individuals and broader needs of organization. Personal Software Process (PSP): Every developer uses some process o build the computer software. The process may be Adhoc, may change daily and may not be efficient. PSP process model defines 5 framework activities :

  1. Planning
  2. High-Level Design
  3. High-Level Design Review
  4. Development
  5. Post-mortem. Team Software Process (TSP): An ideal software team can be of 3-20 Software Engineers (Integrated Product Teams). Its goal is to build a “self-directed” project team to produce high-quality software. Objectives:
  6. Build self-directed teams that plan and track their work, establish goals and own their processes and plans.
  7. Show managers how to motivate their teams and sustain peak performance.
  8. Accelerate software project improvement to achieve CMM level- 5 targets.
  9. Guide high-maturity organization to improve process standards. Framework Activities :
  10. Launch (Communication and Planning).
  11. High-level Design.
  12. Implementation.
  13. Integration and Test.
  14. Post-mortem. Note: TSP uses scripts (sequence of Tasks), forms, and standards to guide team members. PROCESS MODELS

PRESCRIPTIVE MODELS

Prescribes set of process elements such as framework activities, Software Engineering actions, tasks, work products, assurance and charge control mechanism. Each process model prescribes a work flow. Various Prescriptive models include: 1) THE WATERFALL MODEL: This model is proposed by Winston Royce. It is also called as classic life cycle. It is the oldest paradigm (model) in Software Engineering. It suggests a systematic, sequential approach to software development that begins with customer specification of requirements and progresses through planning, then with Modeling, construction and deployment. Fig : Waterfall Model.

The framework activities of the Waterfall model include:

1. Communication: It involves heavy communication and collaboration with customer and other stakeholders. It encompasses requirements gathering and related activities. 2. Planning: It plans for Software Engineering work that follows. It describes technical tasks to be conducted, resources that will be required, likely risks, work products to be produced and a work schedule. 3. Modeling: This activity focuses on creation of models that allow stakeholders (customer, developer) to better under software requirements and design that will achieve requirements. 4. Construction: It combines code generation and testing to uncover errors in the code. (Manual, automated actions). 5. Development: The software (completed/partial increment) is delivered to the customer for evaluation and feedback of it. Problems:  Real projects rarely follow the sequential flow.  It’s often difficult for customer to state all requirements explicitly.  Working version of program(s) will not be available until late in project time-span. So, customer must have patience. A variation in the representation of the waterfall model is called the V-model. The V-model depicts the relationship of quality assurance actions to the actions associated with communication, modeling, and early construction activities. As software team moves down the left side of the V, basic problem requirements are refined into progressively more detailed and technical representations of the problem and its solution. Once code has been generated, the team moves up the right side of the V, essentially performing a series of tests (quality assurance actions) that validate each of the models created as the team moved down the left side. In reality, there is no fundamental difference between the classic life cycle and the V-model. The V-model provides a way of visualizing how verification and validation actions are applied to earlier engineering work. Fig: The V – Model

3. Modeling: This activity focuses on creation of models that allow stakeholders (customer, developer) to better under software requirements and design that will achieve requirements. 4. Construction: It combines code generation and testing to uncover errors in the code. 5. Development: The software (completed/partial increment) is delivered to the customer for evaluation and feedback of it. Fig: RAD Process model. Advantages:  Project with 2-3 months deadline opt for RAD.  Task is divided among teams to fasten development process. Disadvantages:  Large projects using RAD may not work.  If high performance is an issue, RAD may not work.  RAD may not be appropriate when technical risks are high.

EVOLUTIONARY PROCESS MODELS

These models are specially designed to accommodate a product that evolves over time. These are iterative and enable software engineers to develop more complete software versions. 1) PROTOTYPING: Prototyping model is used when customer defines a set of objectives, but does not identify detailed input, processing output requirements, developer is unsure of efficiency of algorithm, adaptability of operating system etc, where phased model is inappropriate. Prototyping model can be used as a standalone process model. Prototyping paradigm assists the software engineer and customer to better understand what is to be built when requirements are fuzzy. Prototype helps to identify software requirements. Prototyping paradigm begins with communication, then quickly planning the prototyping iteration, modeling quick design, construction of prototype, and the prototype is deployed and then evaluated by the customer/user. Feedback is used to refine requirements for the software. Prototype can serve as “the first system”, where users get a feel of actual system and developers get to build something immediately.

Fig: Prototyping Model Prototyping can be problematic for following reasons:  Developers may not consider overall software quality. (Few “fixes” are applied to satisfy customer).  The developer often compromises in the implementation to get a prototype working quickly. The key is to define the rules of the game at the beginning; i.e., customer and developer must both agree that prototype is built to serve as a mechanism for defining requirements. 2) THE SPIRAL MODEL: The Spiral model is proposed by “Boehm”. This model was developed to encompass the best features of waterfall model and prototyping. It is a risk-driven process model with the risk analysis feature. Features:

  1. Cyclic Approach for increasing system’s degree of definition and implementation while decreasing degree of risk-Risk is considered as each revolution is made.
  2. Anchor Point Milestone for ensuring stakeholders commitment to feasible and mutually satisfactory systems solution. (Milestone is a combination of work products and conditions). Spiral model may be viewed as a Meta model, as it can accommodate any process development model. Software is developed as a series of evolutionary releases. Project manager adjusts planned number of iterations to complete the software. During early iterations prototype is generated and during later iterations complete version is developed. Fig: Spiral Model

All activities (communication/modeling/construction etc) exist concurrently but reside in different states. State is an externally observable mode of behavior). For example, early in a project, the communication activity has completed its first iteration and exists in the awaiting changes state. Modeling activity which was in none state will now move to under development state.  This model defines a series of events which will trigger transition from state to state for each of Software Engineering activities, actions/tasks. Advantages:  Applicable to all types of software development, provides accurate picture of current state of a project.  The software engineering activities, tasks and actions are defined as a network of activities, rather than sequence of events. Evolutionary Models Drawbacks:  Prototyping poses a problem to project planning because of uncertain number of cycles required to construct product.  Do not establish maximum speed of evolution.  May not give flexibility and extensibility for the software process.

SPECIALIZED PROCESS MODELS

These models are used when a narrowly defined Software Engineering approach is chosen.

1. COMPONENT-BASED DEVELOPMENT: Commercial Off-The-Shelf (COTS) software components are used when software is to be build. These components provide targeted functionality so that component to be integrated into the software.  It incorporates many characters of the spiral model. It is evolutionary in nature, composes applications from pre-packaged (COTS) software components. Steps:

  1. Available component-based products are researched and evaluated for the application domain in question.
  2. Component integration issues are considered.
  3. Software architecture is designed to accommodate the components.
  4. Components are integrated into the architecture.
  5. Comprehensive testing is used (conducted to ensure proper functionality). Advantage: Software reuse-Important to produce high quality software. 2. FORMAL METHODS MODEL: Specialized software development approach that uses mathematical based techniques for specifying, developing and verifying the computer softwares. Formal Methods Model helps the software developers to apply correct mathematical notations to create the issue of insufficiency, inconsistency and uncertainty of the software by applying mathematical analysis. During design phase, formal methods model acts as a program verifier and help Software Engineers to detect and correct these errors, which are otherwise very difficult to be detected. This model assures defect free software. Drawbacks:
  6. Time consuming and expensive.
  7. Software Engineers need extensive training to apply this model.
  8. Clients needed to be technically sound for proper communication.  Because of these reasons Formal Methods Models are used only in development of high integrity software applications where safety and security is of atmost importance.

3. ASPECT-ORIENTED SOFTWARE DEVELOPMENT (AOSD): As modern computer based systems become more sophisticated and complex, some concerns (security, fault tolerance, memory management etc) span the entire architecture. When concern cut across multiple system functions, features and information, they are referred as crosscutting concerns. Aspectual Requirements define those crosscutting concerns that have impact across the software architecture. AOSD, often referred to as Aspect-Oriented Programming (AOP), is a relatively new software engineering paradigm which provides a process for defining, specifying, designing and constructing aspects (crosscutting concerns). Presently there is no distinct Aspect-Oriented Process. If such an approach is developed, then it must integrate the characteristics of both spiral and concurrent model, because of their evolutionary and parallel natures respectively.

THE UNIFIED PROCESS MODEL: This model is also referred as RUP (Rational Unified Process).

Unified Process refers to a methodology of extracting the most essential activities of conventional software development phases (communication, planning, Modeling, construction and deployment) and characterizing them, so that they can be applied in the Agile (highly valued) software development. History: Jacobson, Rumbaugh and Greedy Booch developed the Unified Process, a framework for Object- Oriented Software Engineering using UML. Today, Unified Process and UML are used on Object- Oriented projects of all kinds.  The iterative, incremental model proposed by the Unified Process can and should be adapted to meet specific project needs. Phases of the Unified Process:

1. Inception Phase: The Inception Phase encompasses both customer communication and planning activities. By collaborating with customer and end-users, business requirements are identified and described through a set of use cases [sequence of actions that are performed by an actor (Ex: A person, machine, and another system). As actor interacts with the software, use cases provide project scope. The Inception Phase must: i. Produce a business case. ii. Identify business requirements, business and process risks. iii. Give overall vision for the project, as the outputs result in various documents/work products. Work Products: 1) Vision Documents 5) Initial Risk Assessment 2) Initial use-case model 6) Project Plan [Phases and Interaction] 3) Initial Project Glossary 7) Business Model (if necessary) 4) Initial Business case 8) One or more Prototypes 2. Elaboration Phase: The Elaboration Phase encompasses planning and Modeling activities. This phase refines and expands preliminary use-cases that were developed in inception phase. The Elaboration Phase expands the architectural representation to five views: 1) Use case Model, 2) Analysis Model, 3) Design Model, 4) Implementation Model, 5) Deployment Model. Elaboration Phase creates an “executable architectural baseline” that represents “first cut” executable system-prototype. Architectural baseline provides viability of the project but not all features and functions required to use the system. Modifications to the plan may be made at this time.

4. Transition Phase: The Transition Phase encompasses latter stages of construction and first part of deployment activities. Software is given to end-users for beta testing and user feedback about both defects and necessary changes. Software team creates necessary support information (Ex: user manuals, installation procedures) required for release. Work Products:

  1. Delivered software increment
  2. General User Feedback
  3. Beta Test Report 5. Production Phase: In the Production Phase, on-going use of software is monitored, support for operating environment is provided and defect reports and request for changes are submitted and evaluated.  Construction, Transition and Production phases are being conducted concurrently sometimes. So, five Unified Process phases do not occur in a sequence. AN AGILE VIEW OF PROCESS Q: What is Agility? Ans: Agility is dynamic, content specific, aggressively change and growth oriented. Agile software is highly valued software. Agile team is a nimble team able to respond to changes appropriately. The Agile Alliance defines 12 principles to achieve agility:
    1. Our highest priority is to satisfy customer through early and continuous delivery of valuable software.
    2. Welcome changing requirements, even later in development. Agile processes harness change for customer’s competitive advantage.
    3. Deliver working software frequently, from couple of weeks to months.
    4. Business people and developers must daily work together throughout the project.
    5. Build projects around motivated individuals.(Give them support environment and trust to get the job done).
    6. Most efficient and effective method of conveying information in a development team is face-to face conversation.
    7. Working software is primary measure of progress.
    8. Agile processes promote sustainable development. (Users, sponsors, developers should maintain a constant pace).
    9. Continuous attention to technical excellence and good design enhances agility.
    10. Simplicity is essential. (Art of maximum amount of work not done).
    11. Self-organizing teams are required for best architectures, requirements and designs.
    12. At regular intervals, team will tune and adjust its behavior to become more effective. Q: What is an Agile Process? Ans: Any Agile software process has 3 assumptions about software projects: i. It is difficult to predict in advance which software requirements, customer priorities will change and which will persist. ii. For many types of software, design and construction are interleaved (performed together). It is difficult to predict how much design is necessary before construction is used. iii. Analysis, design, construction and testing are not as predictable as we might like.

Q: How do we create a process that can manage unpredictability? Ans: Agile process must be adaptable, to have process adaptability. An agile software process must adapt incrementally. Customer feedback will make the process effective. Software increments must be delivered in short time periods, so that adaption keeps pace with change (unpredictability). Human Factors: Agile development focuses on the talents and skills of individuals, modeling the process to specific people and teams. Traits that must exist among people of Agile Team:

1. Competence: It encompasses innate talent, specific software knowledge of the process which the team applies. Skill and knowledge of process should be taught to all agile team members. 2. Common Focus: Although, Agile team members perform different tasks and bring different skills to be project, all should be focused on one goal-to deliver a working software increment to the customer within the time promised. 3. Collaboration: Team members must collaborate with one another, with customer and with business managers, as Software Engineering is 1) Assessing, analysing, using information that is communicated to software team. 2) Creating information that will help customer. 3) Building information (DBs) that provides business value for customer. 4. Decision Making Ability: Agile team is given autonomy decision making authority for both technical and project issues. 5. Fuzzy Problem-Solving Ability: Agile team will continually have to deal with ambiguity and changes. Lesson learned any problem solving activity benefits the team later in the project. 6. Mutual Trust and Respect: Agile team should be a “Jelled” team. Jelled team exhibits the trust and respect requirement for the project. 7. Self-Organisation : It implies 3 things: a) Agile team organises itself for the work to be done. b) Agile team organises the process to best accommodate its environment. c) Agile team organises the work schedule to achieve project delivery.

AGILE PROCESS MODELS: Many similarities among these approaches.

1) EXTREME PROGRAMMING (XP): XP uses Object-Oriented approach for development. The four Framework activities are: Planning, Design, Coding and Testing.

1. Planning: Planning begins with creation of a set of stories that describe required features and functionality for software to be built. Each story is written by customer and is placed on an index card. Customer assigns a value (priority) to it based on business value of it. XP team members then assess each story and assign a cost measured in development weeks to it. If the story will require more than 3 development weeks, customer is asked to split it into smaller stories, assignment of value and cost will occur again. Once a basic commitment (agreement on stories to be included, delivery date and other project matters) is made for a release, XP team orders stories that will be developed in one of three ways: 1. All stories will be implemented immediately. 2. Stories with highest value will be implemented first. 3. Riskiest stories will be moved up in schedule and implemented first.

As pair programmers complete their work, their code is integrated within the work of others. This “Continuous Integration” helps to avoid compatibility and interfacing problem and provides a “smoking testing/ smoke testing” environment that helps to uncover errors early.

4. Testing: The unit tests that are created should be implemented easily and repeatedly. This encourages a Regression Testing strategy whenever code is modified.  Regression Testing is the re-execution of same subset of tests that have already been conducted to ensure that changes have not propagated unintended side effects.  Integration and validation testing can occur on a daily basis.  XP acceptance tests, also called customer tests are specified by the customer and focus on overall system features and functionality. 2) ADAPTIVE SOFTWARE DEVELOPMENT (ASD): This model was proposed by Jim HighSmith. This is the best technique for building complex software and systems. ASD focus on human collaboration and self-organization. ASD life cycle has 3 phases: 1. Speculation: Project is initiated and adaptive cycle planning is conducted. Adaptive cycle planning uses customer is mission statement, project constraints (delivery dates etc) and basic requirements to define set of release cycle in the project. 2. Collaboration: Motivation of people to work together in a way that multiples their talent and creative output. Collaboration is not easy, as it is not just communication. It is a matter of trust. People working together must trust one another to: a. Criticize without animosity (strong dislike) b. Assist without resentment (feeling of displeasure) c. Work as harder as they do d. Have the skill set to contribute to the work at hand e. Communication problems (concerns in a way that leads to effective action). Fig: Adaptive Software Development

3. Learning: Software development may often over estimate their own understanding and learning will help them to improve their level of real understanding. ASD teams learn in 3 ways: a) Focus Groups: The customer lends users provide feedback on software increments that are being delivered. This provides direct indication of whether the product is satisfying business needs or not. b) Formal Technical Reviews (FTRS): ASD team members review the software components that are developed, improving quality and learning as they proceed. c) Post-mortems: ASD team becomes introspective (self thinking) addressing its performance and process. (With the intent of learning and then improving its approach). 3) DYNAMIC SYSTEMS DEVELOPMENT METHOD (DSDM): This approach “provides a framework for building and maintaining systems which meet tight time constraints through the use of incremental prototyping in a controlled project environment”. Ex: 80% of an application can be delivered in 20% of time it takes to deliver complete application. Like XP, ASD, DSDM also suggests an iterative software process. DSDM approach to each iteration follows 80% rule, where much of the detail can be completed when more business requirement/changes are known. DSDM Consortium is worldwide group of member companies, which uses DSDM approach. DSDM lifecycle defines 3 different iterative cycles, preceded by 2 additional life cycle activities.

  1. Feasibility Study: Establishes business requirements and application constraints and then assesses whether the application is viable candidate for DSDM process.
  2. Business Study: Establishes functional information requirements that allow the application to provide business value. Defines basic application architecture and identifies maintainability requirements for the application.
  3. Functional Model Iteration: Produces a set of incremental prototypes that demonstrate functionality for the customer. It helps in gathering additional requirements from user feedback who exercises the prototype.
  4. Design and Build Iteration: Revisits prototypes built during functional model iteration to ensure that they provide business value for end-users. Often occurs concurrently with Functional Model Iteration.
  5. Implementation: Places latest software increment into operational environment. It should be noted that a) Increment may not be 100% complete. b) Changes may be requested as increment is put in place. In both cases, DSDM development work continues by returning to Functional Model Iteration activity. DSDM can be combined with XP to provide a combination approach that defines a solid process model. 4) CRYSTAL: Alistair Cockburn and Jim Highsmith created the “crystal family of agile methods”, to achieve a software development approach that focuses on “manoeuvrability”-“a resource-limited, cooperative game of invention and communication, with a primary goal of delivering useful, working software and secondary goal of setting up for the next game”.  Crystal family is a set of agile processes that are effective for different types of projects.  The intent is to allow agile teams to select the member of crystal family that is most appropriate for their software project and environment.