©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System modeling 2.

Slides:



Advertisements
Similar presentations
Chapter 7 System Models.
Advertisements

Chapter 7 System Models.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
Computer Science Dept. Fall 2003 Object models Object models describe the system in terms of object classes An object class is an abstraction over a set.
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
1 SWE Introduction to Software Engineering Lecture 13 – System Modeling.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 System models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
CS 425/625 Software Engineering System Models
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
7M701 1 Software Engineering Systems Models Sommerville, Ian (2001) Software Engineering, 6 th edition: Chapter 7 (some items)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models September 29, 2008.
©Ian Sommerville 2000Software Engineering, 6/e, Chapter 71 System models l Abstract descriptions of systems whose requirements are being analysed.
Soft. Eng. II, Spr. 2002Dr Driss Kettani, from I. Sommerville1 CSC-3325: Chapter 7 Title : Object Oriented Analysis and Design Reading: I. Sommerville,
Lecture 6 & 7 System Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
©Ian Sommerville 2006Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Overview of Software Requirements
7M822 Software Engineering: System Models 14 September 2009.
Chapter 7: System models
Unified Modeling Language
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
Software Engineering 8. System Models.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 2: Modelling.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
CS 310 Ch8: System models Abstract descriptions of systems being analyzed to help the analyst understand the system functionality communicate with customers.
Chapter 4 System Models A description of the various models that can be used to specify software systems.
System models. System modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with.
System Models Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn Lecture 6 & 7.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 6 Slide 1 Requirements Engineering Processes l Processes used to discover, analyse and.
SYSTEM MODELS MUHAMMAD RIZWAN. Objectives  To explain why the context of a system should be modelled as part of the RE process  To describe behavioural.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
October 5, 2010COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
Chapter 7 System models.
Slide 1 System models. Slide 2 Objectives l To explain why the context of a system should be modelled as part of the RE process l To describe behavioural.
System models l Abstract descriptions of systems whose requirements are being analysed.
Pertemuan 19 PEMODELAN SISTEM Matakuliah: D0174/ Pemodelan Sistem dan Simulasi Tahun: Tahun 2009.
CS 4310: Software Engineering Lecture 4 System Modeling The Analysis Stage.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Software Engineering, 8th edition Chapter 8 1 Courtesy: ©Ian Somerville 2006 April 06 th, 2009 Lecture # 13 System models.
Rekayasa Perangkat Lunak (Software Engineering) M.Sukrisno Mardiyanto Kuliah Umum Universitas Dian Nuswantoro Semarang, 16 Oktober 2008.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Systems Analysis & Design 7 th Edition Chapter 5.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Modeling system requirements. Purpose of Models Models help an analyst clarify and refine a design. Models help simplify the complexity of information.
SWEN 5231 FORMAL METHODS Slide 1 System models u Abstract presentations of systems whose requirements are being analyzed.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Packets.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
 To explain why the context of a system should be modelled as part of the RE process  To describe behavioural modelling, data modelling and object modelling.
September 15, 2009COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
1 SWE Introduction to Software Engineering Lecture 14 – System Modeling.
© 2000 Franz Kurfess System Design Methods 1 CSC 205: Software Engineering I Dr. Franz J. Kurfess Computer Science Department Cal Poly.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
Software Engineering Lecture 4 System Modeling The Analysis Stage.
Object-oriented and Structured System Models
Unified Modeling Language
Abstract descriptions of systems whose requirements are being analysed
System models October 5, 2005.
Subject Name: SOFTWARE ENGINEERING Subject Code:10IS51
Presentation transcript:

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System modeling 2

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 2 Semantic data models l Used to describe the logical structure of data processed by the system. l An entity-relation-attribute model sets out the entities in the system, the relationships between these entities and the entity attributes l Widely used in database design. Can readily be implemented using relational databases. l In the UML, objects and associations may be used for semantic data modelling.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 3 Library semantic model

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 4 Data dictionaries l Data dictionaries are lists of all of the names used in the system models. Descriptions of the entities, relationships and attributes are also included. l Advantages Support name management and avoid duplication; Store of organisational knowledge linking analysis, design and implementation; l CASE tools can sometimes automatically generate data dictionaries from system models.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 5 Data dictionary entries

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 6 Object models l Object models describe the system in terms of object classes and their associations. l An object class is an abstraction over a set of objects with common attributes and the services (operations) provided by each object. l Various object models may be produced Inheritance models; Aggregation models; Interaction models.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 7 Object models l Natural ways of reflecting the real-world entities manipulated by the system l More abstract entities are more difficult to model using this approach l Object class identification is recognised as a difficult process requiring a deep understanding of the application domain l Object classes reflecting domain entities are reusable across systems

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 8 Inheritance models l Organise the domain object classes into a hierarchy. l Classes at the top of the hierarchy reflect the common features of all classes. l Object classes inherit their attributes and services from one or more super-classes. these may then be specialised as necessary. l Class hierarchy design can be a difficult process if duplication in different branches is to be avoided.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 9 UML notation l Object classes are rectangles with the name at the top, attributes in the middle section and operations in the bottom section. l Relationships between object classes (known as associations) are shown as lines linking objects. Associations may be annotated with the type of association or special arrow symbols may be used to denote the association type (e.g. inheritance is a triangular white arrowhead) l Inheritance is referred to as generalisation and is shown ‘upwards’ rather than ‘downwards’ in a hierarchy.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 10 Library class hierarchy

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 11 User class hierarchy

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 12 Multiple inheritance l Rather than inheriting the attributes and services from a single parent class, a system which supports multiple inheritance allows object classes to inherit from several super-classes. l This can lead to semantic conflicts where attributes/services with the same name in different super-classes have different semantics. l Multiple inheritance makes class hierarchy reorganisation more complex.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 13 Multiple inheritance

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 14 Object aggregation l An aggregation model shows how classes that are collections are composed of other classes. l Aggregation models are similar to the part-of relationship in semantic data models.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 15 Object aggregation

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 16 Object behaviour modelling l A behavioural model shows the interactions between objects to produce some particular system behaviour that is specified as a use- case. l Sequence diagrams (or collaboration diagrams) in the UML are used to model interaction between objects.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 17 Issue of electronic items

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 18 Structured analysis and design l Structured analysis and design methods incorporate system modelling as an inherent part of the method. l Methods define a set of models, a process for deriving these models and rules and guidelines that should apply to the models. l CASE tools support system modelling as part of the structured method.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 19 Method weaknesses l They do not model non-functional system requirements. l They do not usually include information about whether a method is appropriate for a given problem. l The may produce too much documentation. l The system models are sometimes too detailed and difficult for users to understand.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 20 CASE workbenches l A coherent set of tools that is designed to support related software process activities such as analysis, design or testing. May be incorporated in an IDE such as ECLIPSE. l Support system modelling during both requirements engineering and system design. l UML workbenches provide support for all UML diagrams and, usually, some automatic code generation. Java, C++ or C# may be generated.

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 21 An analysis and design workbench

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 22 Analysis workbench components l Diagram editors l Model analysis and checking tools l Repository and associated query language l Data dictionary l Report definition and generation tools l Forms definition tools l Import/export translators l Code generation tools

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 23 Key points l Semantic data models describe the logical structure of data which is imported to or exported by the systems. l Object models describe logical system entities, their classification and aggregation. l Sequence models show the interactions between actors and the system objects that they use. l Structured methods provide a framework for developing system models.