What is singleton design pattern
Answer / lokesh
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
#define NULL 0
Singleton& operator =(Singleton&);
static Singleton* pSingleton;
if(NULL == pSingleton)
pSingleton = new Singleton();
void setValue(int val)
nValue = val;
Singleton* Singleton::pSingleton = NULL;
int main(int argc, char* argv)
Singleton *abc = NULL;
Singleton *xyz = NULL;
Singleton *sss = Singleton::Instance();
|Is This Answer Correct ?||16 Yes||5 No|
3. Discuss the concept of system transition strategy
How to test the quality of design ?
If there is a Model class,View class,Controller class then How these are internally related? Which layer objects instantiated in which layer? How they communicates?
What is ESD?
How do you ensure quality of code ?
what is cascading order?
what is a Design Pattern?
What are the advantages of thin clients?
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would inﬂuence their approach next time? d. How was the V & V strategy implemented?
Explain Internal Style Sheets?
What is the S/W model used in the project. What are the optimization techniques used. Give examples ?
What is 'good design'?