Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to use CRC Cards for Class Design?

Answer Posted / guest

Class Responsibility Collaborator (CRC cards) are a
brainstorming tool used in the design of object-oriented
software. They were proposed by Ward Cunningham and Kent
Beck. [1] They are typically used when first determining
which classes are needed and how they will interact.

CRC cards are usually created from index cards on which are
written:

The class name
Its Super and Sub classes (if applicable)
The responsibilities of the class.
The names of other classes with which the class will
collaborate to fulfill its responsibilities.
Author
Using a small card keeps the complexity of the design at a
minimum. It focuses the designer on the essentials of the
class and prevents him from getting into its details and
inner workings at a time when such detail is probably
counter-productive. It also forces the designer to refrain
from giving the class too many responsibilities. Because
the cards are portable, they can easily be laid out on a
table and re-arranged while discussing a design with other
people.

A common method to determine what cards should be created
is to read a specification for the program being designed
and consider if each noun should be a class and if each
verb should be a responsibility of the noun or class to
which it belongs. Naturally, the existence of a noun or
verb does not require a class or responsibility in the
program, but it is considered a good starting point.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is modeling? What are the advantages of creating a model?

903


how will u use com+ register

2461


What is crc card?

994


What is UML and its advantages?

930


On what basis I will select or choose an uml modeling tool?

864


Can you give us a brief defining the architecture?

896


Name 9 modeling diagrams that are frequently used?

881


Which software is used for UML diagrams?

973


What are the process workflows that evolve through these phases?

903


What is collaboration diagram in UML?

980


What is unified modeling language (uml)?

863


Define modeling in UML and it advantages.

945


What is known as static diagrams?

867


What is the function of attribute facets in uml?

1096


Define SDLC in UML?

973