stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
06_Behaviour_1 Flashcards | StudBud
Explore
/
06_Behaviour_1
Mobile agents consist of
One advantage of actor models is
06_Behaviour_1
25 terms
·
StudBud Administration
·
73 plays
Imported from external platform
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
One advantage of actor models is
Coordination between actors
Consistency
Parallelism
Interactivity
2
Mobile agents consist of
code and data that autonomously moves from one machine to another
applications that produce events
plugins that are added to microkernel architectures
domain specific languages used in security applications
3
In the pipes and filters style
it is difficult to test filters independently
filters can be executed concurrently
interactivity is easier
it is not possible to replace some filters by others
4
One advantage of event sourcing is that
the data base is read and write
it is possible to re-run the events and rebuild the state
the size of the stored data doesn't increase with time
the database contains the current state of the system
5
Which of the following is an advantage of pipes and filters with uniform interface?
Interactivity
Reconfigurability
Performance
Dependency between filters
6
The blackboard style uses
knowledge sources that can partially solve a problem
mobile agents that go from one machine to another
agents that are in charge of the different interface parts
pipes and filters
7
In Event-driven architecture
Events are synchronous invocations
An event is something that happened (in the past)
Event consumers wait for producers to send events
An event is something that will happen (in the future)
8
Event sourcing captures state changes through
immutable events
updates to the events sources
shared databases
commands and queries
9
Reflection allows to
use knowledge sources that independently contribute to the solution
Create intelligent code that reflects about its own capabilities
Augment system's performance
to change system's behaviour without stopping its execution
10
Which of the following is NOT and advantage of DSLs?
Performance
Adaptability
Usability
Flexibility
11
One problem of the microkernel style is
Reliability
Single point of failure
Extensibility
Portability
12
In the client-server without state variant
With the same query, we obtain the same answer
Client doesn't store any application state
Server's answer depends on the client
It is possible to create multiple replicated servers
13
Publish-subscribe is a variant of
Pipes and filters
Batch systems
Shared data models
Event based models
14
One advantage of MVC is
Uniformity as it presents the same view for each model
Simplicity
Coupling between controllers and views
It is easier to create new controllers and views
15
What can be a challenge in the shared data style?
Data inconsistency
Unique point of failure
Lack of global state
Dependency between components
16
CQRS separates interface in
models, views and controllers
requests and responses
commands that do actions and queries that write data
commands that do actions and queries that read data
17
One advantage of the batch style is
Low latency
Concurrency
High coupling
Low coupling
18
One advantage of rule based systems is
The use of domain experts declarative knowledge
Performance
Debugging
The possibility of expressing algorithms in an imperative way
19
One constraint of client-server style is
Servers communicate with clients, and not the other way
Clients and server don't communicate between each other
Clients can depend on other clients
Clients communicate with server, and not the other way
20
Backpressure happens when
consumers must ask data to producers
consumers receive more data than they can process
MVC style allows user's interactions
a knowledge source calculates partial results
21
One advantage of the plugins style is
Security
Performance
to adapt the system to functionality not foreseen by current developers
Consistency
22
One benefit of master-slave is
Parallel computing
Independence of master's node
Interactivity
Coordination between master nodes
23
Usually, code on demand
is used for Event sourcing
is code that is transferred from the client to the server
is code that is transferred from the server to the cilent
requires a host programming language
24
Mobile code is
a CQRS variant
code that can modify itself
code that is run in mobile devices
code transferred from one machine to another that can execute it
25
In PAC
A hierarchy of agents is used
Agents are controlled by the master
There is no communication between agents
Several agents can give partial solutions to the problem