COMP 504
Fall 2015
|
Communications
Assignment 5: Modeling Abstract Behavior
|
 |
Question:
So far, we have modeled abstract behavior in 3 different, though related
forms:
- Abstract behavior as part of a larger whole:
- Abstract method of a class or interface: e.g. Intepreter or
Template Design Patterns
- Abstract behavior as an entity unto itself:
- Used with a semantic: Strategy Design Pattern
- Used without a semantic: Command Design Pattern
First, articulate YOUR definition of "abstract behavior" and how it relates
to the modeling and understanding of a complex system. Be clear and
concise!
Find and discuss at least two examples each of abstract methods, strategies and commands in use
in the real world (i.e. at least 6 examples total). Do not reuse
examples from earlier assignments! Do not simply state examples of
code. Discuss how each example promote decoupling, flexiblity and extensibility in the
systems in which they are involved.
- Avoid examples where the strategy or command is being expressed as a
written or verbal form.
- Be sure to clearly and fully support your assertion that your example is
a compelling embodiment of an abstract method, strategy or command.
- Clearly explain how the notion of abstract behavior, as you
defined it, applies to each
example.
- What was gained by using that type of abstract behavior model in
that situation?
- What was lost by using that type of abstract behavior model in
that situation?
- What could have been gained or lost by using a different abstract
behavior model in that situation?
- Clearly explain how the notion of being used with or without
semantic applies to each example. (How does this apply to
abstract methods as part of a larger whole?)
Be sure to follow the
General Communications Guidelines when writing your
discussions!
© 2015 by Stephen Wong