Lecture 3 Flashcards
What is a primary driver for the need for architectural principles in adaptive systems? A) Rapid development cycles
B) Lack of principled engineering approach
C) Increased hardware costs
D) User interface design
B) Lack of principled engineering approach
What perspective does architecture provide in self-adaptation? A) User experience
B) Financial modeling
C) Architectural perspective on self-adaptation
D) Code optimization
C) Architectural perspective on self-adaptation
What does architecture-based self-adaptation rely on? A) User input
B) Architectural models of the system
C) Manual coding
D) Static configurations
B) Architectural models of the system
What is the fundamental structure of a software system referred to as? A) Codebase
B) Software design
C) Software architecture
D) User interface
C) Software architecture
Which of the following is NOT a term associated with software architecture? A) Design Patterns
B) Architectural Styles
C) Component Models
D) User Interfaces
D) User Interfaces
Why is architecture-based self-adaptation preferred over code-based approaches? A) Easier to implement
B) Separation of concerns
C) Faster execution
D) More complex
B) Separation of concerns
What does the 3-layer model aim to achieve? A) Improve user interface
B) Automate software testing
C) Configure component interactions
D) Reduce coding errors
C) Configure component interactions
What is the responsibility of the Goal Management layer in the 3-layer model? A) Execute changes
B) Report current status
C) Re-plan and introduce new goals
D) Manage user requests
C) Re-plan and introduce new goals
Which layer is responsible for executing changes based on state changes? A) Component Control
B) Change Management
C) Goal Management
D) System Architecture
B) Change Management
What does the Component Control layer accomplish? A) Handles user input
B) Executes system-wide changes
C) Provides application functionality
D) Monitors system performance
C) Provides application functionality
What is a challenge for the Change Management layer? A) Handling user preferences
B) Ensuring consistent views of system state
C) Designing user interfaces
D) Reducing memory usage
B) Ensuring consistent views of system state
In the context of self-adaptation, what does “decentralization of control” refer to? A) Centralized data storage
B) Distributed decision-making
C) Simplified code
D) User-driven changes
B) Distributed decision-making
How are decisions made at runtime in a distributed self-adaptive system? A) Only by the central server
B) Through a hierarchical communication system
C) By user input only
D) Randomly
B) Through a hierarchical communication system
What is the primary goal of the Rainbow framework? A) To simplify coding
B) To handle different systems needing adaptation
C) To improve user experience
D) To reduce hardware costs
B) To handle different systems needing adaptation
Which component of the Rainbow framework maintains the model of the client-server system? A) Adaptation Engine
B) Model Manager
C) Constraint Evaluator
D) Adaptation Executor