1 ooa2 Object-Oriented Software A model of the real world.

Slides:



Advertisements
Similar presentations
Exercise 1 Consider the ER diagram below. Assume that an employee may work in up to two departments or may not be assigned to any department. Assume that.
Advertisements

Systems Analysis and Design 8th Edition
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Chapter 1 Object-Oriented System Development
Introduction To System Analysis and Design
From Class Diagrams to Databases. So far we have considered “objects” Objects have attributes Objects have operations Attributes are the things you record.
Lecture 4 Class Responsibility Collaboration Cards
Requirements Analysis 2 What objects collaborate to achieve the goal of a use case?
Object Oriented Analysis and Design Chapter 1 Applying UML and Patterns -Craig Larman.
Systems Analysis & Design Sixth Edition Systems Analysis & Design Sixth Edition Toolkit Part 5.
Use Case Analysis – continued
Teamwork Know each other Compete Leadership Strengths and Weaknesses
Chapter 3 : Software Process and Other Models Juthawut Chantharamalee Curriculum of Computer Science Faculty of Science and Technology, Suan Dusit University.
PRJ566: PROJECT PLANNING AND MANAGEMENT Class Diagrams.
Com S 362: Object-Oriented Analysis and Design Class, Responsibilities, Collaborations, CRC Cards Com S 362: Object-Oriented Analysis and Design Oct 18,
Domain Modeling (with Objects). Motivation Programming classes teach – What an object is – How to create objects What is missing – Finding/determining.
Chapter 3 Object-Oriented Analysis of Library Management System(LMS)
USE Case Model.
Introduction To System Analysis and design
In the last section we worked on multiplying and dividing fractions
M1G Introduction to Programming 2 1. Designing a program.
CMIS 470 Structured Systems Design
Systems Analysis and Design in a Changing World, Tuesday, Feb 27
Introduction to Object-oriented programming and software development Lecture 1.
程建群 博士(Dr. Jason Cheng) 年03月
Introduction to Sequence Diagrams
Intro to UML - OO Class Diagrams Week 5 CMIS570. Plan for Tonight Object terms Unified Modeling Language history Class Diagrams Intro to Oracle Oracle.
1 CMPT 275 Phase: Design. Janice Regan, Map of design phase DESIGN HIGH LEVEL DESIGN Modularization User Interface Module Interfaces Data Persistance.
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis Activity (Identifying Objects, Scenarios) Janice Regan,
BTS430 Systems Analysis and Design using UML Domain Model Part 1—Finding Conceptual Classes.
1 Object orientation. 2 What benefits does OO give? Primarily –Encapsulation (Associates data & operations) –Types & specialisation –Software re-use.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
CSC 395 – Software Engineering Lecture 13: Object-Oriented Analysis –or– Let the Pain Begin (At Least I’m Honest!)
1 Systems Analysis and Design in a Changing World, Thursday, January 18, 2007.
CS3773 Software Engineering Lecture 04 UML Class Diagram.
Systems Analysis & Design 7 th Edition Chapter 5.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
Systems Analysis and Design 8 th Edition Chapter 6 Object Modeling.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
1 COMP 350: Object Oriented Analysis and Design Lecture 1Introduction References: Craig Larman Chapter 1.
Object Oriented Methodologies
1 CMPT 275 Software Engineering Requirements Analysis Phase Requirements Analysis activity Janice Regan,
SYS466: Analysis and Design Using OO Models Domain Class Diagram.
CPSC 203. Use Case Diagram  A description of a system’s behavior as it responds to a request that originates from outside of that system. Specifies the.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Object Oriented Design Jerry KotubaSYST Object Oriented Methodologies1.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
© Colin Potts C4-1 Information-oriented approaches Colin Potts Georgia Tech.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
 Week08.  Review Schedule Weeks 8-14  This week o Review last class o Introduce Class Diagrams o ICE-03 Sheridan SYST Engineering Quality Systems.
Human Centric Computing (COMP106) Assignment 2 PROPOSAL 23.
5.0 Objects First with Java A Practical Introduction using BlueJ David J. Barnes Michael Kölling.
Domain Classes – Part 1.  Analyze Requirements as per Use Case Model  Domain Model (Conceptual Class Diagram)  Interaction (Sequence) Diagrams  System.
ITEC324 Principle of CS III Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
Use Case Textual Analysis
Domain Model A representation of real-world conceptual classes in a problem domain. The core of object-oriented analysis They are NOT software objects.
04 - OOD Intro.CSC4071 Software Design ‘Requirements’ defines –The goals the system needs to satisfy. ‘Specification’ defines –The externally-observable.
Programming. To gain a sound knowledge of programming principles To gain a sound knowledge of object- orientation To be able to critically assess the.
High Level Design Use Case Textual Analysis SE-2030 Dr. Mark L. Hornick 1.
Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
CHAPTER 6 OBJECT ANALYSIS.
1 slc5 TTYP – C++ revisited 1 Which of the following statements are reasonable after the following statement: char* fred = new char[5]; a. fred = bill;
1 M206 Chapter 31: An Overview of Software Development 1.Defining the problem 2.Analyzing the requirement – constructing initial structural model 3.Analyzing.
Requirements Models Representing the Product in Ways Other than Text.
CRC Cards: Overview Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
1 OOA3 Stellman – Preface and Intro u Key Ideas? u Assumptions by Stellman/Greene 540/3 f07 OOA3 aug28.
Week 10: Object Modeling (1)Use Case Model
SYS466 Domain Classes – Part 1.
Object Oriented Analysis and Design
Presentation transcript:

1 ooa2 Object-Oriented Software A model of the real world

2 ooa2 Object-oriented u Objects encapsulate data and functions. u The world is modeled by the objects –each significant object in the world has an object in the software

3 ooa2 Object/Class Model

4 ooa2 Why is OO useful? u Easier to understand u Encourages re-use u Easier to maintain u Why? - because the objects in the software relate to objects in the real world and are thus easier to understand, have cleaner interfaces, are more stable and are more likely to be needed again

5 ooa2 OO Requirements Analysis u Identify the entities/objects in the real world that need to be modeled in the software. u Many approaches –classic - draw object model –Ivar Jacobson - use case first u I suggest starting with the Noun-in-Text approach

6 ooa2 Identifying Entities u Starting with a textual description (e.g. an SOW) –list nouns u using domain knowledge –add other entities u abstract activities –levels of abstraction

7 ooa2 Active Task 1 Tom is starting a dental practice in a small town. He will have a dental assistant, a dental hygienist and a receptionist. He wants a system to manage the appointments. When a patient calls for an appointment, the receptionist will check the calendar and will try to schedule the patient as early as possible to fill in vacancies. if the patient is happy with the proposed appointment, the receptionist will enter the appointment with patient name and purpose of appointment. L2S7 - TTYP – hardcopy with your names – no grade

8 ooa2 Active Task 2 – library – 8 min u Work with one other person and develop the list of objects and the object model (attributes, functions, multiplicities) for the following task. Put your names on the sheet and turn in. u The library has copies of books and patrons. Patrons can have up to 3 books borrowed at a time. Each book loan has a due date. Patrons can renew borrowed books once.

9 ooa2 Use Case Diagram u Draw important actors u Add each action

10 ooa2 Scenarios u A description of a sequence of actions

11 ooa2 Draw Interaction Diagrams u Vertical lines for the classes u Use scenario to put in function calls

12 ooa2 Existence Dependency u A class (parent) can be associated with a lower class (child) if –the lower (child) class only exists when the upper (parent) class exists –each instance of the lower (child) class is associated with exactly one instance of the upper (parent) class

13 ooa2 Measurement is important

14 ooa2 Time Log - measuring what you do u Fields –start (clock time - min) –stop (clock time - min) –interruptions (min) –categories (reading, studying, etc) –units (e.g. pages of text) u See page in SOS

15 ooa2 Example time log startstopintdeltacategoryunits 8/21 16:4017:30545reading10 pages 8/21 21:0521:3025studying 8/22 09:1010:051441reading20 pages

16 ooa2 TL1 (time log) assignment u Start today u Turn in Thursday, Sep 5 at start of class u Name and lab time must be on page u Include date, hours,min start and stop, delta,interruptions, categories, units u Determine your average pages/minute u Pressman pp1-52, and any other course related reading