Week 1

Week 2

Finals

  1. Which UML diagram illustrates the flow of control between objects in a system?
  2. What design principle advocates composing objects to achieve reuse rather than inheritance?
  3. 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?
  4. In the context of design patterns, what does MVC stand for?
  5. What is the primary purpose of the Singleton design pattern?
  6. Which UML diagram emphasizes the time-ordering of messages exchanged between objects?
  7. What type of relationship in a class diagram indicates that one class is part of another class?
  8. Which type of diagram in UML is used to illustrate the dynamic behavior of a system over time?
  9. In a use case diagram, what is represented by an oval shape?
  10. Which UML diagram is used to represent the deployment of components in a system?
  11. Which type of an event in a state diagram is caused by the satisfaction of a boolean expression?
  12. Which UML diagram depicts the behavior of an object?
  13. Which type of use case (UC) cannot be used directly by an actor in a UC diagram?
  14. Which type of UC relationship adds incremental behavior to a UC?
  15. Which of the three models (i.e. class, state, and interaction) describes the static structure of a system?
  16. Which of the three compartments of a class in a class diagram is not included while drawing objects in an object diagram?