Object Oriented Programming Lecture 10: UML & CRC.

Slides:



Advertisements
Similar presentations
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
Advertisements

1 © Wolfgang Pelz CRC Cards CRC Cards (class-responsibility-collaborator)
CRC Cards (class-responsibility-collaborator)
The Build-up of the Red Sequence at z
IS514 Lecture Week 9 CRC Cards.
7M701 1 Information Systems Modelling and Design with.
Improved software quality through semantic descriptions (Skutt) Karlstad University Dept. of Computer Science UML introduction A short introduction.
Lecture 11: Chapter 22 Topics –Object Oriented Modeling –UML –Use case.
CRC Cards Class-Responsibility-Collaboration. Where did the idea come from? Kent Beck and Ward Cunningham first introduced CRC cards at OOPSLA (object-oriented.
IMSE 11 - UML Class Diagrams
Object Oriented Analysis and Design Chapter 1 Applying UML and Patterns -Craig Larman.
Chapter 21 Object-Oriented Analysis
Kari R. Schougaard, PhD Stud. Værktøjer og Teknikker, 2006 UNIVERSITY OF AARHUS Department of Computer Science Unified Modeling Language Visual language.
UML January 24, 2011 CSE 403, Winter 2011, Brun Design and UML Class Diagrams.
Unified Modeling Language(UML) BY
OO Design Notations Original version by B.Rogers/M.Utting.
An Introduction to Models & The UML The Unified Modeling Language Copyright © 2007 Patrick McDermott College of Alameda Not really.
Finding position-to-term rules Find position-to-term rules for these sequences:
CSCI-383 Object-Oriented Programming & Design Lecture 9.
Unified Modeling Language, Version 2.0
Object Oriented Programming Lecture 5: BallWorld.
Object Oriented Programming Lecture 9: OO Design.
UML What Is the UML? The Unified Modeling Language (UML) is the successor to the wave of object- oriented analysis and design (OOA&D) methods.
CS-2852 Data Structures LECTURE 3B Andrew J. Wozniewicz Image copyright © 2010 andyjphoto.com.
UML Diagrams A tool for presentation of Architecture.
Objects and Classes Abstract Classes and Interface Sanjaya Karunasena
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.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
Modeling ECE 417/617: Elements of Software Engineering Stan Birchfield
Unified Modeling Language. Object Oriented Methods ► What are object-oriented (OO) methods?  OO methods provide a set of techniques for analyzing, decomposing,
CSE 403, Spring 2008, Alverson Using UML to express Software Architecture.
CSE 403, Spring 2007, Alverson Using UML to express Software Architecture.
ITEC324 Principle of CS III Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
1 Software Engineering Dr. K. T. Tsang Lecture 5 Class modeling
Internet and Intranet Protocols and Applications Lecture 5a: HTTP Client-Server Design and Implementation February 15, 2005 Arthur Goldberg Computer Science.
Object Oriented Analysis and Design Chapter 1 Applying UML and Patterns -Craig Larman.
MADALINA CROITORU Software Engineering week 4 Practical Madalina Croitoru IUT Montpellier.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Chapter 2: Introduction to Object Orientation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A.
UML Review of Use case diagrams. 2 Unified Modeling Language The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson,
Object-Oriented Systems. Goals Object-Oriented Methodologies – The Rumbaugh et al. OMT – The Booch methodology – Jacobson's methodologies.
Object Oriented Analysis and Design CSCU 411 Chapter 12.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 November 30, 2004.
Slide 1 Unified Modeling Language, Version 2.0 Object-Oriented SAD.
CRC Cards: Overview Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
Modeling with UML – Class Diagrams
Object-oriented and Structured System Models
Evolution of UML.
Systems Analysis and Design With UML 2
Methods, Models, Madness
Unified Modeling Language (UML)
A short introduction to UML Eivind J. Nordby Karlstad University
Advanced Java Programming
A tool for presentation of Architecture
A tool for presentation of Architecture
The Basics of Class Diagrams for a single class
ניתוח מערכות מידע א' הרצאה 3
Software Engineering Lecture #11.
Introduction to UML.
INFS 6225 Object Oriented Systems Analysis & Design
Object Oriented Analysis and Design
Week 5.
Week 5.
ITEC324 Principle of CS III
ITEC324 Principle of CS III
On to Object Design c. 14.
Presentation transcript:

Object Oriented Programming Lecture 10: UML & CRC

To Do Read Chapter 3 – Think about the questions

Notations CRC cards Unified Modelling Language (UML) – Booch, Grady and Rumbaugh – Class Diagrams – Sequence Diagrams – Object Diagrams

CRC Card Class, Responsibility and Collaboration Cards Ward Cunningham and Kent Beck (Tectronix) 4 by 6 inch index cards (small) Responsibilities / SecretsCollaborations Class Name

Class Diagrams Boxes represent classes – Name of class – Attributes – or data held in the class – Operations – or methods provided by the class Lines represent associations between classes Arrows on the lines represent navigability Numbers on the lines represent multiplicity Open arrow heads show generalisation or viewed the other way inheritance

Class Diagram Name Attributes (Data) Operations (Methods) Name Attributes (Data) Operations (Methods) Name Attributes (Data) Operations (Methods) Name Attributes (Data) Operations (Methods) 1 *

ballWorldball oneball two paint(Graphics)

: BallWorld colour: green ballone : Ball colour: red balltwo : Ball colour: green

: BallWorld colour: green ballone : Ball colour: red balltwo : Ball colour: green exitbutton caption: Exit

Practicals for week 3 Chapter 6 questions 1-14 Exercises 1-4, 6 To be verified are exercises 1-4 as a single program and 6 as a second program