OMD Flashcards

1
Q

diagram för statiska modeller

A

klassdiagram, objektdiagram

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

diagram för dynamiska modeller

A

sekvensdiagram, tillståndsdiagram

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

symptomer på dålig design 7st

A

-Rigidity = design is hard to change, one change leads to many more
-Fragility = design is easy break from a singular change
-Immobility = design is hard to reuse
- viscosity = hard to do the right thing
-needless complexity = over complicated design
- needless repetition = inefficient computer usage
-opacity = disorganised design

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

SRP

A

-Single Responsibility principle
- a class should only have one responsibility and reason to change

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

OCP

A
  • Open Close Principle
  • a class should be open for extension but closed for modification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

LSP

A

-Liskov Substitution principle
- subtypes should eb replaceable by their base types

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

ISP

A

-Interface segregation principle
- many specific interfaces are better than a broader general interface, classes can implement a better more specific interface

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