Top Design Patterns Interview Questions :: ALLInterview.com http://www.allinterview.com Top Design Patterns Interview Questions en-us What are the different types of Design Patterns and Explain them? http://www.allinterview.com/showanswers/7355.html Design patterns are mainly of three types Creational Structural Behavioral Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding wh Which Design Patterns you know? http://www.allinterview.com/showanswers/35454.html Hi... For this question u can answer like Singleton design pattern ,DAO and DTO,MVC. What are sequence diagrams, collaboration diagrams and difference bet http://www.allinterview.com/showanswers/20550.html Sequence diagram is basically a flow chart w.r.t time. However, a collabration diagram is very much the sequence diagram without any time. Collaboration diagrams basically shows the interaction of the various objects. what is design patterns? which design patterns mostly used in .net? H http://www.allinterview.com/showanswers/28985.html Guys ... i cant post all of the DP samples ..nonetheless u get it over the internet but i can just brief u bout the Design patterns 1. Design patterns are the general solutions to the design problems.... (Though they dont give you the code) what is data access layer? http://www.allinterview.com/showanswers/35457.html Data Access Layer which is receive a request from buisness object layer and speaks to database , get the result and return to buisness object. All sqls and Stored procedure execution will be placed. If there is a Model class,View class,Controller class then How these http://www.allinterview.com/showanswers/35456.html Hi... Model is nothing but a class/bean having the setters and getters methods to providing the required information to the controller(SERVLET) and View(JSP).First the client will give the request by using the view(jsp),the view can forward t what is MVC Pattern? http://www.allinterview.com/showanswers/35453.html Hi... MVC is the one of the design pattern which enables you to de-coupling the modules. MODEL:It cane be used to store the database objects. VIEW: It can be used to view purpose,to giving the user input. CONTROLLER:It is the main component in What are actually Model,view,Controller in MVC Pattern? http://www.allinterview.com/showanswers/35455.html Hi... MODEL:Model is nothing but storing the databse objects. VIEW: View is nothing but userinterface CONTROLLER: Controller is nothing but handling the requests and sending the response. What is singleton design pattern http://www.allinterview.com/showanswers/73338.html Singleton design pattern is a a creational pattern to dictate how and when objects get created and it's main purpose is to ensure that a class has only one instance Example: #define NULL 0 class Singleton { private: Singleton(Sing What is Software development life cycle....?? http://www.allinterview.com/showanswers/66457.html Software development life cycle is a waterfall methodology, it is a small to medium database software projects are generally broken down into six stages,project planning, requirements definition, design development, integration test, installat When to Use a Factory Pattern? http://www.allinterview.com/showanswers/7419.html A class can?t anticipate which kind of class of objects it must create. A class uses its subclasses to specify which objects it creates. You want to localize the knowledge of which class gets created. There are several similar variations on t what is a Design Pattern? http://www.allinterview.com/showanswers/407.html A design Pattern is a template that a software developer can use to solve a real world application project. Think of it as an empty flow chart diagram with symbols that represent actions that an application will perform based on certain crit write 5 best test cases like any password?password should be mixed c http://www.allinterview.com/showanswers/56298.html check for empty password it should fail. check for all alphabetic password it should fail check for all numeric password it should fail check for all special character password it should fail check for all mixed password it should suceed. Explain Inline Style Sheet? http://www.allinterview.com/showanswers/23473.html Inline Style Sheet is rarely used when a style is applied to a single occurance of an element. To use inline styles use ?style? attribute in relevant tag. Ex: <p style=?Color:Blue;margin-Left:20px?> This paragraph</p> What are the Design Patterns you know http://www.allinterview.com/showanswers/10711.html Facade Pattern Strategy Pattern Bridge Pattern Abstract Factory Pattern Adapter Pattern