Slide 1

Slide 1 text

CSE360 Introduction to Software Engineering Lecture 02: Process and Process Model Javier Gonzalez-Sanchez [email protected] javiergs.engineering.asu.edu Office Hours: By appointment

Slide 2

Slide 2 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 2 Software Engineering “The application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering to software.” – IEEE

Slide 3

Slide 3 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 3 Content • What is a process? • What is a process model? • What are the activities involved in Software Development? • What are the two strategies for software development?

Slide 4

Slide 4 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 4 Context Focus on quality process models methods tools

Slide 5

Slide 5 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 5 Focus on quality Process and Process Model process models

Slide 6

Slide 6 text

Process, Process Model, and Activities

Slide 7

Slide 7 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 7 Process and Process Model • Process: A structured set of activities required to develop a software system Think about this as an “object” • Process Models: A representation of relationships (structure) Think about this as an “class”

Slide 8

Slide 8 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 8 Activities 1. Communication or Requirement 2. Planning or Estimating or Scheduling 3. Modeling or Design 4. Construction or Coding 5. Testing (Unit, UI, Integration, Stress, Regression) 6. Deployment or Delivery

Slide 9

Slide 9 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 9 Focus on quality Process process model activities

Slide 10

Slide 10 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 10 How to connect the activities?

Slide 11

Slide 11 text

Structures for Process Models

Slide 12

Slide 12 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 12 Types of Structures Linear Iterative Evolutionary Parallel

Slide 13

Slide 13 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 13 What is our (software) goal?

Slide 14

Slide 14 text

Strategies for Software Development

Slide 15

Slide 15 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 15 Strategy Plan-based Agile

Slide 16

Slide 16 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 16 Strategy § Plan-driven all process activities are planned in advance and progress is measured against a plan (a contract). § Agile, planning is incremental and it is easier to change the process to reflect changing customer requirements.

Slide 17

Slide 17 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 17 Examples Plan-Based Models: • Waterfall • V-model • Incremental • Spiral • Prototype Agile Methodologies: • SCRUM • Kanban • XP (extreme programming) • Feature Driven Development

Slide 18

Slide 18 text

Plan-based Process

Slide 19

Slide 19 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 19 Plan-based Process Models • Waterfall • V-model • Incremental • Spiral • Prototype

Slide 20

Slide 20 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 20 The Waterfall Model

Slide 21

Slide 21 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 21 The Waterfall Model § Key idea: Separate and distinct phases of specification and development. A phase has to be complete before moving onto the next phase. § Type: Linear model. § Recommended for: Embedded systems and Large systems(developed by several partner companies) § Disadvantage: difficulty of accommodating change after the process is underway.

Slide 22

Slide 22 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 22 The V-Model this arrows point at what we are testing

Slide 23

Slide 23 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 23 The V-Model § Key idea: It is an extension of Waterfall where instead of moving down in a linear way, the process steps are bent upwards after the coding phase. While tests are just one of five steps in Waterfall, it looks like practically half of the process in V-model. § Type: Linear model. § Recommended for: well-suited for projects that must maintain a strict deadline and meet key milestone dates throughout the process. Example: medical device industry § Disadvantage: same that waterfall

Slide 24

Slide 24 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 24 The Incremental Model

Slide 25

Slide 25 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 25 The Incremental Model Option A: Linear Increments (not all colors (activities) are repeated) Option B: Parallel Increments (most than 1 activity at the same time)

Slide 26

Slide 26 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 26 The Incremental Model § Key idea: split each activity in pieces. § Type: Iterative model (it could include parallel). § Recommended for: Facilitate getting customer feedback on the development work that has been done. § Disadvantages: (1) it could not cost-effective to produce documents that reflect every version of the system; (2) System structure tends to degrade as new increments are added. Unless time and money is spent on refactoring to improve the software, regular change tends to corrupt its structure.

Slide 27

Slide 27 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 27 Prototyping Construction of prototype communication Quick plan Modeling Quick design Construction of prototype Deployment delivery & feedback

Slide 28

Slide 28 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 28 Prototyping § Definition: a prototype is an initial version of a system used to demonstrate concepts and try out design options. § Evolutionary model § Recommended for: a prototype can be used to help with requirements elicitation and validation; or in design processes to explore options and develop a UI design.

Slide 29

Slide 29 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 29 The Spiral Model

Slide 30

Slide 30 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 30 The Spiral Model • Key idea: High amount of risk analysis hence, avoidance of Risk is enhanced. • Evolutionary model • Recommended for: (1) Good for large and mission- critical projects. (2) Strong approval and documentation control. (3) Significant changes are expected (research and exploration). • Doesn’t work well for smaller projects. • Doesn’t work well when users are unsure of their needs • Doesn’t work well when requirements are complex

Slide 31

Slide 31 text

Agile Process

Slide 32

Slide 32 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 32 Just Programming ... Agile emerged in the late 1990s and it aim was to radically reduce the delivery time for working software systems

Slide 33

Slide 33 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 33 Previously… Plan-based Agile

Slide 34

Slide 34 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 34 Agile Manifesto • Through this work we have come to value: “Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan “ • That is, while there is value in the items on the right, we value the items on the left more.

Slide 35

Slide 35 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 35 Definition software development under which requirements and solutions evolve through the collaborative effort of self-organizing cross-functional teams a) adaptive planning to provide a rapid and flexible response to change b) Iterative and incremental lightweight process c) early delivery, d) Feedback-driven empirical approach

Slide 36

Slide 36 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 36 Definition software development under which requirements and solutions evolve through the collaborative effort of self-organizing cross-functional teams a) adaptive planning to provide a rapid and flexible response to change b) Iterative and incremental lightweight process c) early delivery, d) Feedback-driven empirical approach

Slide 37

Slide 37 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 37 Agile vs Plan-driven • Requirements, design, implementation (and testing) are • inter-leaved

Slide 38

Slide 38 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 38 Agile in Numbers

Slide 39

Slide 39 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 39 Applicability • Product development where a software company is developing a small or medium-sized product for sale. • Several software products and apps nowadays are small or medium-sized; therefore, they are developed using an agile approach • Custom system development within an organization, where there is a clear commitment from the customer to become involved in the development process and where there are few external rules and regulations that affect the software.

Slide 40

Slide 40 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 40 Pros • The product is broken down into a set of manageable and understandable chunks. • Unstable requirements do not hold up progress. • The whole team have visibility of everything and consequently team communication is improved. • Customers see on-time delivery of increments and gain feedback on how the product works.

Slide 41

Slide 41 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 41 Cons • The informality of agile development is incompatible with the legal approach to contract definition (requirement specification) that is commonly used in large companies. • Agile methods are most appropriate for new software development rather than software maintenance (documentation). Yet the majority of software costs in large companies come from maintaining their existing software systems. • Agile methods are designed for small co-located teams yet much software development now involves worldwide distributed teams.

Slide 42

Slide 42 text

Javier Gonzalez-Sanchez | CSE360 | Summer 2018 | 42 References Read Chapter 1, 2, and 3

Slide 43

Slide 43 text

CSE360 – Introduction to Software Engineering Javier Gonzalez-Sanchez [email protected] Summer 2020 Disclaimer. These slides can only be used as study material for the class CSE360 at ASU. They cannot be distributed or used for another purpose.