Two-dimension view: time (long life) and space (large group)

Slides:



Advertisements
Similar presentations
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 6/e and are provided with permission by R.S.
Advertisements

Ch.1 Introduction to Software Engineering The Evolution 1.1 The Evolving Role of Software 1/15 In the early days: User Computer Software = Place a sequence.
Lecture 2 1 Introduction to Software Engineering.
May 2, May 2, 2015May 2, 2015May 2, 2015 Azusa, CA Sheldon X. Liang Ph. D. Software Engineering in CS at APU Azusa Pacific University, Azusa, CA.
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
1 SWE Introduction to Software Engineering Lecture 3 Introduction to Software Engineering.
SWE Introduction to Software Engineering
CS487 Software Engineering Omar Aldawud
1 Chapter 1 Software and Software Engineering Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Chapter : Software Process
Process: A Generic View n A software process  is a roadmap to building high quality software products.  provides a framework for managing activities.
CSEB233: Fundamentals of Software Engineering Introduction to Software & Software Engineering.
1 Software Engineering Muhammad Fahad Khan Software Engineering Muhammad Fahad Khan University Of Engineering.
Module 1 Introduction to Software Engineering Badariah Solemon 2010 CSEB233 Fundamentals of Software Engineering.
INTROSE Introduction to Software Engineering Raymund Sison, PhD College of Computer Studies De La Salle University Software: Definitions,
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.1.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 1 Software and Software Engineering Software Engineering: A Practitioner’s Approach, 6/e.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 Supplementary Slides for Software Engineering: A Practitioner's Approach, 6/e Part 1 Supplementary Slides for Software Engineering: A Practitioner's.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Chapter : Introduction to Software Engineering Ref. book : Software Engineering by Roger Pressman.
Chapter 1 Software and Software Engineering. A Quick Quiz 1. What percentage of large projects have excess schedule pressure? 25% 50% 75% 100% 2. What.
Chapter 2 소프트웨어공학 Software Engineering 임현승 강원대학교
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 Chapter 5 Software Engineering Practice. 2 What is “Practice”? Practice is a broad array of concepts, principles, methods, and tools that you must consider.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Coming up: Software Engineering: A Practitioner’s Approach, 6/e Chapter 5 Practice: A Generic View copyright © 1996, 2001, 2005 R.S. Pressman & Associates,
CS 3610: Software Engineering – Fall 2009 Dr. Hisham Haddad – CSIS Dept. Chapter 1 Software and Software Engineering Discussion of the Software Product.
Software Engineering Saeed Akhtar The University of Lahore Lecture 6 Originally shared for: mashhoood.webs.com.
1M.Sc(I.T.) VNSGU, Surat. Software is instructions (computer programs) that when executed provide desired function and performance, data structures that.
SWE311_Ch01 (071) Software & Software Engineering Slide 1 Chapter 1 Software and Software Engineering Chapter 1 Software and Software Engineering.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Coming up: Why worry about SW Engineering? 1 Software Engineering CS 421 / SWE 421 Dan Fleck.
Software Engineering (CSI 321) Introduction to Software Engineering 1.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 5 Practice: A Generic View Software Engineering: A Practitioner’s Approach, 6/e Chapter.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Overview: Software and Software Engineering n Software is used by virtually everyone in society. n Software engineers have a moral obligation to build.
Software Engineering Introduction.
CS223: Software Engineering Lecture 2: Introduction to Software Engineering.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
PI2134 Software Engineering IT Telkom.  Software definition  Characteristic of software  Software myths  Software Engineering definition  Generic.
CS 281 Intro to Software Engineering Lecture 02 Software Engineering (1)
Rekayasa Perangkat Lunak Kuliah 2. Outline of this presentation Attributes of Good Software Why Software Engineering ? What is Software Product ? Software.
Part 1 Introduction to Software Engineering 1 copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc. For University Use Only May be reproduced ONLY.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 1 Introduction to Software Engineering.
1 Chapter 1 Software and Software Engineering Software Engineering: A Practitioner’s Approach, 7th edition by Roger S. Pressman.
Chapter 2 Software Engineering
Chapter : Introduction to Software Engineering
Chapter : Introduction to Software Engineering
Software What Is Software?
Software Engineering B.E IT Sem-VII
Software Myths Deep Mann.
Chapter : Introduction to Software Engineering
Chapter 2 Software Engineering
For University Use Only
Overview: Software and Software Engineering
Chapter : Introduction to Software Engineering
Chapter : Introduction to Software Engineering
Software Testing and Maintenance Maintenance and Evolution Overview
Chapter 1 Software & Software Engineering
Chapter 1 Software & Software Engineering
Software Engineering (CSI 321)
What is Software? Software is: (1) instructions (computer programs) that when executed provide desired features, function, and performance; (2) data structures.
Lecture 1 & 2 Software Engineering Tutor: Dr. Nadeem Ahmad Ch.
Chapter 1 Software & Software Engineering
Chapter 1 Software & Software Engineering
Chapter 2 Software Engineering
Presentation transcript:

Ch 1: The Nature of Software Ch 2: Software Engineering Moonzoo Kim CS Dept. KAIST Two-dimension view: time (long life) and space (large group) Maintainability distributed/collaborative development => Understandability => Documentation ( natural language is far familiar than C/C++!!!)

Software’s Dual Role Software is a product Delivers computing potential Produces, manages, acquires, modifies, displays, or transmits information Software is a vehicle for delivering a product Supports or directly provides system functionality Controls other programs (e.g., an operating system) Effects communications (e.g., networking software) Helps build other software (e.g., software tools) Even Software can enable the creation of new technologies E.g. genetic engineering and nano technology The ultimate goal of the product is to be sold => Customer satisfaction is the key Many irrational request of customers => Be prepared to adapt your software =>GUI is one important area of SE. A problem is that SW engineers are not considered as major person in consumer electronics company.

What is Software? Software is a set of items or objects that form a “configuration” that includes • programs • documents • data ... a E.x.1> All packaged software shipped with manual. W/O it, nobody will use it, since the goal of E.x.2> Google is a good software with massive data. software is engineered software doesn’t wear out software is complex

Wear vs. Deterioration Bug fixes do not always solve the problem. Many software contains known bugs, but not fixing it unless they are critical. Regression testing.

Legacy Software Why must it change? software must be adapted to meet the needs of new computing environments or technology. software must be enhanced to implement new business requirements. software must be extended to make it interoperable with other more modern systems or databases. software must be re-architected to make it viable within a network environment. Be prepared to constant modification. Spend time and energy to prepare them in the early stages.

The Laws of SW Evolution (Ch. 36) (1/2) The Law of Continuing Change (1974): E-type systems must be continually adapted They become progressively less satisfactory otherwise The Law of Increasing Complexity (1974): As an E-type system evolves, its complexity increases unless work is done to maintain or reduce it (refactoring) The Law of Conservation of Organizational Stability (i.e., invariant work rate) (1980) : The average effective global activity rate in an evolving E-type system is invariant over product lifetime. Conservation of Organizational Stability – Unless feedback mechanisms are appropriately adjusted, average effective global activity rate in an evolving system tends to remain constant over product lifetime. The fact remains that for the systems observed, the count of modules changed (handled) or changes made per unit of time, as averaged over each release interval, has been statistically invariant over the period of observation. T On understanding laws, evolution, and conservation in the large-program life cycle M.M. Lehman Journal of Systems and Software Volume 1, 1979–1980, Pages 213–221 Source: Lehman, M., et al, “Metrics and Laws of Software Evolution—The Nineties View,” Proceedings of the 4th International Software Metrics Symposium (METRICS '97), IEEE, 1997, can be downloaded from: http://www.ece.utexas.edu/~perry/work/papers/feast1.pdf

The Laws of SW Evolution (Ch. 36) (2/2) The Law of Conservation of Familiarity (1980): As an E-type system evolves all associated with it, developers, sales personnel, users, for example, must maintain mastery of its content and behavior to achieve satisfactory evolution. Therefore, the average incremental growth remains invariant as the system evolves The Law of Continuing Growth (1980): The functional content of E-type systems must be continually increased to maintain user satisfaction over their lifetime. The Law of Declining Quality (1996): The quality of E-type systems will appear to be declining unless they are rigorously maintained and adapted to operational environment changes. Source: Lehman, M., et al, “Metrics and Laws of Software Evolution—The Nineties View,” Proceedings of the 4th International Software Metrics Symposium (METRICS '97), IEEE, 1997, can be downloaded from: http://www.ece.utexas.edu/~perry/work/papers/feast1.pdf

Management Myths Myth: We already have 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? In many cases, the answer to the following questions is "no.“ Are software practitioners aware of its existence? Does it reflect modern software engineering practice? Is it complete? Is it streamlined to improve time to delivery while still maintaining a focus on quality? Myth: If we get behind schedule, we can add more programmers and catch up Reality: Software development is not a mechanistic process like manufacturing. In the words of Brooks [BRO75]: "adding people to a late software project makes it later“ 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 control software projects internally, it will invariably struggle when it outsources software projects. Training people costs money and time. Software outsourcing: Not always threatening, but what about for embedded software domain???

Customer Myths Myth: A general statement of objectives is sufficient to begin writing programs—we can fill in the details later. Reality: A poor up-front definition is the major cause of failed software efforts. A formal and detailed description of the information domain, function, behavior, performance, interfaces, design constraints, and validation criteria is essential. These characteristics can be determined only after thorough communication between customer and developer. Myth: Project requirements continually change, but change can be easily accommodated because software is flexible. Reality: It is true that software requirements change, but the impact of change varies with the time at which it is introduced. Figure 1.3 illustrates the impact of change. If serious attention is given to up-front definition, early requests for change can be accommodated easily. The customer can review requirements and recommend modifications with relatively little impact on cost. When changes are requested during software design, the cost impact grows rapidly. Resources have been committed and a design framework has been established. Change can cause upheaval that requires additional resources and major design modification, that is, additional cost. Changes in function, performance, interface, or other characteristics during implementation (code and test) have a severe impact on cost. Change, when requested after software is in production, can be over an order of magnitude more expensivethan the same change requested earlier.

Practitioner’s Myths 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 ([LIE80], [JON91], [PUT97]) indicate that between 60 and 80 percent of all effort expended on software will be expended after it is delivered to the customer for the first time. Myth: Until I get the program "running" I have no way of assessing its quality. Reality: One of the most effective software quality assurance mechanisms can be applied from the inception of a project—the formal technical review. Software reviews are 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. Documentation provides 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 quality. Better quality leads to reduced rework. And reduced rework results in faster delivery times.

Why Is Software Process Important? Every organization tried to “get the fat” out of industrial processes for more than a century Ex. Toyota’s cost reduction for vehicle manufacturing A process is a collection of activities, actions, and tasks to perform when some work product is to be created. Process helps us order our thinking by defining common activities and artifacts Process is a means to capture and transfer the knowledge we gain in developing a particular product Process improvement identify and deploy knowledge over large groups.

Why Process Improvement Helps A process is about incorporating discipline into routine activities to check everything that was supposed to be done was done Making sure There was sufficient repeatability in the tasks to make future work predictable This process repeatability and predictability are called “capability maturity” Informally speaking, process improvement is to incorporate individual wisdom/guidance into the way the organization works

Software Engineering Layers A set of basic principles Forms the basis/context for management of SW project tools methods process model a “quality” focus Try increasingly more effective approaches

A SW Process Framework Process framework Framework activities work tasks work products milestones & deliverables QA checkpoints Umbrella Activities

5 Framework Activities Modeling Communication Planning Construction To better understand the requirements and the design Construction Code generation Testing Deployment Communication Planning Technical tasks The risks The resources Work products Work schedule

Umbrella Activities Software project tracking and control Risk management Software quality assurance Technical reviews Software configuration management Reusability management Work product preparation and production

The Essence of Practice Polya suggests: 1. Understand the problem (communication and analysis). 2. Plan a solution (modeling and software design). 3. Carry out the plan (code generation). 4. Examine the result for accuracy (testing and quality assurance). These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 8/e (McGraw-Hill 2014). Slides copyright 2014 by Roger Pressman.

Understand the Problem Who has a stake in the solution to the problem? That is, who are the 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?

Plan the Solution 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? Has a similar problem been solved? If so, are elements of the solution reusable? Can subproblems be defined? If so, are solutions readily apparent for the subproblems? Can you represent a solution in a manner that leads to effective implementation? Can a design model be created?

Carry Out the Plan Does the solution conform to the plan? Is source code traceable to the design model? Is each component part of the solution provably correct? Has the design and code been reviewed, or better, have correctness proofs been applied to algorithm?

Examine the Result 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, functions, and features that are required? Has the software been validated against all stakeholder requirements?

Hooker’s General Principles 1: The Reason It All Exists 2: KISS (Keep It Simple, Stupid!) 3: Maintain the Vision 4: What You Produce, Others Will Consume 5: Be Open to the Future 6: Plan Ahead for Reuse 7: Think!

How a Project Starts (pg 26) The scene: Meeting room at CPI Corporation, a (fictional) company that makes consumer products for home and commercial use. The players: Mal Golden, senior manager, product development; Lisa Perez, marketing manager; Lee Warren, engineering manager; Joe Camalleri, executive VP, business development. The conversation: Joe: Okay, Lee, what's this I hear about your folks developing a what? A generic universal wireless box? Lee: It's pretty cool, about the size of a small matchbook. We can attach it to sensors of all kinds, a digital camera, just about anything. Using the 802.11 b wireless protocol. It allows us to access the device's output without wires. We think it'll lead to a whole new generation of products. Joe: You agree, Mal? Mal: I do. In fact, with sales as flat as they've been this year, we need something new. Lisa and I have been doing a little market research, and we think we've got a line of products that could be big. Joe: How big... , bottom-line big? 23 CS550 Intro. to SE Spring 2009

Joe: Interesting. Now, I asked about the bottom line. Lee: (jumping in) Engineering's done a technical feasibility study of this idea, Joe. It's doable at low manufacturing cost. Most hardware is off the shelf. Software is an issue, but it's nothing that we can't do. Joe: Interesting. Now, I asked about the bottom line. Mal: PCs have penetrated 70 percent of all households in the USA. If we could price this thing right, it could be a killer-app. Nobody else has our wireless box--it's proprietary. We'll have a two-year jump on the competition. Revenue? Maybe as much as $30-40 million in the second year. Joe (smiling): Let's take this to the next level. I'm interested. Mal: (avoiding a direct commitment): Tell him about our idea, Lisa. Lisa: It's a whole new generation of what we call "home management products." We call 'em SafeHome. They use the new wireless interface, provide homeowners or small business people with a system that's controlled by their PC--home security, home surveillance, appliance and device control. You know, turn down the home air conditioner while you're driving home, that sort of thing. 24 CS550 Intro. to SE Spring 2009