Exam Quick Reference

From CSSEMediaWiki
Revision as of 03:21, 25 November 2010 by WikiSysop (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note:

  • The intention of this guide is to be succinct. Don't use this for extended explanation, just note brief points. People can follow links for explanation.
  • Don't be too specific. This is not a Cheat Sheet with direct answers from last year or whatever. It's a concise list of concepts to jog your memory.
  • If you are Wal, bear in mind that just because it's mentioned on this page, doesn't mean it would be wrong to ask questions on it in the exam! It might be better not to read this so as to remain a disinterested party.


Contradictory Design Maxims


Design Pattern Cliff Notes

  • Decorator
    • Identify by: Both HAS A and IS A at the same time, with multiple subclasses.
    • Used for: Adding flexible combinations of specialized functionality.
    • Classic Example: Adding scrolling functionality, borders, etc to a window.
    • Why better than alternatives: Avoids combinatorial explosion of subclasses.
  • Composite
    • Identify by: Both HAS A and IS A at the same time, usually without subclasses.
    • Used for: Making many act as one.
    • Classic Example: Making a shape comprising other shapes.
    • Why better than alternatives: Can use singular and collective instances totally transparently (identically).
Personal tools