This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In mock exams(whizlab) i had diffculty in answering design pattern questions.Although i read design patterns and understood it there is still some diffuclty in
getting the answer correct.In most of the cases they come up with a case where it could be possible that two design patterns could be used(not multiple choice)
For example there was a straight question.I have to pass an command object to set of object will design pattern to choose.
Options given are command ,filter and chain of responsiblity.
I answered command but the right answer was Chain of responsiblity.
Design Pattern questions are always difficult ones...I thought I had got all Design Pattern questions right in the exam, but it didn't turn out that way...
You have to understand that Design Patterns are solutions for specific pattern of problems - one pattern solves one problem - you should not look at it like - how to solve the same problem with different patterns...