Exam Quick Reference

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by RobertLechte)
 
Line 6: Line 6:
  
  
>=== Contradictory Design Maxims ===
+
=== Contradictory Design Maxims ===
  
 
* [[Design by contract]] and [[Tell, don't ask]]
 
* [[Design by contract]] and [[Tell, don't ask]]
 
* [[Composite]] pattern and [[Avoid no-op overrides]]
 
* [[Composite]] pattern and [[Avoid no-op overrides]]
  
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
>=[http://ehivemit.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 
----
 
  
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://itukane.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://itukane.co.cc CLICK HERE]=
 
----
 
</div>
 
 
=[http://ehivemit.co.cc CLICK HERE]=
 
----
 
</div>
 
  
 
=== Design Pattern Cliff Notes ===
 
=== Design Pattern Cliff Notes ===

Latest revision as of 03:21, 25 November 2010

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