SWD392-PT2 Exam Practice Questions and Answers (All Correct)
What is a state transition out of a composite state equivalent to?
(a) A transition out of only one of the substates
(b) A transition out of each of the substates
(c) A transition out of none of the substates
(d) A transition out of any one of the substates - ✔️✔️B
What is a class
(a) A course
(b) An object instance
(c) A client or server in the system
(d) A collection of objects with the same characteristics - ✔️✔️D
What is an attribute?
(a) A relationship between two classes
(b) A parameter of an operation or method
(c) A data value held by an object in a class
(d) The return value from an operation - ✔️✔️C
What is an association?
(a) A relationship between two classes
(b) A relationship between two objects
(c) A link between two classes
(d) A link between two objects - ✔️✔️A
What is meant by the multiplicity of an association?
(a) The number of associations in a class
(b) The number of associations between two classes
(c) How many instances of one class relate to how many instances of another class
(d) How many instances of one class relate to a single instance of another class. - ✔️✔️C
What is an association class?
(a) A class with multiple associations
(b) A class with one association
(c) A class that models an association between two or more classes
(d) A class that models an association between two or more objects - ✔️✔️C
What is a generalization/specialization hierarchy?
(a) A whole/part relationship
(b) An inheritance relationship
(c) An association between a generalized class and a specialized class
(d) A layered hierarchy - ✔️✔️
What is a composition hierarchy?
(a) A weak form of a generalization/ specialization hierarchy
(b) A strong form of a generalization/ specialization hierarchy
(c) A weak form of a whole/part relationship
(d) A strong form of a whole/part relationship - ✔️✔️
What is an aggregation hierarchy?
(a) A weak form of a generalization/ specialization hierarchy
(b) A strong form of a generalization/specialization hierarchy
(c) A weak form of a whole/part relationship
(d) A strong form of a whole/part relationship - ✔️✔️
What does the system context class diagram define?
(a) The entity classes in the system
(b) How the system interfaces to other systems
(c) The boundary between the system and the external environment
(d) The context classes in the system - ✔️✔️
What is an entity class?
(a) A class on an entity/relationship diagram
(b) A class that stores data
(c) A class that interfaces to an external entity
(d) An external class - ✔️✔️B
What does an interaction diagram depict?
(a) The state and transitions inside a control object;
(b) Classes and their relationships;
2
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 $12.49. You're not tied to anything after your purchase.