In the context of MVC, what is the intent of this design pattern?
Separate data (Model), UI (View), and input control (Controller) for easier maintenance.
8
New cards
What is software architecture?
The high‑level structure that defines the components of a system and how they interact.
9
New cards
What defines an Open architecture?
A design with modular components and standard interfaces.
10
New cards
What are the characteristics of a Closed architecture?
A monolithic design with tightly coupled parts.
11
New cards
What is the main purpose of the Composite design pattern?
Simplify client code by treating individual objects and compositions the same way.
12
New cards
How does the State design pattern change an object's behavior?
It allows an object to change its behavior when its internal state changes.
13
New cards
What is the intent of the Strategy design pattern?
To allow interchangeable algorithms by encapsulating each one in its own class.
14
New cards
What is the difference between the Strategy and State patterns?
Strategy allows you to swap algorithms easily (focus on choice), while State allows an object to change behavior as its state changes (focus on state transitions).
15
New cards
What roles do sketches (blueprints) play in software engineering?
They help communicate ideas, guide design decisions, and support early planning before detailed design work.