Week 3 Flashcards

(37 cards)

1
Q

Domain Model May Show

A

concepts (objects), associations between concepts, attributes of concepts, rarely polymorphism

illustrates concept and static structure

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

Concept Definition

A

Base Building block: idea, thing, or object

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

3 Conceptual Class Strategies

A
  1. Conceptual Class Category List
  2. Noun Phrase Identification
  3. CRC - class responsibility collaborator cards
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When to add attributes to conceptual class

A

Those for which the requirements suggest or imply a need to remember information
Should be pre data or simple attributes

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

Association Definition

A

Relationship between concepts that indicates some meaningful and interesting connection

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

Association Two Types

A

Association: Relating two classes
Generalization: Specialization of a class

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

Association: 4 Attributes

A

name
role
multiplicity
aggregation (shown with a diamond at the whole end)

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

Class Responsibility Collaborator Card: 3 Sections

A

Class Name
Responsibilities
Collaborators

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

CRC: Class represents:

A

collection of similar objects

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

CRC: responsibility is:

A

something a class knows or does

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

CRC: collaborator is:

A

another class that a class interacts with

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

CRC: what is class able to change?

A

values of things it knows, unable to change values of what other classes know

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

CRC: Collaborations:

A

A request for information or a request to do something

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

Two reasons to use CRC

A
  1. Conceptual Modeling
  2. Improve your Domain Model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Class Diagram show’s systems:

A

Classes
Attributes
Operations
Relationships

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

Objects have: (2 things)

A

states
behaviors

17
Q

Class description

A

Description of a set of objects that share the same attributes, operations, relationships, and semantics

18
Q

What is required in a class box in UML class diagram?

A

name is only thing required

19
Q

Attribute Description

A

Names property of a class that describes the object being modeled

20
Q

Operations Description

A

Describe the class behavior

21
Q

Responsibility Definition

A

Contract or Obligation of a class to perform a particular service

22
Q

3 kinds of UML Relationships

A

Dependencies
Generalizations
Associations

23
Q

Dependency Definition

A

Indicates a semantic relationship between 2 or more elements

24
Q

Generalization Definition

A

Connects subclass to superclass (inheritance)

25
Association Definition
Denotes need to communicate between classes
26
Aggregation Definition
Whole-Part Relationship where part can exist independently from aggregate (UML open diamond)
27
Composition Definition
Strong ownership where part and whole exist in unison (UML solid filled diamond)
28
Interface Definition
Named set of operations that specifies the behavior of objects without showing their inner structure No instantiation, no attributes or state, only operations
29
Realization Definition
Connects a class with its interface (UML dashed line with open triangle)
30
Interface alternate UML structure
circle connected to class with solid line
31
Parameterized Class definition
Family of potential elements, parameter must be bound UML: template rendered by small dashed rectangle in top right corner which contains list of formal parameters Class bound to template with <>
32
Wireframe Definition
Simplified Outline of your product Uses block layout, lines as text and X for images
33
What are Operation Contracts defined for?
System operations that the system (as a black box) offers in its public interface to handle incoming system events
34
Public System Interface Definition
The entire set of system operations across all use cases
35
Operation Contracts 4 parts:
Operation Cross References Preconditions Postconditions
36
O.C. Postcondition options (3)
instance creation, deletion attribute modification associate formed, broken
37
Precondition and Postcondition definitions
Pre: assumptions about the state of the system before execution Post: assumption that refers to state of the system after execution