Lecture 3-System Architecture Flashcards

1
Q

What is a context diagram used for(3)?

A

-Tool for business analysts
-Part of the requirements document in a project
-Used by the project stakeholders

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

What does layered architecture do?

A

It organizes the components of a software system into separate layers, each with a specific purpose and function.

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

What are some advantages of using layers (4)?

A
  • reusability (lower layers contain reusable functions)
  • work division (separation of concerns, high cohesion)
  • easy to understand, test, and debug.
  • some layers can be replaced with new implementations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some disadvantages of using layers(2)?

A

-Limited scalability
-Can be error prone –> since there is interdependence between layers , parallel processing is not possible

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

Why use layered architecture (3)?

A

-Good choice for small, simple apps, or web sites
-Good as starting point
-One of the lowest-cost architecture style

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

What is the Model-View separation principle?

A

Model –> domain layer
View–> UI layer

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