SlideShare una empresa de Scribd logo
1 de 18
A brainstorming tool used in the design of object-oriented software.
A collection of standard index cards that have been divided into three sections
1. A class represents a collection of similar objects.
2. A responsibility is something that a class knows or does.
3. A collaborator is another class that a class interacts with to fulfill its
responsibilities.
The cards are arranged to show the flow of messages among instances of each
class.
CRC stands for Class, Responsibilities, Collaborations
What is CRC card ?
Originally proposed by Ward Cunningham and Kent Beck as a teaching tool, but
are also popular among expert designers and recommended by extreme
programming supporters.
Martin Fowler has described CRC cards as a viable alternative to UML sequence
diagram to design the dynamics of object interaction and collaboration.
 Create a card for each class
 Assign responsibilities and attributes to each card
 Identify collaborations between cards
 Simulate design scenarios between sets of cards
BASIC IDEAS
 Portable: cards can be used anywhere, even away from the computer or office
 Anthropomorphic: no computer program can capture the essence of the
interactions forced by passing the cards
 Level of involvement felt by each team member increases
 Useful throughout the life cycle
 Provides a basis for more formal analysis and design methodologies
 Serves as input to a formal method (i.e., a starting point)
 Ease the transition from process orientation to object orientation - most
formal methods are overwhelming
 Gives a general bound on the size of a class - a card
ADVANTAGES
 Define class role
 Provide one unique responsibility
 Identify collaborators (Clients and Services)
Prepare a CRC card for each identified class
EXAMPLE 1
Example…
Student CRC card
EXAMPLE 2
EXAMPLE 3
EXAMPLE 4
EXAMPLE 5
EXAMPLE 6
1) Macho Class
2) Duplicate Functionality
3) Difficulty in Defining Responsibilities
4) No Clear Role is Defined
5) Hard to Map CRC Cards to Class Diagram
Major Problems with Existing CRC Cards
Ooad presentatin crc cards

Más contenido relacionado

La actualidad más candente

Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
gopal10scs185
 
Unit 3 object analysis-classification
Unit 3 object analysis-classificationUnit 3 object analysis-classification
Unit 3 object analysis-classification
gopal10scs185
 

La actualidad más candente (20)

x.509-Directory Authentication Service
x.509-Directory Authentication Servicex.509-Directory Authentication Service
x.509-Directory Authentication Service
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
 
Identifying classes and objects ooad
Identifying classes and objects ooadIdentifying classes and objects ooad
Identifying classes and objects ooad
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Unit 3 object analysis-classification
Unit 3 object analysis-classificationUnit 3 object analysis-classification
Unit 3 object analysis-classification
 
OOAD
OOADOOAD
OOAD
 
Ooad
OoadOoad
Ooad
 
Program security
Program securityProgram security
Program security
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Unit 4
Unit 4Unit 4
Unit 4
 
2CPP14 - Abstraction
2CPP14 - Abstraction2CPP14 - Abstraction
2CPP14 - Abstraction
 
Basis path testing
Basis path testingBasis path testing
Basis path testing
 
Algorithm and pseudocode conventions
Algorithm and pseudocode conventionsAlgorithm and pseudocode conventions
Algorithm and pseudocode conventions
 
Requirements modeling
Requirements modelingRequirements modeling
Requirements modeling
 
SE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAMSE_Lec 07_UML CLASS DIAGRAM
SE_Lec 07_UML CLASS DIAGRAM
 
8. mutual exclusion in Distributed Operating Systems
8. mutual exclusion in Distributed Operating Systems8. mutual exclusion in Distributed Operating Systems
8. mutual exclusion in Distributed Operating Systems
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Defect removal effectiveness
Defect removal effectivenessDefect removal effectiveness
Defect removal effectiveness
 
Cloud Service Life-cycle Management
Cloud Service Life-cycle ManagementCloud Service Life-cycle Management
Cloud Service Life-cycle Management
 
Distributed System ppt
Distributed System pptDistributed System ppt
Distributed System ppt
 

Similar a Ooad presentatin crc cards

A laboratory for teaching object oriented thinking
A laboratory for teaching object oriented thinkingA laboratory for teaching object oriented thinking
A laboratory for teaching object oriented thinking
Home
 
Object oriented software engineering
Object oriented software engineeringObject oriented software engineering
Object oriented software engineering
Varsha Ajith
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architecture
yogesh1617
 
Circuit design presentation
Circuit design presentationCircuit design presentation
Circuit design presentation
Debopriyo Roy
 

Similar a Ooad presentatin crc cards (20)

A laboratory for teaching object oriented thinking
A laboratory for teaching object oriented thinkingA laboratory for teaching object oriented thinking
A laboratory for teaching object oriented thinking
 
HCI2010_2.pdf
HCI2010_2.pdfHCI2010_2.pdf
HCI2010_2.pdf
 
HCI2010.pdf
HCI2010.pdfHCI2010.pdf
HCI2010.pdf
 
K-12 Computer Science Framework GaDOE Update
K-12 Computer Science Framework GaDOE UpdateK-12 Computer Science Framework GaDOE Update
K-12 Computer Science Framework GaDOE Update
 
Bernard' work presentation
Bernard' work presentationBernard' work presentation
Bernard' work presentation
 
I2126469
I2126469I2126469
I2126469
 
Computing curriculum design workshop
Computing curriculum design workshopComputing curriculum design workshop
Computing curriculum design workshop
 
CONSUMER ELECTRONICS ARCHITECTURE.ppt
CONSUMER ELECTRONICS ARCHITECTURE.pptCONSUMER ELECTRONICS ARCHITECTURE.ppt
CONSUMER ELECTRONICS ARCHITECTURE.ppt
 
Lecture note05 slides
Lecture note05 slidesLecture note05 slides
Lecture note05 slides
 
Object oriented software engineering
Object oriented software engineeringObject oriented software engineering
Object oriented software engineering
 
Road Map and OUtlines BS(CS) 2019-23.pdf
Road Map and OUtlines BS(CS) 2019-23.pdfRoad Map and OUtlines BS(CS) 2019-23.pdf
Road Map and OUtlines BS(CS) 2019-23.pdf
 
Cis 375 Success Begins / snaptutorial.com
Cis 375 Success Begins / snaptutorial.comCis 375 Success Begins / snaptutorial.com
Cis 375 Success Begins / snaptutorial.com
 
CIS 375 Massive Success--snaptutorial.com
CIS 375  Massive Success--snaptutorial.comCIS 375  Massive Success--snaptutorial.com
CIS 375 Massive Success--snaptutorial.com
 
CIS 375 Technology levels--snaptutorial.com
CIS 375 Technology levels--snaptutorial.comCIS 375 Technology levels--snaptutorial.com
CIS 375 Technology levels--snaptutorial.com
 
Cis 375 Enthusiastic Study - snaptutorial.com
Cis 375 Enthusiastic Study - snaptutorial.comCis 375 Enthusiastic Study - snaptutorial.com
Cis 375 Enthusiastic Study - snaptutorial.com
 
Computer Organisation and Architecture Teaching Trends
Computer Organisation and Architecture Teaching TrendsComputer Organisation and Architecture Teaching Trends
Computer Organisation and Architecture Teaching Trends
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architecture
 
Futuristic knowledge management ppt bec bagalkot mba
Futuristic knowledge management ppt bec bagalkot mbaFuturistic knowledge management ppt bec bagalkot mba
Futuristic knowledge management ppt bec bagalkot mba
 
Pr crc
Pr crcPr crc
Pr crc
 
Circuit design presentation
Circuit design presentationCircuit design presentation
Circuit design presentation
 

Último

Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
nirzagarg
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
wpkuukw
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
wpkuukw
 
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
eeanqy
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
eeanqy
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
ehyxf
 
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
nirzagarg
 
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
CristineGraceAcuyan
 

Último (20)

Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive Guide
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahim
 
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentation
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptx
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
 
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
怎样办理伯明翰城市大学毕业证(BCU毕业证书)成绩单留信认证
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
 
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
 
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
Q4-Trends-Networks-Module-3.pdfqquater days sheets123456789
 
Lecture 01 Introduction To Multimedia.pptx
Lecture 01 Introduction To Multimedia.pptxLecture 01 Introduction To Multimedia.pptx
Lecture 01 Introduction To Multimedia.pptx
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 

Ooad presentatin crc cards

  • 1.
  • 2. A brainstorming tool used in the design of object-oriented software. A collection of standard index cards that have been divided into three sections 1. A class represents a collection of similar objects. 2. A responsibility is something that a class knows or does. 3. A collaborator is another class that a class interacts with to fulfill its responsibilities. The cards are arranged to show the flow of messages among instances of each class. CRC stands for Class, Responsibilities, Collaborations What is CRC card ?
  • 3. Originally proposed by Ward Cunningham and Kent Beck as a teaching tool, but are also popular among expert designers and recommended by extreme programming supporters.
  • 4. Martin Fowler has described CRC cards as a viable alternative to UML sequence diagram to design the dynamics of object interaction and collaboration.
  • 5.  Create a card for each class  Assign responsibilities and attributes to each card  Identify collaborations between cards  Simulate design scenarios between sets of cards BASIC IDEAS
  • 6.  Portable: cards can be used anywhere, even away from the computer or office  Anthropomorphic: no computer program can capture the essence of the interactions forced by passing the cards  Level of involvement felt by each team member increases  Useful throughout the life cycle  Provides a basis for more formal analysis and design methodologies  Serves as input to a formal method (i.e., a starting point)  Ease the transition from process orientation to object orientation - most formal methods are overwhelming  Gives a general bound on the size of a class - a card ADVANTAGES
  • 7.
  • 8.
  • 9.  Define class role  Provide one unique responsibility  Identify collaborators (Clients and Services) Prepare a CRC card for each identified class
  • 17. 1) Macho Class 2) Duplicate Functionality 3) Difficulty in Defining Responsibilities 4) No Clear Role is Defined 5) Hard to Map CRC Cards to Class Diagram Major Problems with Existing CRC Cards