Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help!!!

  • 12-05-2014 12:08pm
    #1
    Registered Users, Registered Users 2 Posts: 58 ✭✭


    Any coders know WTF this means and how best to answer it?

    Question 4
    Design patterns are commonly categorised as being creational, structural or behavioural. Regarding
    the following list of design patterns:
     Observer
     Template Method
     Abstract Factory
     Strategy
     Façade
     Decorator
     Adapter
     Factory method

    (a) Identify one creational, one structural and one behavioral design pattern and in each case -
    state briefly why the pattern you identified is regarded as creational, structural or behavioral.
    (6 marks)
    (b) Choosing any three patterns from the above list:
    (i) State how, use of the design pattern - allows for improved code re-use, and/or improved
    flexibility, extensibility (or another design advantage you can identify)
    (12 marks)
    (c) Choosing any one pattern from the above list:
    (i) Give an example implementation of the design pattern in code (i.e. show a complete
    example of the design pattern)
    (9 marks)
    (ii) Write brief notes to describe (or comment) on the code you produce in part (i) to
    explain how the code is an implementation of the design-pattern
    (3 marks)
    Total (30 marks)


Comments

This discussion has been closed.
Advertisement