Software Design and Reuse Flashcards

1
Q

Types of classes

A

● Entity Classes: model info that is long lived
● Boundary Classes: model the interaction between the software and its actors. Generally associated with I/O. Ex/ GUI class, “Report” class, etc.
● Control Classes: model complex computation and algorithms. Ex/ “Calculate profits”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Noun Extraction Method

A

look at nouns (person, place, thing) to find out your possible classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does CRC stand for

A

Class-Responsibility-Collaboration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is CRC

A

Dev team fills a card about a class and their responsibilities and collaboration with other classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CRC Process

A
  1. identify classes: problem statement, nouns classes, verbs responsibilities
  2. create a card for each class and assign it to a person in the group
  3. perform system scenarios: identify collaboration and responsibilities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly