MODUL 2 Flashcards

(36 cards)

1
Q

what is a model?

A

an abstraction/simplification of the system it represents

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

what does it mean that a modeling language have a notation?

A

notation = the elements that make up the language

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

what does it mean that a modeling language have semantics?

A

semantics = description of what the notation means, captured in meta-model

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

What are the 6 advantages of UML?

A
  1. formal
  2. concise
  3. comprehensive
  4. scaleable
  5. lessons learned
  6. standard
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an informal language?

A

A language that does not have a formally defined noation of its elements. ex) nartural language

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

what are some problems when modeling with code?

A
  • focuses only on the software and not the rest of the system
  • contains every detail, no abstarction, no bigger picture
  • can’t be understood by people who don’t read code
  • might not be reusable
    –> only one level of abstraction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

abstraction (classes)

A

means that you skip irrelevant details in the description/definition. A class is to only contain relevant information for the context it is to be used in.

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

encapsulation (classes)

A

enables the class to hide its inner details from the outside world. with this the classes can change internally without it effecting how the class is interacted with. Small changes will not cause the system to break.

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

attributes (classes)

A

describes the state of an objects

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

operations (classes)

A

describe what the class can do and which operations it supports/ behaviours it has

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

4 visibility characteristics (classes)

A
  1. public
  2. protected
  3. package
  4. private
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

intitial node and end node (activity)

A

shows the start and finish of an activity diagram. The activity starts when the initial node becomes active.

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

edges / paths (activity)

A

shows the flow within an activity, the arrows show in wich directions the flow is going.

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

incoming and outgoing edge (activity)

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

decision and merge (activity)

A

like an if-else situation shown with a diamond. the path branches and then merges in a second diamond

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

guard condition (activity)

A

determines which path to take after a decision diamond, should be mutually exclusive

17
Q

activity frame (activity)

A

contains an activitys actions, optional

18
Q

forks and joins (activity)

A

used when actions happens in parallell or cocurrently. forks hae outgoing flows and joins have incomming flows.

19
Q

time events

A

hourglass, represents a wait period or interval

20
Q

recurring time event (activity)

A

hourglass without an incoming flow/edge

21
Q

call activity node (activity)

A

shown with an upside-down pitchfork. it calls the activity corresponding to the node name. an action had to be made in to an activity itseld to specify the actions within it

22
Q

object nodes (activity)

A

can be used to show the data flowing through the activty

23
Q

pins (activity)

A

shows that an object is input to or output from an action

24
Q

transformation (activity)

A

can be used when not the whole output object is needed as input fro the next action.

25
signals, receive and send (activity)
represent interaction with external participants, They are messages that can be sent or received
26
interruption regions (activity)
if 2 happens while 1 is taking place, 1 will be interrupted and 2 will become active instead. dotted box and lightning path
27
flow final node (activity)
terminate sits own (branched)path withput ending the whole activity
28
partitions, swimlanes and annotations (activity)
partitions to show which participant is responsible for whisch actions you can show this by swimlanes(columns/rows) or annotations ehere you write it directly in the actions.
29
connectors (activity)
come in pairs and are used to chop the diagram up so that it is easier to read.
30
different ways an activity can start in a diagram (activity)
- the activity starts with a single initial node - the activity starts with by receiving input data - the activity starts in response to a time event - the activity starts as a result of being woken up by a signal
31
inline attributes and associated attributes (classes)
32
what can an attribute contain? (classes)
contains a visibility property, name and type. name is the only mandatory part
33
multiplicity (classes)
allows you to specify that an attribute represents a collection of objects. 1..5, 1..* unique, ordered, not unique
34
ReadOnly property (classes)
the values of the attribute can not be changed once its initial value has been set
35
what can a operation contain?
contains a visibility property, a name, a pair of parentheses with needed parameters and a return type
36