Quiz
Quiz 7
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (15)
1A valid domain model consists of ____
- AA UML diagram of the requirements
- BA detailed use case, a class diagram, and corresponding sequence diagram.
- CAll classes within the PDC
- DAll abstract classes within the application
2What is NOT true of an object?
- AAn object is an instance of a class specification
- BAn object maintains private data and at least one public method
- CAn object is an entity that controls other objects to perform its responsibility
- DAn object is an entity with a unique identity, a single responsibility, and long-term state.
3What is NOT true of a class?
- AA class is a specification for a set of objects of the same kind.
- BA class has a clear name, a single responsibility, and collaborators
- CA class should have high coupling and low cohesion.
- DMultiple classes may specify a single object.
4A use case is considered “rigorously correct” whenever __________
- AIt complies with the IEEE 830 standard
- BThe detailed use case and object model are consistent
- CThe stakeholders have verified it
- DIt passes all tests run against it
5Functional decomposition and scope-of-control decomposition are techniques using what math principle?
- ASemantic analysis
- BOrthogonality
- CPerpendicularity
- DSyntactic analysis
6Use case validation using UML and XUML are applied to which part of the system?
- AOnly the PDC abstraction classes
- BAll components of the MVP architecture
- CAll abstraction classes in the MVP architecture
- DThe detailed use case, its UI, and its design components
7For each class diagram in the domain model that corresponds to a single use case, what is NOT true?
- AEach method and data element must be unique to only one class
- BEach method must be a function
- CBase classes should be abstract or interface types
- DThe class diagram must be consistent with the detailed use case and sequence diagram.
8 On an XUML sequence diagram, for a horizontal line that represents a method call,
- AThe arrowhead points to the object containing the called method.
- BThe tail of the arrow points from the object containing the called method.
- CA dashed line is used to represent synchronous events.
- DA dashed line is used to represent message calls that have no return data.
9On an XUML sequence diagram for our drone system, for signals that are sent to and from the drone.
- AA signal is represented as a method call with no return data.
- BA signal is represented as a response to a method call with no return data.
- CSignals can only be sent when requested during a message call.
- DA signal is represented as an asynchronous event with a dashed line and no return data.
10How is cardinality used in a UML class diagram?
- ATo show the number of objects in a class diagram between HAS-A (aggregation) and association relationships.
- BTo show the number of objects in a class diagram between IS-A (inheritance) and association relationships.
- CTo show the number of objects in a class diagram between HAS-A (aggregation) and IS-A (inheritance) relationships.
- DCardinality cannot be used in class diagrams to show objects.
11According to object theory (and represented in Riel’s Rules), which is NOT true?
- AA Component object must be accessed only through its container, or owner, object.
- BA Component object must be extracted from its owner before being accessed.
- CAn intermediary object, usually a Collections object, is needed to map a many-to many relationship.
- DA class diagram has no way of showing a container class that only sometimes contains another class.
12After requirements analysis is completed with a domain model, and we have a set of defect-free use cases, what would be a false statement?
- AThe final domain model consists of a conflation of all the class diagrams from all the use case analyses.
- BThe domain model can be used to start design by extending the abstractions within the model with implementation classes.
- CThe domain model is used for requirements analysis only.
- DThe domain model can be used to write code and test cases directly from the sequence diagram.
13What is NOT true of the difference between analysis and design?
- ADesign extends the analysis structure vertically (implementation classes of interfaces and abstract classes are added)
- BDesign extends the analysis structure horizontally (all MVP components are included instead of only the PDC)
- CDesign extends the analysis structure diagonally (NFRs are added to the collaborators of all classes)
- DDesign considerations of expedience outweigh the analytical considerations of rigor.
14What is NOT a proper example of validation or verification, as used in this course?
- AA detailed use case is used to derive a set of test cases, which when all the tests pass, one knows that the use case is valid.
- BA detailed use case matches what the stakeholder expects, and hence is verified.
- CA detailed use case is validated with an object domain model.
- DA detailed use case complies with the IEEE 830 specification standard, and hence is neither valid nor verified, but merely standard.
15In a UML class diagram using strict notation, what does it mean when an unadorned line connects from the side of one class to the bottom of another class?
- ANothing because there is no UML notation like this.
- BAn inheritance relationship between the two classes.
- CAn association relationship between the two classes.
- DAn aggregation relationship between the two classes.
Information
- Description
- Quiz on Quiz 7, created by Allie G on 26/04/2017.
- Author
- Allie G
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz