CPSC 421 OOP Command Pattern

123456789101112131415161718192021222324252627282930313233343536
Across
  1. 5. A participant that defines a binding between a Receiver object and an action and invokes the corresponding operation on the Receiver object
  2. 7. _____ is a related pattern used to implement MacroCommands
  3. 9. An Invoker object ______ the ConcreteCommand object
  4. 12. Use the command pattern when you want to _____ objects by an action to perform
  5. 14. In the Motivation, the class _____ has the role of ConcreteCommand, and can consist of multiple commands
  6. 19. Applicable when you want to support _____ changes in case of a system crash
  7. 20. Multiple commands can be assembled into a _________ command (e.g., MacroCommand), and are instances of the Composite pattern
  8. 22. An issue to deal with in implementation is avoiding error _____ in the undo
  9. 25. In the Motivation, the class _____ has the role of Command
  10. 26. Command AKA
  11. 27. _____ is a related pattern that keeps state the command requires for an undo
  12. 28. A detail for implementation is supporting undo and _____
  13. 31. A participant that creates a ConcreteCommand object and sets its receiver
  14. 32. A participant that asks the command to carry out the request
  15. 33. The Client ____ a ConcreteCommand object
  16. 34. The Invoker object ____ a request by calling an operation on the command
  17. 35. A question for implementation is "How ___________ should a command be?"
  18. 36. In the Motivation, the class _____ has the role of Receiver
Down
  1. 1. Command _________ the object that invokes the operation from the one that knows how to perform it
  2. 2. Applicable when you want to support unlimited ____ and redo
  3. 3. Applicable when you want to support _____
  4. 4. Command is a _____ Pattern
  5. 6. The ConcreteCommand object _____ operations on its receiver to carry out the request
  6. 8. In the Motivation, the class _____ has the role of ConcreteCommand
  7. 10. An idea for implementation is using C++ _____ to avoid creating Command subclasses
  8. 11. In the Motivation, the class _____ has the role of ConcreteCommand
  9. 13. Another Command AKA
  10. 15. In the Motivation, the class _____ has the role of Client
  11. 16. For undo and redo, for a method execute() the corresponding method is _____
  12. 17. A participant that declares an interface for executing an operation
  13. 18. In the Motivation, the class _____ has the role of Invoker
  14. 21. Command is copied before being placed on a history list acts as a __________
  15. 23. Easy to add new Commands because you don’t have to ______ existing classes.
  16. 24. Commands are _____-_____ objects and can be manipulated and extended like any other object.
  17. 29. A participant that knows how to perform the operations associated with carrying out a request
  18. 30. The _____ Pattern allows you to encapsulate a request as an object