Week 9 Flashcards

1
Q

3 jenis relationship antara class?

A
  1. Association, relationship antara 2 classes yang satu sama lain saling independen tetapi satu class boleh menggunakan services yang disediakan oleh class lainnya.
  2. Aggregation / Composition, class bisa saja dibuat dari class lainnya atau didalam satu class terdapat class lain yang merupakan bagian dari class itu sendiri.
  3. Generalisation, class boleh inherit semua atribut dan operasi dari parent class tetapi harus diberi nama yang unik
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Association also called?

A

links

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

Aggregation models pake relationship apa?

A

has-a

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

jenis-jenis relationship antar class?

A
  1. association
  2. aggregation / composition
  3. generalisation
  4. dependency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

simbol composition?

A

ujungnya diamond full black

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

simbol aggregation?

A

ujungnya diamond blank

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

simbol generalisation?

A

tanda panah blank

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

step untuk membuat class diagram?

A
  1. identify the object and derive classes
  2. identify attributes
  3. identify relationship between the class
  4. write a data dictionary to support the class diagram
  5. identify class responsibility using CRC card
  6. separate responsibilities into operation and attributes
  7. write process specifications to describe the operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly