SWD392 - PT3, SWD392(DuongTB)Test3, SWD392 Exam
Practice Questions and Answers (100% Pass)
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.
(c) The class is called by the interface.
(d) The class is independent of the interface. - ✔️✔️C
An input message to a state-dependent control object corresponds to:
(a) An event on the internal state machine
(b) An action on the internal state machine
(c) A condition on the internal state machine
(d) A state on the internal state machine - ✔️✔️A
Which of the following objects are NOT likely to be in the same subsystem?
(a) User interface object and entity object
(b) State-dependent control object and coordinator object
(c) Business logic object and entity object
(d) I/O object and state-dependent control object - ✔️✔️B
What is an information hiding object?
(a) An active object that encapsulates data
(b) A passive object that encapsulates data
(c) A class that encapsulates data
(d) A task that encapsulates data - ✔️✔️B
Which of the following is unlikely to be a graphical user interface class?
(a) A menu
(b) A window
(c) A button
(d) A pin - ✔️✔️D
What is an integrated communication diagram?
(a) A communication diagram formed by combining objects
(b) A synthesis of all the communication diagrams developed to support the use cases
(c) A communication diagram depicting the objects that realize a use case
(d) A communication diagram that integrates the entity objects from the static model - ✔️✔️B
If scope of control is used in subsystem structuring, then:
(a) A user interface object is placed in the same subsystem as an entity object it updates.
(b) A state-dependent control object is placed in the same subsystem as the objects it controls.
(c) A state-dependent control object is placed in a different subsystem from the objects it
controls.
(d) A user interface object is placed in a different subsystem from an entity object it updates. -
✔️✔️B
An interaction diagram should be developed for:
(a) Only the main sequence of the use case
(b) The main sequence and every alternative sequence of the use case
(c) The main sequence and a representative alternative sequence of the use case
(d) The alternative sequences of the use case - ✔️✔️B
Which of the following is an entity class?
(a) An information hiding class
(b) A subclass
4
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 OliviaWest. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $13.49. You're not tied to anything after your purchase.