Chapter 6: Structured Vs. Object Oriented Analysis and Design.

Slides:



Advertisements
Similar presentations
Chap 1 UML vs Thinking in Objects! – Visual modeling Learning UML – Look at the book examples – Alan Holub’s UML reference card – Use library resources.
Advertisements

Chapter 1 Object Oriented Analysis and Design. UML, Patterns, and Object-Oriented Analysis and Design  The essential skills for the creation of well-designed,
Unified Modeling Language
Introduction To System Analysis and Design
1 Software Testing and Quality Assurance Lecture 12 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)
Object Oriented Analysis and Design
CS 425/625 Software Engineering System Models
Basic OOP Concepts and Terms
7M822 UML Introduction 7 September 2010.
NJIT 1 Domain Model Visualizing Concepts Chapter 9 Applying UML and Patterns Craig Larman.
Object Oriented Analysis and Design Chapter 1 Applying UML and Patterns -Craig Larman.
Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD
Introduction To System Analysis and design
Systems Analysis and Design in a Changing World, Fifth Edition
Object-oriented methodology object models use case modeling unified modeling language the data dictionary the cornucopia case portfolio project Systems.
CS212: Object Oriented Analysis and Design Lecture 1: Introduction.
Chapter 1 Object-Oriented Analysis and Design. Disclaimer Slides come from a variety of sources: –Craig Larman-developed slides; author of this classic.
Chapter 6: Structured Vs. Object Oriented Analysis and Design.
Introduction To System Analysis and Design
Object-Oriented Analysis and Design An Introduction.
Systems Analysis and Design in a Changing World, 3rd Edition
Chapter 1 Object-Oriented Analysis and Design. Disclaimer Slides come from a variety of sources: –Craig Larman-developed slides; author of this classic.
Object-Oriented Analysis and Design Fall 2009.
1 COMP 350: Object Oriented Analysis and Design Lecture 1Introduction References: Craig Larman Chapter 1.
Basic OOP Concepts and Terms. In this class, we will cover: Objects and examples of different object types Classes and how they relate to objects Object.
Introduction To OOP 1.0 Fundamentals Of Java Programming Language 2.0 Exception Handling 3.0 Classes, Inheritance And Polymorphism © 2011 | PN AZRINA.
Chapter 1 Applying UML and Patterns. The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary.
Computing and SE II Chapter 9: Design Methods and Design Models Er-Yu Ding Software Institute, NJU.
Copyright ©2004 Cezary Z Janikow 1 OOAD Overview n OO language – Necessary for OO systems? – Sufficient for OO systems? Owning a hummer doesn’t make you.
Object Oriented Analysis and Design Chapter 1 Applying UML and Patterns -Craig Larman.
Chapter 1 OBJECT-ORIENTED ANALYSIS AND DESIGN Objectives Describe the book goals and scope Define OOA/D (Object-Oriented Analysis and Design) Illustrate.
Design. 2 The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary but not sufficient in order.
04 - OOD Intro.CSC4071 Software Design ‘Requirements’ defines –The goals the system needs to satisfy. ‘Specification’ defines –The externally-observable.
CSIS 4850: CS Senior Project – Spring 2009 CSIS 4850: Senior Project Spring 2009 Object-Oriented Design.
1 Unified Modeling Language Michael K. Wildes University of California, Riverside – Extension Program Presentation 2.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Object Oriented Analysis & Design By Rashid Mahmood.
11 Systems Analysis and Design in a Changing World, Fifth Edition.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
Software Engineering Lecture 4 System Modeling The Analysis Stage.
UML Diagrams By Daniel Damaris Novarianto S..
UNIT 1.
Main issues: • What do we want to build • How do we write this down
Chapter 6: Structured Vs. Object Oriented Analysis and Design.
Chapter 5: Object Oriented Analysis and Design
Chapter 1 OBJECT-ORIENTED ANALYSIS AND DESIGN
System Development Process
UML Diagrams Jung Woo.
Business System Development
The Object Oriented Approach to Design
Software Architecture & Design Pattern
The Development of Information Systems Chapter 8 page 348+
Chapter 1 Object-Oriented Analysis and Design. Disclaimer Slides come from a variety of sources: –Craig Larman-developed slides; author of this classic.
A tool for presentation of Architecture
A tool for presentation of Architecture
Object-Oriented Design
Project 1 Guide System Analysis & Design
System models October 5, 2005.
Chap 1 UML vs Thinking in Objects! Learning UML Visual modeling
Introduction to the Unified Modeling Language
Advanced Programming Behnam Hatami Fall 2017.
Object oriented analysis and design
Object Oriented Analysis and Design
Software Design Lecture : 15.
Software Design Lecture : 14.
2D1359 & 2D1360 : Object Oriented Modeling, Programming & Analysis
CS 8532: Advanced Software Engineering
Basic OOP Concepts and Terms
Appendix 3 Object-Oriented Analysis and Design
Presentation transcript:

Chapter 6: Structured Vs. Object Oriented Analysis and Design

Overview Why do we need Modelling “blueprints” ? Object-Oriented Analysis and Design (OOAD) vs. Structured-Oriented Analysis and Design (SAD). Steps to SAD and OOAD. Object Oriented Analysis and Design - OOAD. Unified Modelling Language - UML.

By the end of this chapter, you will.. Understands what Structured Analysis and Design is. Understands what Object Oriented Analysis and Design is. Understands what is Unified Modeling Language “UML” and the UML models. Distinguishes between the analysis oriented and design oriented.

The Need for Software Blueprints Knowing an object-oriented language and having access to a library is necessary but not sufficient in order to create object software. In between a nice idea and a working software, there is much more than programming. Analysis and design provide software “blueprints”, illustrated by a modeling language. Blueprints serve as a tool for thought and as a form of communication with others. These blueprints can then be transferred into code using any specific OO language.

Object Oriented Analysis and Design (OOAD) Vs Object Oriented Analysis and Design (OOAD) Vs. Structured Analysis and Design (SAD) Object-Oriented Analysis is built around objects. An object encapsulates both data and behavior OO approach is used for both data modeling and process modeling. OO Analysis expresses requirements and specifications as population of interacting objects of a system Traditional Structured Analysis separates data from behavior It expresses requirements and specifications using the traditional data or functional views.

Management of Information Security, 3rd Edition all Exam ideas: -How many processes in a context diagram -Decompose process 3.0 -balanced dfd between different levels (with a split or without) - End of the lecture, see you next one  Management of Information Security, 3rd Edition

OOAD Vs. SAD OOAD SAD Library System Record Loans Add Resource Report Fines OOAD SAD Catalog Librarian Book Library Partition at the level of concepts (objects) Divide at the function level

OOAD Vs. SAD

OOAD Vs. SAD tools Structured Approach Use Case Diagram Context level DFD Level-0 DFD Subsequent levels DFDs ER Diagram if needed DB Schema & Dictionary Architectural Design Structured Tables/Decision Trees/Flowcharts ( for major processes only) (Component Design) Interface design Object-Oriented Approach Use-case Diagram Use-cases’ descriptions (expanded for major use cases only) Conceptual Diagram Sequence Diagrams Class Diagram ER Diagram if needed DB Schema & Dictionary Architectural Design Pseudo code/Algorithms/Flowcharts (Component Design) Interface design

Object Oriented Analysis OOAD essential for creating well-designed, robust & maintainable software system using OO Programming Language (e.g. C++, Java, Smalltalk, etc…). It is the latest and most used way of design now. UML (Unified Modeling Language) is a modeling language for OOS. An investigation of the problem (rather than how a solution is defined). During OO analysis, there is an emphasis on finding and describing the objects (or concepts) in the problem domain. Example: Concepts in a Library Information System include; Book and Catalog. - Define a concept (مفهوم): relationship between small elements -  مَجْمُوعُ الصِّفَاتِ والخَصَائِصِ الْمُوَضِّحَةِ لِمَعْنَاهُ ومَدْلُولِهِ

Object Oriented Design Emphasizes a conceptual solution that fulfills the requirements specified in the analysis. Need to define software objects and how they collaborate to fulfill the requirements. Designs are implemented in a Programming Language. Example: in the Library Information System, a Book software object may have a title attribute and a display() method. And implemented using any OO programming language; e.g. Java.

Logical Software Objects From Analysis to Implementation Analysis Investigation of the problem Design Logical Solution Construction Code Representation in an OO Programming Language Public Class Book { Private String Title; Public void Display(); } Logical Software Objects Domain Concept Ex: Book (Concept) Book Attribute: Title Method: Display()

Unified Modeling Language A notational system aimed at modeling systems using object-oriented concepts.

Steps to OOAD 1-Define use cases 2-Conceptual Model 3-Design Class Diagram

More Analysis Oriented Analysis and Design Activities More Analysis Oriented More Design Oriented Design Oriented What the solution is? Provides a logical Solution To show how my system addresses the problem Analysis Oriented What the problem is? Starts with the gathered requirements To investigate the Domain