Скачать презентацию COM 6030 Software Analysis and Design Lecture 1 Скачать презентацию COM 6030 Software Analysis and Design Lecture 1

b2ca3280a33b1b150756c3d604c7319e.ppt

  • Количество слайдов: 20

COM 6030 Software Analysis and Design Lecture 1 - Introduction Dr Richard Clayton & COM 6030 Software Analysis and Design Lecture 1 - Introduction Dr Richard Clayton & Dr Marian Gheorghe Module (1 st part) homepage http: //www. dcs. shef. ac. uk/~marian COM 6030 Systems Analysis and Design 1 © University of Sheffield 2005

Introduction Lectures Weeks 1 - 5: Marian Gheorghe – http: //www. dcs. shef. ac. Introduction Lectures Weeks 1 - 5: Marian Gheorghe – http: //www. dcs. shef. ac. uk/~marian Week 6: Reading week Weeks 7 – 11: Anthony Simons https: //www. dcs. shef. ac. uk/~ajhs/campus_only/COM 6030. html Week 12: Reading week COM 6030 Systems Analysis and Design 2 © University of Sheffield 2005

References v Sommerville, Software Engineering, 8 th edition, Addison-Wesley, 2006. v S Bennett, S References v Sommerville, Software Engineering, 8 th edition, Addison-Wesley, 2006. v S Bennett, S Mc. Robb R Farmer, Object-Oriented Systems Analysis and Design using UML, Mc. Graw-Hill, 2002. v P Stevens, R Pooley, Using UML - software engineering with objects and components, Addison Wesley, 2000. v M Fowler with K Scott, UML Distilled: Applying the Standard Object Modelling Language, Addison-Wesley, 2 nd ed, 2000. v R S Pressman, Software Engineering: A Practitioner's Approach, 6 th edition, Mc. Graw-Hill, 2005 (or the European adaptation by D. Ince). COM 6030 Systems Analysis and Design 3 © University of Sheffield 2005

Outline v v v Aims and objectives Software engineering definitions Software engineering history Software Outline v v v Aims and objectives Software engineering definitions Software engineering history Software myths; software failures Software applications Processes Reading: Sommerville chapters 1, 3; Pressman chapters 1, 2 COM 6030 Systems Analysis and Design 4 © University of Sheffield 2005

Aims and objectives of the course Aims and Objectives The aims of this module Aims and objectives of the course Aims and Objectives The aims of this module are: v to introduce the basic concepts of software development methods, and the need for a professional approach to software system development; v to describe the activities of software requirements analysis and software design; v to introduce the diagrammatic notation UML, and its uses in representing analysis and design models of software systems. http: //www. dcs. shef. ac. uk/intranet/teaching/modules/msc/com 6030. html COM 6030 Systems Analysis and Design 5 © University of Sheffield 2005

First part of the course Software Engineering Def. Software engineering (SE) the application of First part of the course Software Engineering Def. Software engineering (SE) the application of is systematic, disciplined, quatifiable approach to the development, operation and maintenance of software; that is, the application of engineering to software. SE is an engineering discipline concerned with all aspects of software production from early specifications through to maintenace. SE is the profession that creates and maintains software applications by applying technologies and practices from computer science, project management, engineering, application domain, and other fields. http: //en. wikipedia. org/wiki/Software_engineering COM 6030 Systems Analysis and Design 6 © University of Sheffield 2005

SE history v SE introduced first in 1968 – conference about ‘software crisis’ when SE history v SE introduced first in 1968 – conference about ‘software crisis’ when the introduction of thirdgeneration computer hardware led to more complex software systems than before; v Early approaches based on informal methodology leading to: q delays in software delivery q higher costs than initially estimated q unreliable, difficult to maintain software v Need for new methods and techniques to manage the production of complex software v Even today SE is in a “chronic affliction” state – Pressman p 4. COM 6030 Systems Analysis and Design 7 © University of Sheffield 2005

Software myths(SM) SM – causes of software affliction (apparently reasonable statements, supported by experienced Software myths(SM) SM – causes of software affliction (apparently reasonable statements, supported by experienced practitioners) propagated from early days of software development: v Management myths q Standards and procedures for building software q State of the art software tools and latest computers q Add more programmers if behind the schedule v Customer myths q A general description of objectives enough to start coding q Requirements may change as the software is flexible v Practitioner’s myths q Task accomplished when the program works q Quality assessment when the program is running q Working program the only project deliverable COM 6030 Systems Analysis and Design 8 © University of Sheffield 2005

Software failures Complex software systems failures and bugs: v Therac-25 (1985 -1987): six people Software failures Complex software systems failures and bugs: v Therac-25 (1985 -1987): six people overexposed during treatments for cancer v Taurus (1993): the planned automated transaction settlement system for London Stock Exchange cancelled after five years of development v Ariane 5 (1996): rocket exploded soon after its launch due to an error conversion (16 -bit floating point into 16 -bit integer) v The Mars Climate Orbiter assumed to be lost by NASA officials (1999): different measurement systems (Imperial and metric) http: //infotech. fanshawec. on. ca/gsantor/Computing/Famous. Bugs. htm COM 6030 Systems Analysis and Design 9 © University of Sheffield 2005

However… Important progress: v Ability to produce more complex software has increased v New However… Important progress: v Ability to produce more complex software has increased v New technologies have led to new SE approaches v A better understanding of the activities involved in software development v Effective methods to specify, design, implement software have been developed v New notations and tools have been produced COM 6030 Systems Analysis and Design 10 © University of Sheffield 2005

SE vs Computer Science(CS) SE deals with practical problems v Complex software products (I) SE vs Computer Science(CS) SE deals with practical problems v Complex software products (I) v Processes (II) v Methods/Models (III) v People (IV) CS is concerned with v Theories v Methods Algorithms, data structures, programs, formal grammars, abstract machines, complexity, numerical methods… COM 6030 Systems Analysis and Design 11 © University of Sheffield 2005

(I) Software is everywhere Computer software has become a driving force. It is the (I) Software is everywhere Computer software has become a driving force. It is the engine that drives business decision making. It serves as the basis for modern scientific investigation and engineering problem solving. It is a key factor that differentiates modern products and services. It is embedded in systems of all kinds: transportation, medical, telecommunications, military, industrial processes, entertainment, office products… Software is virtually inescapable in a modern world. It will become the driver for new advances in everything from elementary education to genetic engineering. COM 6030 Systems Analysis and Design 12 © University of Sheffield 2005

Software applications Potential applications v System software v Real-time software v Business software v Software applications Potential applications v System software v Real-time software v Business software v Engineering and scientific software v Embedded software v Personal computer software v Web-based software v Artificial Intelligence software v Research software COM 6030 Systems Analysis and Design 13 © University of Sheffield 2005

(II) Software Processes A software process (II) consists of a set of activities and (II) Software Processes A software process (II) consists of a set of activities and associated results which lead to the production of a software product (I) Sommerville p 43 Fundamental activities: v Software specification (1) v Software design and implementation (2) v Software validation/verification (3) v Software evolution (4) Software developed from scratch or by extending and modifying existing systems COM 6030 Systems Analysis and Design 14 © University of Sheffield 2005

Software specifications (Ss) – (1) Ss refers to services requested (functional aspects) and constraints Software specifications (Ss) – (1) Ss refers to services requested (functional aspects) and constraints (non-functional component) – called requirements engineering v v Feasibility study Requirements elicitation and analysis Requirements specification Requirements validation Lead to reports, models, documents COM 6030 Systems Analysis and Design 15 © University of Sheffield 2005

Software design and implementation (2) Software design process - a set of activities transforming Software design and implementation (2) Software design process - a set of activities transforming (iteratively) the set of requirements into design products v v v Abstract specification of each sub-system Component design Interface design Data structures Algorithm design A set of reports, models (notations), documents is generated COM 6030 Systems Analysis and Design 16 © University of Sheffield 2005

Software design and implementation (2) Implementation (programming) stage – transforms the design model(s) into Software design and implementation (2) Implementation (programming) stage – transforms the design model(s) into code v v v Sometimes interleaved with design Tools used to (partially) convert into code Programming strategies: top-down, bottom-up Use of coding standards Quality aspects Debugging and testing Software product COM 6030 Systems Analysis and Design 17 © University of Sheffield 2005

Software validation/verification (3 The validation is the process of checking that “the correct system” Software validation/verification (3 The validation is the process of checking that “the correct system” was implemented – inspections and reviews Verification – “building the product right”; formal verification, testing v v v Unit testing Module testing Sub-system testing Systems testing Acceptance testing COM 6030 Systems Analysis and Design 18 © University of Sheffield 2005

Software evolution (4) Software evolution process: changes made to a software product after the Software evolution (4) Software evolution process: changes made to a software product after the system development (but not always) - maintenance v Changes to repair software faults v Changes to adapt a software system to a different operating environment v Changes regarding system’s functionality Increasingly maintenance is part of system’s development (open source, generic frameworks etc) COM 6030 Systems Analysis and Design 19 © University of Sheffield 2005

Summary v Software engineering covers all aspects of software production v Historically motivated by Summary v Software engineering covers all aspects of software production v Historically motivated by a lack of suitable methods to specify and develop complex software systems v Software engineering includes software products, processes, models and people v Failures in software production impose adequate approaches and require a limitation of mythical believes v Software engineering processes cover the whole cycle of developing a software product (specification through to implementation and maintenance) COM 6030 Systems Analysis and Design 20 © University of Sheffield 2005