Chapter 1 What is Software Engineering Shari L. Pfleeger Joanne M. Atlee 4 th Edition.

Slides:



Advertisements
Similar presentations
Copyright 2006 Pearson/Prentice Hall. All rights reserved.
Advertisements

Chapter 1 What is Software Engineering Shari L. Pfleeger
Pfleeger and Atlee, Software Engineering: Theory and Practice CS499 Chapter 7 Writing the Programs Shari L. Pfleeger Joann M. Atlee 4 th Edition.
Information Systems Analysis and Design
Introduction To System Analysis and Design
Chapter 1 4th Edition What is Software Engineering Shari L. Pfleeger
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer.
Lecture 13 Revision IMS Systems Analysis and Design.
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.
What is software engineering?
Fundamentals of Information Systems, Second Edition
Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design Third Edition.
CS350/550 Software Engineering Lecture 1. Class Work The main part of the class is a practical software engineering project, in teams of 3-5 people There.
© Copyright Eliyahu Brutman Programming Techniques Course.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Chapter 2: IS Building Blocks Objectives
1-1 © Prentice Hall, 2007 Chapter 1: The Object-Oriented Systems Development Environment Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
Principles of Information Systems, Sixth Edition 1 Systems Investigation and Analysis Chapter 12.
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Systems Investigation and Analysis Chapter 12.
The Software Product Life Cycle. Views of the Software Product Life Cycle  Management  Software engineering  Engineering design  Architectural design.
The analysis steps. Problem Analysis Sub-problem 3 Sub-problem 2 Sub-problem nSub-problem 1.
Course Instructor: Aisha Azeem
CSC230 Software Design (Engineering)
Chapter 4 Capturing the Requirements 4th Edition Shari L. Pfleeger
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 1 The Systems.
ECNG3023: Introduction to Software Engineering Kevon Andrews Rm. 329 Ph: x3156 Open Hours:
SE: CHAPTER 1 Why Software Engineering ?
Continuation From Chapter From Chapter 1
1 BTEC HNC Systems Support Castle College 2007/8 Systems Analysis Lecture 9 Introduction to Design.
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design.
Chapter 1: The Object-Oriented Systems Development Environment Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 A Discipline of Software Design.
1 Chapter 2 The Process. 2 Process  What is it?  Who does it?  Why is it important?  What are the steps?  What is the work product?  How to ensure.
What is software? Software is a set of items or objects that form a configuration that includes: –Programs –Documents –Data.
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer.
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
1-1 © Prentice Hall, 2007 Chapter 1: The Object-Oriented Systems Development Environment Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
1-1 System Development Process System development process – a set of activities, methods, best practices, deliverables, and automated tools that stakeholders.
Copyright 2002 Prentice-Hall, Inc. 1.1 Modern Systems Analysis and Design Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 1 The Systems Development.
Historical Aspects Origin of software engineering –NATO study group coined the term in 1967 Software crisis –Low quality, schedule delay, and cost overrun.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 1: Introduction to Use-Case Modeling.
Principles of Information Systems, Sixth Edition Systems Investigation and Analysis Chapter 12.
Systems Analysis and Design in a Changing World, Fourth Edition
What is Software Engineering? The discipline of designing, creating, and maintaining software by applying technologies and practices from computer science,
Object-Oriented Software Engineering using Java, Patterns &UML. Presented by: E.S. Mbokane Department of System Development Faculty of ICT Tshwane University.
Fundamentals of Information Systems, Second Edition 1 Systems Development.
Chapter 1 Quality terminology Error: human mistake Fault: result of mistake, evidenced in some development or maintenance product Failure: departure from.
1 EE29B Feisal Mohammed EE29B: Introduction to Software Engineering Feisal Mohammed Ph: x3156.
Capturing the requirements  Requirement: a feature of the system or a description of something the system is capable of doing in order to fulfill the.
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
CSE 303 – Software Design and Architecture
SOFTWARE ENGINEERING. Objectives Have a basic understanding of the origins of Software development, in particular the problems faced in the Software Crisis.
1 Introduction to Design. 2 Outline Basics of design Design approaches.
An Introduction to Software Engineering. Objectives  To introduce software engineering and to explain its importance  To set out the answers to key.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
CSCI 3428: Software Engineering Tami Meredith Chapter 1 Why Software Engineering.
Alex Jacobson Presents An Introduction To Software Engineering.
1-1 © Prentice Hall, 2004 Chapter 1: The Object-Oriented Systems Development Environment Object-Oriented Systems Analysis and Design Joey F. George, Dinesh.
Introduction to Software Engineering 1. Software Engineering Failures – Complexity – Change 2. What is Software Engineering? – Using engineering approaches.
Chapter 1 SOFTWARE ENGINEERING What is Software Engineering.
 System Requirement Specification and System Planning.
The Components of Information Systems
Software What Is Software?
The Components of Information Systems
Chapter 5 Designing the Architecture Shari L. Pfleeger Joanne M. Atlee
CSSSPEC6 SOFTWARE DEVELOPMENT WITH QUALITY ASSURANCE
Introduction to Systems Analysis and Design Stefano Moshi Memorial University College System Analysis & Design BIT
Information System Building Blocks
Presentation transcript:

Chapter 1 What is Software Engineering Shari L. Pfleeger Joanne M. Atlee 4 th Edition

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter 1.2 Contents 1.1 What is Software Engineering? 1.2 How Successful Have We Been? 1.3 What Is Good Software? 1.4 Who Does Software Engineering? 1.5 A System Approach 1.6 An Engineering Approach 1.7 Members of the Development Team 1.8 How Has Software Engineering Changed? 1.9 Information System Example 1.10 Real Time Example 1.11 What this Chapter Means for You

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter 1.3 Objectives What we mean by software engineering Software engineering’s track record What we mean by good software Why a system approach is important How software engineering has changed since 1970s

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems Software products are large and complex Development requires analysis and synthesis –Analysis: decompose a large problem into smaller, understandable pieces abstraction is the key –Synthesis: build (compose) a software from smaller building blocks composition is challenging Example: Writing a novel –Dictionary, sentence, paragraph, chapters

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems (continued) The analysis process

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems (continued) The synthesis process

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems (continued) Any problem solving technique must have two parts: 1.Analyzing problem to determine its nature, and Then 2.Synthesizing a solution based on our analysis.

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems (continued) Method: refers to a formal procedure; a formal “recipe” for accomplishing a goal that is typically independent of the tools used –Example: chef prepare a sauce Tool: an instrument or automated system for accomplishing something in a better way –Example: typewriter and keyboard Procedure: a combination of tools and techniques to produce a product Paradigm: philosophy or approach for building a product (e.g., OO vs structured approaches)

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Solving Problems (continued) Software engineers use tools, techniques, procedures, and paradigms to enhance the quality of software products.

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Where Does the Software Engineer Fit In? Computer science: focusing on computer hardware, compilers, operating systems, and programming languages Software engineering: a discipline that uses computer and software technologies as a problem-solving tools

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Software Engineering Where Does the SW Engineer Fit in? (continued) Relationship between computer science and software engineering

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Successful Have We Been? Perform tasks more quickly and effectively –Word processing, spreadsheets, Support advances in medicine, agriculture, transportation, multimedia education, and most other industries Many good stories However, software is not without problems

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Successful Have We Been? Sidebar 1.1 Terminology for Describing Bugs A fault: occurs when a human makes a mistake, called an error, in performing some software activities A failure: is a departure from the system’s required behaviour

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Successful Have We Been? Examples of Software Failure IRS hired Sperry Corporation to build an automated federal income tax form processing process –An extra $90 M was needed to enhance the original $103 M product –IRS lost $40.2 M on interests and $22.3 M in overtime wages because refunds were not returned on time Malfunctioning code in Therac-25 killed several people Reliability constraints have caused cancellation of many safety critical systems –Safety-critical: something whose failure poses a threat to life or health

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? Sidebar 1.2 Perspective on Quality The transcendental view: quality is something we can recognize but not define The user view: quality is fitness for purpose The manufacturing view: quality is conformance to specification The product view: quality tied to inherent product characteristics The value-based view: depends on the amount the customers is willing to pay for it

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What is Good Software? Good software engineering must always include a strategy for producing quality software Three ways of considering quality –The quality of the product –The quality of the process –The quality of the product in the context of the business environment

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality of the Product Users judge external characteristics (e.g., correct functionality, number of failures, type of failures) Designers and maintainers judge internal characteristics (e.g., types of faults) Thus different stakeholders may have different criteria Need quality models to relate the user’s external view to developer’s internal view

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality of the Product (continued) McCall’s quality model

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality of the Process Quality of the development and maintenance process is as important as the product quality The development process needs to be modeled Modeling will address questions such as –Where to find a particular kind of fault –How to find faults early –How to build in fault tolerance –What are alternative activities

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality of the Process (continued) Models for process improvement –SEI’s Capability Maturity Model (CMM) –ISO 9000 –Software Process Improvement and Capability dEtermination (SPICE)

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality in the Context of the Business Environment Business value is as important as technical value Business value (in relationship to technical value) must be quantified A common approach: return on investment (ROI) – what is given up for other purposes ROI is interpreted in different terms: reducing costs, predicting savings, improving productivity, and costs (efforts and resources)

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What Is Good Software? The Quality of the Context of the Business Environment Industry’s definition of ROI

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Who Does Software Engineering? Customer: the company, organization, or person who pays for the software system Developer: the company, organization, or person who is building the software system User: the person or people who will actually use the system

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Who Does Software Engineering? (continued) Participants (stakeholders) in a software development project

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach Hardware, software, interaction with people Identify activities and objects Define the system boundary Consider nested systems, systems interrelationship

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach The Element of a System Activities and objects –An activity is an event initiated by a trigger –Objects or entities are the elements involved in the activities Relationships and the system boundaries –A relationship defines the interaction among entities and activities –System boundaries determine the origin of input and destinations of the output

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach The Element of a System (continued) Example of systems: a human respiratory system

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach The Element of a System (continued) A computer system must also be clearly described: System definition of a paycheck production

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach Interrelated Systems Some systems are dependent to other systems –The interdependencies may be complex It is possible for one system to exist inside another system If the boundary definitions are detailed, building a larger system from the smaller ones is relatively easy

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter System Approach Interrelated Systems (continued) A layered system

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Engineering Approach Building a System Requirement analysis and definition System design Program design Writing the programs Unit testing Integration testing System testing System delivery Maintenance

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Members of the Development Team Requirement analysts: work with the customers to identify and document the requirements Designers: generate a system-level description of what the system us supposed to do Programmers: write lines of code to implement the design Testers: catch faults Trainers: show users how to use the system Maintenance team: fix faults that show up later Librarians: prepare and store documents such as software requirements Configuration management team: maintain correspondence among various artifacts

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Members of the Development Team (continued) Typical roles played by the members of a development team

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has Software Engineering Changed? The Nature of the Change Before 1970s –Single processors: mainframes –Designed in one of two ways as a transformation: input was converted to output as a transaction: input determined which function should be performed After 1970s –Run on multiple systems –Perform multi-functions

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Wasserman's Seven Key Factors 1.Critically of time-to-market 2.Shifts in the economics of computing 3.Availability of powerful desktop computing 4.Extensive local- and wide-area networking 5.Availability and adoption of object-oriented technology 6.Graphical user interfaces 7.Unpredictability of the waterfall model of software development

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Wasserman's Seven Key Factors (continued) The key factors that have changed the software development

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Wasserman's Discipline of Software Engineering Abstractions Analysis and design methods and notations User interface prototyping Software architecture Software process Reuse Measurement Tools and integrated environments

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Abstraction A description of the problem at some level of generalization –Hide details

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Analysis and Design Methods and Notations Provide documentation Facilitate communication Offer multiple views Unify different views

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? User Interface Prototyping Prototyping: building a small version of a system –Help users identify key requirements of a system –Demonstrate feasibility Develop good user interface

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Software Architecture A system’s architecture describes the system in terms of a set of architectural units and relationships between these units Architectural decomposition techniques –Modular decomposition –Data-oriented decomposition –Event-driven decomposition –Outside-in-design decomposition –Object-oriented decomposition

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Software Process Many variations Different types of software need different processes –Enterprise-wide applications need a great deal of control –Departmental applications can take advantage of rapid development

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Software Process (continued) Pictorial representation of differences in development processes

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Software Reuse Commonalities between applications may allow reusing artifacts from previous developments –Improve productivity –Reduce costs Potential concerns –It may be faster to build a smaller application than searching for reusable components –Generalized components take more time to build –Must clarify who will be responsible for maintaining reusable components –Generality vs specificity: always a conflict

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Measurement Objective: describe quality goals in a quantitative way

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter How Has SE Changed? Tools and Integrated Environments Platform integration (on heterogeneous networks) Presentation integration (commonality of user interface) Process integration (linking tools and the development process) Data integration (to share common data) Control integration (the ability of one tool to initiate action in another one)

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Information Systems Example Piccadilly System Piccadilly Television: regional British TV franchise Advertising scheme has many constraints: –alcohol adverts only after 9 pm –if actor in show, no same actor in advert within 45 minutes –if advert in a class of products, no other advert in same class during same break –rates dependent on amount of time bought Software to determine, track advertising time

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Information Systems Example Piccadilly System (continued) Piccadilly Television franchise area

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Information Systems Example Piccadilly System (continued) Piccadilly system’s context diagram

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Real Time Example Ariane-5 rocket, from the European Space Agency June 4, 1996: functioned well for 40 seconds, then veered off course and was destroyed Contained four satellites: cost was $500 million Reused code from Ariane-4 rocket

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter Real Time Example Ariane-5 Definition of Quality From the Lions et al report: –“… demonstrated the high quality of the Ariane-5 programme as regards engineering work in general and completeness and traceability of documents.” –“… the supplier of the SRI … was only following the specification given to it. … The exception which occurred was not due to random failure but a design error.”

Pfleeger and Atlee, Software Engineering: Theory and Practice, edited by Sharaf Hussain Chapter What this Chapter Means for You Given a problem to solve –Analyze it –Synthesize a solution Understand that requirements may change Must view quality from several different perspectives Use fundamental software engineering concepts (e.g., abstractions and measurements) Keep system boundary in mind