Lecture 5 - System Architecture Flashcards
TF: Context diagrams are used by engineers and technicians
False. Only used by project stakeholders
TF: Context diagrams are part of the requirements document in a project
True
TF: Context diagrams help understand the system
True
TF: Context diagrams facilitate brainstorming
True
The Logical Architecture (LA) defines…
The packages within which software classes are defined
The layered architecture organizes the components of software system…
into separate layers, each with a specific purpose and function
TF: The layered architecture facilitates making changes to source code
True
TF: Code reusability is not a benefit of the layered architecture
False. It does make code more reusable
TF: Using layers does not make it easier to test and debug code
False. Separate layers means easier to pinpoint source of bugs and test components
TF: Using layers means once the layer is created, it cannot be replaced
False. Benefit of using layers is the ability to replace layers with new implementation
TF: Scalability is a disadvantage of layers
True. Layers are dependent and each layer focuses on one set of functionality
TF: layers are easy to maintain
False. Difficult to maintain since change in one layer can affect entire system
TF: Parallel processing is possible using layers
False. Since each layers dependent on each other, previously layer needs to be completed before next one can start
When should a system use layered architecture? (2)
- Systems with moderate to large complexities
- Systems that have a long lifetime that requires maintenance and evolution
TF: In Model-View Separation, it is okay to couple non-UI objects with UI objects
False. Should not couple them since the non-UI objects may be used in other applications or attached to new interfaces