OO Packages and Layers (PPT 14) Flashcards

1
Q

What s a package in UML?

A

Is a way to group related classes together

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

What are packages useful for?

A
  • Organisation
  • Project planning and implementation
  • Layering a system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some problems with user interfaces?

A
  • User Interface logic changes frequently compared to business logic
  • Designing a user interface requires a different skill set than complex business logic
  • User interface code tends to be device dependent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three tiers in a classic three tier system?

A
  • Presentation layer
  • Business layer
  • Data Access layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are some advantages of layering?

A
  • Flexibility and maintainability
  • Project management (specialist teams for each layer)
  • Testing (Test layers independently of each other)
  • Non-functional issues (scalability, availability)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a circular dependency?

A

This is when two or more modules either directly or indirectly depend on each other.

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

How can we solve a circular dependency?

A

We can take the classes that both areas rely on and put them in a new package

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