Lecture 5 - System Architecture Flashcards

1
Q

TF: Context diagrams are used by engineers and technicians

A

False. Only used by project stakeholders

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

TF: Context diagrams are part of the requirements document in a project

A

True

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

TF: Context diagrams help understand the system

A

True

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

TF: Context diagrams facilitate brainstorming

A

True

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

The Logical Architecture (LA) defines…

A

The packages within which software classes are defined

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

The layered architecture organizes the components of software system…

A

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
7
Q

TF: The layered architecture facilitates making changes to source code

A

True

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

TF: Code reusability is not a benefit of the layered architecture

A

False. It does make code more reusable

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

TF: Using layers does not make it easier to test and debug code

A

False. Separate layers means easier to pinpoint source of bugs and test components

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

TF: Using layers means once the layer is created, it cannot be replaced

A

False. Benefit of using layers is the ability to replace layers with new implementation

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

TF: Scalability is a disadvantage of layers

A

True. Layers are dependent and each layer focuses on one set of functionality

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

TF: layers are easy to maintain

A

False. Difficult to maintain since change in one layer can affect entire system

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

TF: Parallel processing is possible using layers

A

False. Since each layers dependent on each other, previously layer needs to be completed before next one can start

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

When should a system use layered architecture? (2)

A
  • Systems with moderate to large complexities
  • Systems that have a long lifetime that requires maintenance and evolution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

TF: In Model-View Separation, it is okay to couple non-UI objects with UI objects

A

False. Should not couple them since the non-UI objects may be used in other applications or attached to new interfaces

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

TF: It is okay to put application logic in the UI object methods

A

False. UI object should only initialize UI elements and should delegate requests for application logic to non-UI objects (domain objects)