Chapter 12
What happens in a Layers of Abstraction pattern? (a) Each layer uses services in the layer immediately below it. (b) Each layer uses services in the layer immediately above it. (c) Each layer uses services in the layers immediately above it and below it. (d) Each layer is independent of the other layers.
(a) Each layer uses services in the layer immediately below it.
A producer sends a message to a consumer. Which one of the following is synchronous message communication with reply? (a) The producer waits for a response from the consumer. (b) The producer does not wait for a response from the consumer. (c) The producer goes to sleep. (d) The producer waits for a timeout.
(a) The producer waits for a response from the consumer.
What is a software architectural pattern? (a) The structure of the major subsystems of a system (b) The components and connectors in a software architecture (c) A small group of collaborating objects (d) A recurring architecture used in a variety of systems
(a) The structure of the major subsystems of a system
What happens in a Call/Return pattern? (a) A calling operation in the calling object sends a message to an operation (a.k.a. method) in the called object. (b) A calling operation in the calling object invokes an operation (a.k.a. method) in the called object. (c) The calling object waits for a response from the called object. (d) The calling object does not wait for a response from the called object.
(b) A calling operation in the calling object invokes an operation (a.k.a. method) in the called object.
What is a structural view of a software architecture? (a) A view in terms of a module hierarchy (b) A view in terms of components and connectors (c) A view of the physical configuration in terms of nodes and interconnections (d) A view in terms of objects and messages
(b) A view in terms of components and connectors
Which of the following statements is NOT true for a component? (a) A composite object composed of other objects (b) An operation (c) A simple object (d) Provides an interface
(b) An operation
A producer sends a message to a consumer. Which one of the following is asynchronous message communication? (a) The producer waits for a response from the consumer. (b) The producer does not wait for a response from the consumer. (c) The producer goes to sleep. (d) The producer waits for a timeout.
(b) The producer does not wait for a response from the consumer.
What is a deployment view of a software architecture? (a) A static view in terms of a module hierarchy (b) A static view in terms of components and connectors (c) A view of the physical configuration in terms of nodes and interconnections (d) A dynamic interaction view in terms of objects and messages
(c) A view of the physical configuration in terms of nodes and interconnections
What does the software architecture describe? (a) The software inside a building (b) The structure of a client/server system (c) The overall structure of a software system (d) The software classes and their relationships
(c) The overall structure of a software system
What is a dynamic view of a software architecture? (a) A view in terms of a module hierarchy (b) A view in terms of components and connectors (c) A view of the physical configuration in terms of nodes and interconnections (d) A view in terms of objects and messages
(d) A view in terms of objects and messages