UML_basics Flashcards

1
Q

A UML class diagram is made up of …

A

A set of classes and a set of relationships between classes

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

Purpose of Class Diagrams

A

Shows static structure of classifiers in a system

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

What is a Class

A

A description of a group of objects all with similar roles in the system

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

Class consists of …

A

attributes (Structural features) and operations (Behavioral features)

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

A class notation consists of three parts: …, Class Attributes, Class Operations (Methods)

A

Class Name

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

What is Class Relationships?

A

Connection with other classes

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

Type of relationship when subclass is specialization of super class

A

inheritance

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

Structural link between two class

A

association

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

A special type of association. It represents a “part of” relationship

A

aggregation

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

A special type of aggregation where parts are destroyed when the whole is destroyed.

A

Composition

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

Exists between two classes if the changes to the definition of one may cause changes to the other

A

Dependency

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

They often have a small arrowhead to show the direction in which direction to read the relationship

A

Relationship Names

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

… are written at the ends of an association line and describe the purpose played by that class in the relationship.

A

Roles

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

The arrows indicate whether, given one instance participating in a relationship, it is possible to determine the instances of the other class that are related to it.

A

navigability

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

denotes public attributes or operations

A

+

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

denotes private attributes or operations

A

-

17
Q

denotes protected attributes or operations

A

#

18
Q

denotes package attributes or operations

A

~

19
Q

How many objects of each class take part in the relationships

A

Multiplicity

20
Q

Should we use multiple or a single class diagram for modeling the problem?

A

it is better to use multiple class diagrams

21
Q

Thus, if you take the … you draw a diagram that represents the concepts in the domain under study

A

conceptual perspective

22
Q

The … is considered language-independent

A

conceptual perspective

23
Q

Thus, if you take the … we are looking at the interfaces of the software, not the implementation.

A

specification perspective

24
Q

The diagrams are interpreted as describing software implementations in a particular technology and language.

A

implementation perspective

25
Q

if you take the … we are looking at the software implementation.

A

implementation perspective

26
Q

navigability может быть

A

одно направленным и дву направленным

27
Q

Java имеет только две явные конструкции для отражения связей: … и …

A

extends (наследование) и implements (реализация)

28
Q

2 different types of languages:

A

for real software and for design

29
Q

Code from UML is …

A

too simple

30
Q

UML from real code is …

A

too complex and difficult to understand

31
Q

There are lots of question that … real code and design

A

differ

32
Q

model driven development

A

подход в разработке: сначала генерируется скелет, а потом дополняется

33
Q

реверс инжениринг

A

нарисовать высокоуровневый UML, чтобы понять что происходит