Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD

Slides:



Advertisements
Similar presentations
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Advertisements

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall A.1.
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
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.
CS 425/625 Software Engineering 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.
©Ian Sommerville 2000Software Engineering, 6/e, Chapter 71 System models l Abstract descriptions of systems whose requirements are being analysed.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Object Oriented Concepts. Movement toward Objects Instead of data-oriented or process-oriented Analysis, many firms are now moving to object-oriented.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System modeling 1.
Chapter 7: System models
Chapter 5 System modeling Chapter 5 – System Modeling Lecture 1 1.
Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
Chapter 6: The Traditional Approach to Requirements
Sequence diagrams Chapter 5 Sommerville. Sequence diagrams Sequence diagrams are part of the UML and are used to model the interactions between the actors.
Software Engineering 8. System Models.
Chapter 5 – System Modeling
Chapter 5 – System Modeling
Introduction To System Analysis and design
©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.
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 Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
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.
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.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
©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.
Chapter 5 System Modeling (2/2) Yonsei University 2 nd Semester, 2014 Sanghyun Park.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
©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.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
©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.
Software Engineering Lecture 6 – System Modelling
Chapter 5 – System Modeling Lecture 9 Section A 27/4/2015 Section B 29/4/2015 1Chapter 5 System modeling.
Chapter 6: System Models Omar Meqdadi SE 273 Lecture 6 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Appendix A Object-Oriented Analysis and Design A.1.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
Chapter 4 – System Modeling Lecture 1 1Chapter 5 System modeling.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 5 – System Modeling
CompSci 280 S Introduction to Software Development
Chapter 5 System modeling
The Movement To Objects
Chapter 5 – System Modeling
System Modeling Chapter 4
System models October 5, 2005.
Chapter 20 Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Appendix A Object-Oriented Analysis and Design
Chapter 4 System Modeling.
Appendix A Object-Oriented Analysis and Design
Presentation transcript:

Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD

Software process model Requirements Specification Design and Implementation Validation Evolution

Modeling A model is an abstract view of a system We create a model to gain better understanding of an entity, for example a model of a plane is a small plane. When the entity is software, the model takes a different form.

A software Model A software model must be capable of representing : the information that the software transforms, the functions that enable the transformation to occur, and the behavior of the system as the transformation takes place. Two types of software modeling (requirements): Structured model Object oriented model

Structured Analysis Vs. Object Oriented Modeling Structured Analysis and Object Oriented Analysis are different techniques of developing a computer system. Structured analysis: the focus is only on process and procedures. Modeling techniques used in it are DFD(Data Flow Diagram), Flowcharts etc. Object oriented analysis: the focus is more on capturing the real world objects in the current scenario that are of importance to the system. It stresses more on data structure and less on procedural structure. Modeling techniques used in it are UML(Unified modeling Language), that can present both structural and behavioral/procedural aspect of the system. UML includes Class Diagram, State Diagram, Use case diagram, Sequence Diagram, etc. Chapter 5 System modeling

Structures Analysis and Design SAD

Structured analysis and design Determine system requirements Structuring system process requirements Logical requirements (logical modeling) Structuring system data requirements Design Database design (DB normalization) Forms and report design (GUI design) Chapter 5 System modeling

Analysis: Structured analysis and design Determine system requirements: Interviewing individuals and/or group Structuring system process requirements Data flow diagrams (DFD) - process modeling Context diagram Process decomposition (DFD levels): 4 types of DFD: Current physical: adequate detail only Current logical: enables analysts to understand current system New logical: technology independent, show data flows, structure, and functional requirements of new system. New physical: technology dependent. Logical modeling: using structured English, decision table/tree Structuring system data requirements: using ER diagram Chapter 5 System modeling

Chapter 5 System modeling DFD symbols Chapter 5 System modeling

Chapter 5 System modeling Context diagram Chapter 5 System modeling

Chapter 5 System modeling Level-0 diagram Chapter 5 System modeling

Design: Structured analysis and design Database design (DB normalization): Converting complex data structures into simple, stable data structures. The result of normalization is that every non-primary key attribute depends upon the whole primary key. Forms and report design (GUI design) Chapter 5 System modeling

Object Oriented Analysis and Design OOAD

Object-Oriented Analysis and Design (OOAD) Based on objects rather than data or processes. Object: is a structure encapsulating attributes and behaviors of real-world entity. Object class: is a logical grouping of objects sharing the same attributes and behaviors. Inheritance: is hierarchical arrangement of classes enable subclasses to inherit properties of superclasses. Chapter 5 System modeling

Object-Oriented Analysis and Design (OOAD) phases: Structuring requirements (Use cases) Conceptual data modeling (class diagram) Object relationship modeling: Class diagram (ER diagram) Analysis classes: Sequence diagram – activity diagram – state diagram Design : Physical DB design Design elements: classes – components – system architecture GUI design Chapter 5 System modeling

Commonly used UML diagram types Activity diagrams, which show the activities involved in a process or in data processing . Use case diagrams, which show the interactions between a system and its environment. Sequence diagrams, which show interactions between actors and the system and between system components. Class diagrams, which show the object classes in the system and the associations between these classes. State diagrams, which show how the system reacts to internal and external events.

Interaction models : Use case A use case in the MHC-PMS

Structural models : Class diagrams An association is a link between classes that indicates that there is some relationship between these classes. When you are developing models during the early stages of the software engineering process, think of objects represent something in the real world, such as a patient, a prescription, doctor, etc.

Ex: Classes and associations in the MHC-PMS

Ex: The Consultation class

Behavioral models A- Data-driven modeling – Activity diagram Behavioral models are models of the dynamic behavior of a system as it is executing. They show what happens or what is supposed to happen when a system responds to a stimulus from its environment. Many business systems are data-processing systems that are primarily driven by data. They are controlled by the data input to the system, with relatively little external event processing. Data-driven models show the sequence of actions involved in processing input data and generating an associated output. They are particularly useful during the analysis of requirements as they can be used to show end-to-end processing in a system.

Data-driven modeling Data flow diagrams (DFDs) may be used to model the system’s data processing. These show the processing steps as data flows through a system. UML does not support DFDs . UML use activity diagram instead.

Ex: An activity model of the insulin pump’s operation

Behavioral models B- Event-driven modeling - State diagram Event-driven modeling shows how a system responds to external and internal events.

Ex: State diagram of a microwave oven

References http://www.slideshare.net/mksaad/structure-vs-object- oriented-analysis-and-design Sommerville, Ian ,“Software Engineering”, 9th edition, PEARSON