Week 1
Week 2
Finals
- Which UML diagram illustrates the flow of control between objects in a system?
- What design principle advocates composing objects to achieve reuse rather than inheritance?
- Composition over inheritance
- Which design pattern is used to define an interface for creating an object but lets subclasses alter the type of objects that will be created?
- In the context of design patterns, what does MVC stand for?
- What is the primary purpose of the Singleton design pattern?
- Ensure a class has only one instance and provide a global point of access to it.
- Which UML diagram emphasizes the time-ordering of messages exchanged between objects?
- What type of relationship in a class diagram indicates that one class is part of another class?
- Which type of diagram in UML is used to illustrate the dynamic behavior of a system over time?
- In a use case diagram, what is represented by an oval shape?
- Which UML diagram is used to represent the deployment of components in a system?
- Which type of an event in a state diagram is caused by the satisfaction of a boolean expression?
- Which UML diagram depicts the behavior of an object?
- Which type of use case (UC) cannot be used directly by an actor in a UC diagram?
- Which type of UC relationship adds incremental behavior to a UC?
- Which of the three models (i.e. class, state, and interaction) describes the static structure of a system?
- Which of the three compartments of a class in a class diagram is not included while drawing objects in an object diagram?