Star UML and CRC Cards Pepper.

Slides:



Advertisements
Similar presentations
Chapter 8 Designing Classes Designing Classes –8.1 Choosing Classes –8.2 Cohesion and Coupling –CRC Cards –UML Diagrams.
Advertisements

IS514 Lecture Week 9 CRC Cards.
Georgia Institute of Technology Object-Oriented Analysis Barb Ericson June 2006.
Unit 251 Summary  Requirements may be represented in itemized format or in visual modeling (UML). Once the complete set of requirements are in our hand,
Unified Modeling Language
Elevens Lab Student Material – on website
Centinel tournament ● A deck: the numbers in random order ● A game lasts until no numbers are left in deck ● A game is played like this (first player.
Chapter 1 Software Engineering. Homework ► Read Section 2.2 (pages 79-98) ► Answer questions: ► 7, 8, 11, 12, & 13 on page 134. ► Answer on paper, hand.
Scott Grissom, copyright 2004Ch 2 OO Design Slide 1 Object Oriented Design Chapter 2 focuses on: objects, classes inheritance polymorphism UML class diagrams.
CSE 403 Lecture 7 UML Class Diagrams Reading:
An Ectropic Example: The alarm clock, in ECoDE, ad nauseam Order of Operations: –I. Object Oriented Analysis (OOA). –II. Object Oriented Design (OOD).
1 CSE 403 Design and UML Class Diagrams Reading: UML Distilled Ch. 3, by M. Fowler These lecture slides are copyright (C) Marty Stepp, They may not.
1 TCSS 360, Spring 2005 Lecture Notes Design Phase and UML Class Diagrams Relevant Reading: UML Distilled, Third Edition M. Fowler.
UML January 24, 2011 CSE 403, Winter 2011, Brun Design and UML Class Diagrams.
Structured Vs. Object Oriented Analysis and Design SAD Vs. OOAD
UML Sequence Diagrams Reading: UML Distilled Ch. 4, by M. Fowler
Sequence Diagram Tutorial
Poker UML and ADT design plan.
High-Level Design With Sequence Diagrams COMP314 (based on original slides by Mark Hall)
UML S EQUENCE D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
1 On to Object Design Chapter 14 Applying UML and Patterns.
Object Oriented Design. Object-Oriented Design Method for designing computer programs –Useful for thinking about large problems Consider “objects” interacting.
SWEN 5130 REQUIREMENTS ENGINEERING Unified Modeling Language Short Tutorial By Yuvaraj Mani Teaching Assistant SWEN 5130 Spring semester 2006.
Review: Cohesion and Coupling, Mutable, Inheritance Screen Layouts Software methodologies – Extreme Programming Object-Oriented Design – CRC Cards - UML.
Understanding Objects and Classes
Developed by Reneta Barneva, SUNY Fredonia for CSIT 425 Requirements Modeling.
UML January 26, 2011 CSE 403, Winter 2011, Brun UML Sequence Diagrams.
CSC172 Class Design Pepper. Goals How to design classes How to think in terms of objects StarUML Code Generation.
1 Class Diagrams: The Essentials. 2 Terms and Concepts A class is... The most important building block of any object-oriented system. A description of.
CSC 395 – Software Engineering Lecture 14: Object-Oriented Analysis –or– Ripping the Band-Aid Off Quickly.
Software Engineering 1 Object-oriented Analysis and Design Chap 22 UML Tools and UML as Blueprint.
ARTIFACT UML Actor A Use Case 1 Use Case 2 Actor B Document FileManager GraphicFile File Repository DocumentList FileList Customer name addr withdraw()
CSC480 Class Design Pepper. Goals How to design classes StarUML Code Generation.
CAREER CRUISING CRUISING USERNAME: RICHLAND PASSWORD: RAMS.
 m C r =m!/r!(m-r)!  Property: m C r = m C (m-r)  Example: ◦ If you have 10 pens, all in different colors, and you want to bring two of them to class,
ITEC324 Principle of CS III Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
MA471 Fall 2003 Lecture 2. On With The Games Today we are going to watch each group play a couple of rounds of cards. We will go through the game slowly.
UML and Object Modeling Elements
Slide 1 Classes and Objects. Slide 2 Messages and Methods.
Finding Analysis Classes Analyze Use-cases and other artifacts to obtain Analysis classes, relationships, and behavior diagrams.
CSE 403 Lecture 8 UML Sequence Diagrams Reading: UML Distilled, Ch. 4, M. Fowler slides created by Marty Stepp
Summary from previous lectures
ITEC0724 Modern Related Technology on Mobile Devices Lecture Notes #2 1.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
Input Devices. Input devices allow us to enter data into the computer system –Mouse –Keyboard –Graphics Tablet –TrackPad –Touch-sensitive screen - Scanner.
Object Oriented Analysis & Design By Rashid Mahmood.
Chapter 2 (Horstmann’s Book) – Part 1 The Object-Oriented Design Process Hwajung Lee.
CRC Cards: Construction Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
UML and Object Modeling Elements Longley et al., ch. 9 Zeiler, chs. 4 and 5, and 12 Review Zeiler ch. 1.
Solitaire Nick Savillo Michael Biskach Scott Jones Brian Wisniewski.
Design and UML Class Diagrams
TCSS 305 (Stepp) OO Design with UML Class Diagrams
Chapter 7: Software Engineering
Sequence Diagram.
Ionic Poker.
BTS430 Systems Analysis and Design using UML
Address Book Example
UML UML Sequence Diagrams CSE 403
Lecture on Design Phase and UML Class Diagrams
Advanced Java Programming
GotSoccer Game Report.
Week 5.
Structure diagrams for lab 13
÷ 5 = 29 How many 5s are there in 1? Great!
÷ 2 = 24 How many 2s are there in 4?
Week 5.
Multiplication and Division Facts Rummy
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
ITEC324 Principle of CS III
On to Object Design c. 14.
Presentation transcript:

Star UML and CRC Cards Pepper

Goals CRC StarUML Code Generation

Good Class Design Cohesive No unnecessary coupling only one abstraction No unnecessary coupling No printing to a specific device such as screen scanner Related data in the same class

Class UML Diagram Each class box: Relations Name / state / behavior Relations Has a Knows a Uses a Is a Great Explanation matched to code http://www.cse.buffalo.edu/faculty/adrienne/ClassResources/ClassDiagramsInANutshell/

CRC cards One per noun / entity / object Class: Noun is the class name on the top Responsibility: List responsibilities on the left Collaboration: List collaborating objects on the right If a class is being used in a collaboration, its card will not show the collaboration – the user shows the collaboration

CRC Exercise 5 card draw List objects / entities Make one card for each Walk through the game Draw a UML diagram

StarUML Card Deck Hand Players Dealer Game

StarUML Code Generation UML diagram generates code Can reverse engineer Link to Diagram Link to Code