design pattern interview questions2



1.      Prototype:Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
2.      Proxy: Provide a surrogate or placeholder for another object to control access to it.
3.      Singleton: Ensure a class has only one instance, and provide a point of access to it.
4.      State: Allow an object to alter its behavior when its internal state changes. the object will appear to change its class.
5.      Strategy:Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
6.      Template Method:Define the Skelton of an operation, deferring some steps to subclasses. Template method subclasses redefine certain steps of an algorithm without changing the algorithms structure.
7.      Visitor: Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.
8.      What is a purpose of Creational patterns?
 concern the process of object creation
9.      What is a purpose of Structural patterns?
 the composition of classes or objects
10.  What is a purpose of Behavioral patterns?
 characterize the ways in which classes or objects interact and distribute responsibility
11.  Define  class inheritance ?
class inheritance defines an object’s implementation in terms of another object’s implementation (code and representation sharing
12.  Define interface inheritance ?
interface inheritance (or subtyping) describes when an object can be used in place of another
13.  Expand MVC:____________________________________________
MVC consists of three kinds of objects.
M->>MODEL is the Application object.
V->>View is the screen presentation.
C->>Controller is the way the user interface reacts to user input.

14.  Explain White-box reuse
Reuse by subclassing (class inheritance)
Internals of parent classes are often visible to subclasses
works statically, compile-time approach
Inheritance breaks encapsulation
15.  Explain Black-box reuse
Reuse by object composition
Requires objects to have well-defined interfaces
No internal details of objects are visible
16.  What is delegation ?
Two objects are involved in handling a request: a receiving object delegates operations to its delegate

17.  What is Framework?
A framework is a set of cooperating classes that make up a reusable design for a specific class of software
18.  Document Structure:
The choice of  internal representation  for the document affects nearly every aspect of Lexis's design. All editing , formatting, displaying, and textual analysis will require traversing the representation.
19.   Formatting:
How does Lexi actually arrange text and graphics into lines and columns?
What objects are responsible for carrying out different formatting policies?
20.  How do these policies interact with the document’s internal representation?
Embellishing the user interface:
Lexis user interface include scroll bar, borders and drop shadows that embellish the  WYSIWYG document interface. Such embellishments are likely to change as Lexis user interface evolves.

design pattern interview questions2



1.      Prototype:Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
2.      Proxy: Provide a surrogate or placeholder for another object to control access to it.
3.      Singleton: Ensure a class has only one instance, and provide a point of access to it.
4.      State: Allow an object to alter its behavior when its internal state changes. the object will appear to change its class.
5.      Strategy:Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
6.      Template Method:Define the Skelton of an operation, deferring some steps to subclasses. Template method subclasses redefine certain steps of an algorithm without changing the algorithms structure.
7.      Visitor: Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.
8.      What is a purpose of Creational patterns?
 concern the process of object creation
9.      What is a purpose of Structural patterns?
 the composition of classes or objects
10.  What is a purpose of Behavioral patterns?
 characterize the ways in which classes or objects interact and distribute responsibility
11.  Define  class inheritance ?
class inheritance defines an object’s implementation in terms of another object’s implementation (code and representation sharing
12.  Define interface inheritance ?
interface inheritance (or subtyping) describes when an object can be used in place of another
13.  Expand MVC:____________________________________________
MVC consists of three kinds of objects.
M->>MODEL is the Application object.
V->>View is the screen presentation.
C->>Controller is the way the user interface reacts to user input.

14.  Explain White-box reuse
Reuse by subclassing (class inheritance)
Internals of parent classes are often visible to subclasses
works statically, compile-time approach
Inheritance breaks encapsulation
15.  Explain Black-box reuse
Reuse by object composition
Requires objects to have well-defined interfaces
No internal details of objects are visible
16.  What is delegation ?
Two objects are involved in handling a request: a receiving object delegates operations to its delegate

17.  What is Framework?
A framework is a set of cooperating classes that make up a reusable design for a specific class of software
18.  Document Structure:
The choice of  internal representation  for the document affects nearly every aspect of Lexis's design. All editing , formatting, displaying, and textual analysis will require traversing the representation.
19.   Formatting:
How does Lexi actually arrange text and graphics into lines and columns?
What objects are responsible for carrying out different formatting policies?
20.  How do these policies interact with the document’s internal representation?
Embellishing the user interface:
Lexis user interface include scroll bar, borders and drop shadows that embellish the  WYSIWYG document interface. Such embellishments are likely to change as Lexis user interface evolves.

Design pattern interview Question with Answers



1.      What is a software design pattern?
A) A design pattern is a solution to a general software problem within a particular context.
Context: A recurring set of situations where the pattern applies.
Problem: A system of forces (goals and constraints) that occur repeatedly in this context.
Solution: A description of communicating objects and classes (collaboration) that can be applied to resolve those forces.
2.       Why is the study of patterns important?
A) As initial software designs are implemented and deployed, programmers often discover improvements which make the designs more adaptable to change. Design patterns capture solutions that have evolved over time as developers strive for greater flexibility in their software, and they document the solutions in a way which facilitates their reuse in other, possibly unrelated systems.
3.      What is an analysis pattern?
A) An analysis pattern is a software pattern not related to a language or implementation problem, but to a business domain, such as accounting or health care. For example, in health care, the patient visit activity would be subject to a number of patterns.
4.       What are the differences between analysis patterns and design patterns?
A) Analysis pattern are for domain architecture, and design pattern are for implementation mechanism for some aspect of the domain architecture. In brief, analysis pattern are more high level and more (end-user) functional oriented.
Define Design pattern catalogs
5.      Abstract Factory: Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
6.      Adaptor: Convert the interface of a class into another interface clients expect.
7.      Bridge: Decouple an abstraction from its implementation so that two can vary independently.
8.      Builder: Separates the construction of the complex object from its representation so that the same constriction process can create different representations.
9.      Chain of Responsibility: Avoid coupling the sender of a request to it’s receiver by giving more than one object a chance to handle the request. Chain the  receiving  objects and pass the request along the chain until an objects handles it.
10.  Command: Encapsulate a request as an object ,thereby letting parameterize clients with different request, queue or log requests, and support undoable operations.
11.  Composite:Compose objects into three objects to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly
12.  Decorator:Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing  for extending functionality.
13.  Façade: Provide a unified interface to a set of interfaces  in a subsystem's Facade defines a higher-level interface that makes the subsystem easier to use.
14.  Factory Method: Defines an interface for creating an object ,but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
15.  Flyweight: Use sharing to support large numbers of fine-grained objects efficiently.
16.  Interpreter:Given a language, defining a representation of its grammar along with an interpreter that uses the representation to interpret sentences in the language.
17.  Iterator:Provide a way to access the element of an aggregate object sequentially without exposing its underlying representation.
18.  Mediator:Define an object that encapsulate how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and let’s you very their interaction independently
19.  Memento: Without violating encapsulation, capture and externalize an object’s internal state so that object can be restored to this state later.
20.  Observer:Define a one-to-many dependency between objects so that when one object changes state, all it’s dependents are notified and updated automatically.

Recruitment of Junior Assistant in Airport Authority of India - Multiple Posts On Last Date : 30 May 2013

Recruitment of Junior Assistant in Airport Authority of India - Multiple Posts On Last Date : 30 May 2013


Skill Sets:i) 10th Pass + 3 years’ approved regular Diploma in Mechanical/ Automobile/Fire with minimum 50% marks (OR) ii) 12th Pass (Regular Study) with 50% marks Age : Up to 30 years. (as on 30/05/2013). You want training for this skills from professionals?
 
Education:Diploma in Mechanical/ Automobile/Fire
 
Experience:Freshers/Experience
 
Job Location:Chennai, Hyderabad, Pondy, Bangalore, Kerala, Lakshadweep
 
 
 
Address:THE REGIONAL EXECUTIVE DIRECTOR, Airports Authority of India, Southern Region, Chennai – 600 027
 
Other DetailsClick here for more information. More Government Jobs 2013 
 
Job Last Date:Thursday, May 30, 2013

Bank jobs at Syndicate bank offers Security Officers

Syndicate Bank
(A Government of India Undertaking)
Head Office : Manipal-576104, Karnataka

Recruitment of Security Officers in MMG Scale -II [Manager (Security)]

Syndicate Bank,  a leading Public Sector Bank, invites applications from Indian Citizens for appointment of Security Officers in MMGS - II :  :
  • Security Officer : 16 posts (UR-9, OBC-4, SC-2, ST-1), Pay Scale MMG-II : Rs. 19400 - 28100, Age :  25-40 years, 
Application Fee :  Rs.500/- (Rs.50/- for SC/ST/PWD) may be paid at any of the Branches of Syndicate Bank, by means of a Payment Challan.

How to Apply: Apply Online at Syndicate Bank website from 10/04/2013 to 10/05/2013 only.

Please visit http://www.syndicatebank.in/scripts/Recruitment.aspx for details and Online submission of application.

SIS Soft recruiting freshers for Trainee Engineer Tester

SIS Soft recruiting freshers for Trainee Engineer Tester
Location: Hyderabad
Eligibility:
B.E , B.Tech , M.E , M tech , MCA , Msc 
2011/2012 passed out Graduates 
Should have excellent academic record through out.
Good exposure to database concepts, Oracle, SQL
Good communication & should be flexible in pressure handling & a team associate.
How to apply:
Send your CV to careers@sisfirst.com
Google Groups Subscribe to Govt + IT jobs frehsers
Email: