Lecture 4 - Class Diagram Notation Flashcards

1
Q

TF: Association names are kept in DCD (Design Class Diagrams)

A

False. Association name is usually removed

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

What is a qualified association?

A

A form of association where a small box attached to association. Box usually contains a key-like attribute.
(ex: ISBN number, studentID, itemID could be qualifiers)

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

Association classes help simplify what?

A

many-to-many multiplicity

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

How are dependencies represented in Class Diagram Notation?

A

Represented with a dashed arrow with a keyword (stereotype) next to it to indicate type of dependency (keyword format: «»)
[ex: «call» «create»]

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

How are generalizations represented in Class Diagram Notation?

A

solid line with a hollow arrow head

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

What are generalizations in Class Diagram Notation?

A

Represent child-parent relationships

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

How are realizations represented in Class Diagram Notation?

A

Dotted line with hollow arrow head

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

What are realizations in Class Diagram Notation?

A

Relationship between two elements, usually one class and one interface

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

What are the two ways to represent an interface?

A
  1. A box (similar to class box) with <> on top of name
  2. A small hollow circle with interface name next to it (lollipop notation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What diagram indicates which object should be in a sequence diagram?

A

Domain diagram

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

Which diagram indicates the objects and their messages?

A

Sequence diagram

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

TF: You can easily create a static class diagram from a sequence diagram

A

True

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