Lecture 3 Flashcards

1
Q

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

A

B) Lack of principled engineering approach

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

What perspective does architecture provide in self-adaptation? A) User experience
B) Financial modeling
C) Architectural perspective on self-adaptation
D) Code optimization

A

C) Architectural perspective on self-adaptation

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

What does architecture-based self-adaptation rely on? A) User input
B) Architectural models of the system
C) Manual coding
D) Static configurations

A

B) Architectural models of the system

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

What is the fundamental structure of a software system referred to as? A) Codebase
B) Software design
C) Software architecture
D) User interface

A

C) Software architecture

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

Which of the following is NOT a term associated with software architecture? A) Design Patterns
B) Architectural Styles
C) Component Models
D) User Interfaces

A

D) User Interfaces

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

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

A

B) Separation of concerns

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

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

A

C) Configure component interactions

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

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

A

C) Re-plan and introduce new goals

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

Which layer is responsible for executing changes based on state changes? A) Component Control
B) Change Management
C) Goal Management
D) System Architecture

A

B) Change Management

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

What does the Component Control layer accomplish? A) Handles user input
B) Executes system-wide changes
C) Provides application functionality
D) Monitors system performance

A

C) Provides application functionality

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

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

A

B) Ensuring consistent views of system state

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

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

A

B) Distributed decision-making

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

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

A

B) Through a hierarchical communication system

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

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

A

B) To handle different systems needing adaptation

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

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

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