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
With polymorphism and dynamic binding, an object can:
(a) Invoke operation of different names on the same objects.
(b) Invoke operations of different names on different objects.
(c) Invoke an operation of the same name on the same object.
(d) Invoke an operation of the same name on different objects. - D
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
Which of the following objects should be assigned to the same subsystem?
(a) Objects that are part of the same composite object
(b) Client and server objects
(c) User interface and entity objects
(d) Objects that are associated with each other - A
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
Which of the following is NOT an object-oriented concept?
(a) Information hiding
(b) Class
(c) Subclass
(d) Subroutine - D
Which of the following is unlikely to be encapsulated in a business logic class?
(a) A business rule
(b) Calls to operations of an entity class
(c) Deny cash withdrawal if balance of account is less than $10
(d) A dialog box - D
, How would two state-dependent control objects communicate with each other?
(a) By sending messages to each other
(b) By transitioning to the same state
(c) Through an entity object
(d) Through a proxy object - A
In object-oriented design, polymorphism means that:
(a) Different classes may have the same name.
(b) Different classes may have the same interface name.
(c) Different classes may have the same superclass name.
(d) Different classes may have the same operation name. - D
How should an external object be designed to interface to the system?
(a) It should interface to one subsystem.
(b) It should interface to several subsystems.
(c) It should interface to every subsystem.
(d) It should interface to none of the subsystems. - A
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
A user interface subsystem is a type of:
(a) Control subsystem
(b) Service subsystem
(c) Client subsystem
(d) I/O subsystem - C
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
Which of the following could happen on an interaction diagram?
(a) A state-dependent control object sends a message to an entity object.
(b) A state-dependent control object sends a message to a coordinator object.
(c) A state-dependent control object sends a message to a printer object.
(d) All of the above - D
Which of the following is a class that realizes an interface?
(a) The class calls the interface.
(b) The class implements the interface.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller VasilyKichigin. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.48. You're not tied to anything after your purchase.