Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, 2009. Hans Van Vliet, Software.

Slides:



Advertisements
Similar presentations
Chapter 7 System Models.
Advertisements

Modeling Main issues: What do we want to build How do we write this down.
UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
Modeling Main issues: What do we want to build How do we write this down ©2008 John Wiley & Sons Ltd. vliet.
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
CS3773 Software Engineering Lecture 03 UML Use Cases.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
2-1 © Prentice Hall, 2007 Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Introduction To System Analysis and Design
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 System models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models September 29, 2008.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
© Copyright Eliyahu Brutman Programming Techniques Course.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Unified Modeling Language
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Chapter 7: The Object-Oriented Approach to Requirements
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
2005/05/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Functional Modeling Joseph Valacich, Joey George and Jeff Hoffer, Essentials of System Analysis and Design, 4 th edition, Prentice Hall, 2009.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
Chapter 4 System Models A description of the various models that can be used to specify software systems.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
Introduction To System Analysis and Design
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
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.
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.
Sommerville 2004,Mejia-Alvarez 2009Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
Computing and SE II Chapter 9: Design Methods and Design Models Er-Yu Ding Software Institute, NJU.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Modeling as a Design Technique Chapter 2 Part 1: Modeling Concepts Object-Oriented Modeling and Design Byung-Hyun Ha
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Functional Modeling Joseph Valacich, Joey George and Jeff Hoffer, Essentials of System Analysis and Design, 4 th edition, Prentice Hall, 2009.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
 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.
1 CEN 4020 Software Engineering PPT4: Requirement analysis.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
1 5/18/2007ã 2007, Spencer Rugaber Architectural Documentation Graphical (views) and textual Kruchten's 4+1 Views –Philippe B. Kruchten. "The 4+1 View.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
Object-oriented and Structured System Models
UML Diagrams By Daniel Damaris Novarianto S..
Main issues: • What do we want to build • How do we write this down
Unified Modeling Language
UML Diagrams Jung Woo.
Abstract descriptions of systems whose requirements are being analysed
System models October 5, 2005.
Unified Modeling Language
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4th edition, Prentice Hall, Hans Van Vliet, Software Engineering:
Appendix A Object-Oriented Analysis and Design
Software Design Lecture : 15.
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software Engineering: Principles and Practice, third edition, John Wiley & Sons, 2008.

What Is a Model? Pairs (2 minutes) 2

Models ‘Complete’ meaning no additional information is needed to understand the system from that perspective abstraction of some entity –understand before build –omits nonessential details examples: –architectural models to show customers –airplane scale models –storyboards of advertisements –outlines of books 3

Why Build a Model? Purposes of a model –Testing a real entity before building it –Communication with customers –Visualization –Reduction of complexity 4

What Types and How Many? No consensus but multiple models of different types, e.g., 4+1 view model of S/W architecture 1 5 Logical view Development view Physical view Process view Scenarios 1 P. Kruchten. The 4+1 view model of architecture, IEEE Software, 12(6):42-50, November 1995.

4+1 View Model Use case view –functionality of system from outside perspective, e.g., in UML use case diagram Logical view –description of system's parts, e.g., in UML class, object, state machine, and interaction diagrams Process view –description of process within system, e.g., in UML activity diagram Development view –organization of system's part into modules and components, e.g., in UML package and component diagrams Physical view –system's parts into real-world entities, e.g., in UML deployment diagram 6

Different Models Several models will be considered in developing our system Use case model: describes requirements from the user perspective Design model: describes classes and objects Implementation model: source code Test model: test cases and test procedures 7

Investigate: People and machines playing some role (actors) Items produced, consumed, or modified Functions performed Modes of operation that determine when functions are performed 8

Analysis All aspects of the problem domain need to be investigated. Decompose the problem into smaller problems until the entire problem is fully understood. The models that depict information, function, and behavior must be constructed in a manner that uncovers detail. 9

Note: "Remember that all models are wrong; the practical question is how wrong do they have to be to not be useful."; "Essentially, all models are wrong, but some are useful." –George E.P. Box & Norman R. Draper, Empirical Model-Building and Response Surfaces (Wiley 1987) pp. 74 and 424. (Professor of statistics, U of Wisconsin) 10

Operational Principles: Analysis Methods The information domain of a problem must be represented and understood. The functions that the software is to perform must be defined. The behavior of the software (as a consequence of external events) must be represented. 11

Modeling Views It all comes down to these: Objects: data Functions: transformations of data States: transitions controlling transformations 12

Data (Static) Models Used to understand the data and actors in a system Abstraction of the information needed and generated by the system Describes the problem domain Helps identify, classify, and abstract the problem 13

Function (Transformational) Models Used to understand the transformations that take place in the system Used to understand the inputs and outputs for computations 14

State (Dynamic) Models Used to understand states and modes of the system Used to specify the flow of control through the system and system components 15

Modeling Data Dictionary Object Model - static, structural, data aspects of system Dynamic Model - temporal, behavioral, “control” aspects of system Functional Model – transformational, “function” aspects of system E-R Diagram Class Diagram State-Transition Diagram Decision Tables Collaboration Diagram Data-flow Diagram 16

Static Models Entity Relationship Models Class Models 17

Dynamic Models Event trace –Show a sequence of events and associated responses Message sequence chart –Enhanced event trace notation –Vertical lines are entity time lines (time flows from top to bottom) –Horizontal lines are messages or events 18

Dynamic Models (Cont.) State Machines –Should remind you of FSMs from theory. –Nodes are states –Arcs are transitions Event (condition)/action Instantaneous Statecharts: UML state machine notation 19

Functional Models Data Flow Diagrams –Processes –Data –Data store Use Cases 20

Static Models Pairs (10 minutes) –Read about ER diagrams PP What are the nodes (node types)? What are the edges? 21

In Class: Diagram the Following A library has books and journals, and each can be checked out. A patron has a name, a UTEP ID number, an address. A patron can check out any number of books or journals. When a book or journal is checked out, it must be returned in 5 days (so we must keep track of the checkout date) 22

In Class: Static Models Show how you can use an ER diagram to represent –Association –Aggregation –Generalization –Composition –role names –multiplicities 23