ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Software-Design
 
  Design-Patterns (57)  UML (42)  OOAD (49)  Software-Design-Tools (8)  Requirements-Management (35)
  Project-Planning (59)  Project-Management (8)  Software-Design-AllOther (24)
 


 

Back to Questions Page
 
Question
What is singleton design pattern
Rank Answer Posted By  
 Question Submitted By :: Kiran
This Interview Question Asked @   Fulcrum-Logic
I also faced this Question!!   © ALL Interview .com
Answer
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(Singleton&){}
	Singleton& operator =(Singleton&);
	int nValue;
	static Singleton* pSingleton;
	Singleton():nValue(10)
	{
	}
public:
	static Singleton*Instance()
	{

		if(NULL == pSingleton)
		{
			pSingleton = new Singleton();
		}
		return pSingleton;
	}
	void setValue(int val)
	{
		nValue = val;
	}
	int getValue()
	{
		return nValue;
	}
};
Singleton* Singleton::pSingleton = NULL;

int main(int argc, char* argv[])
{
	Singleton *abc = NULL;
	cout<<Singleton::Instance()->getValue()<<endl;
	Singleton::Instance()->setValue(20);

	Singleton *xyz = NULL;
	cout<<xyz->Instance()->getValue()<<endl;
	Singleton *sss = Singleton::Instance();
	return 0;
}
 
0
Lokesh
 
 
Question
what is difference between Extend and Include with example?
Rank Answer Posted By  
 Question Submitted By :: Mangesh
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
Include, one cannot live without the other. The use case 
must include another use case. For example when you create 
an order you always must verify name etc. 

Extend, one can live without the other only some instances 
the use case will extend to another use case to do some 
stuff. For example, you can create an order but if the 
order is for a new customer you possible have to do 
additional check which you do not have to do for existing 
customers. In that case you can have an extend use case.
 
0
Jawad Ahmed
 
 
Question
what is difference between Seqence and Collaboration 
diagrams with example?
Rank Answer Posted By  
 Question Submitted By :: Mangesh
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
Both Sequence and Collaboration diagrams are interaction
diagrams. The difference is that Sequence diagrams describes
the interaction between classes against time. In
Collaboration diagram the interaction between classes is
shown against both time and space (the relationship between
classes can also be shown). The sequence in this case is
depicted by numbering. You may want to check out some sample
sequence and collaboration diagram to understand this more.
 
0
Anishx
 
 
 
Question
vb.net with Sql sever2005
Rank Answer Posted By  
 Question Submitted By :: Ismail
I also faced this Question!!   © ALL Interview .com
Answer
Dear I m developing MIS project in vb.net with sql2005 any 
one can help me I am new user of vb,net my email 
ismardoi2001@hotmail.com
 
0
Ismail
 
 
Question
Can any one suggest me the best institute for Software 
Design , Design Patterns and architecture in Hyderabad 
please. Thanks in Advance.
Rank Answer Posted By  
 Question Submitted By :: Vaibhav Dhond
This Interview Question Asked @   IBM
I also faced this Question!!   © ALL Interview .com
Answer
MUM is best
 
0
Davide
 
 
Question
How a project is made and deliverd to client? please put all
detailed steps internally?
Rank Answer Posted By  
 Question Submitted By :: Guruannamalai
This Interview Question Asked @   CIT
I also faced this Question!!   © ALL Interview .com
Answer
A Project as awhole from inception to Delivery is an Eight 
Step Process. Broadly they are
Proposing , Planning, analysing, Designing, Building, 
Testing, Implementing, Maintainenece

In Brief Proposing is a Four step Process, Defining initial 
Planning document with subheads of Introduction, Business 
Proble,Current Tech Environment and Technical Architecture.

Then comes Palnning with almost 6 subheads: Define the 
scope , Business Oppurtunity, Indetify stake Holeder 
requirements , Scope constraints, Sponsor , Indetify 
Project Team and Develop a Plan.

Analysing is what is broadly into Business flow, 
constraints 

Designing is four step Intial design with expert review 
followed by Detailed Design and review.

Building includes H/W environment, Security, Tech Arch 
etc.......

Testing - Unit testing followed by Integrating test and 
system tests.

Implelemting and Maintanace

 
0
Jim
 
 
Question
Why is planning too much up front a mistake in an OOSAD 
project?
Rank Answer Posted By  
 Question Submitted By :: Mz
This Interview Question Asked @   Infosys
I also faced this Question!!   © ALL Interview .com
Answer
bcos in manier cases things will change in later phases.
 
0
Sri
 
 
Question
Why should project managers complete hard problems first in 
an OOSAD project?

Rank Answer Posted By  
 Question Submitted By :: Mz
I also faced this Question!!   © ALL Interview .com
Answer
To mitigate the risks asap and it will also help them in
sizing and other things.
 
0
Sri
 
 
Question
How might prototyping be used as part of the SDLC?
Rank Answer Posted By  
 Question Submitted By :: Mz
I also faced this Question!!   © ALL Interview .com
Answer
what's proof of concept?
 
0
Mz
 
 
Answer
for preparing POCs, proof of concept.
 
0
Sri
 
 
Question
Why is it important to use systems analysis and design 
methodologies when building a system? Why not just build 
the system in whatever way appears to be “quick and easy”? 
What value is provided by using an “engineering” approach?
Rank Answer Posted By  
 Question Submitted By :: Mz
I also faced this Question!!   © ALL Interview .com
Answer
While analyzing and designing a system, we take into
consideration the flexibility, scalability, performance,
maintainability and testability.  When these capabilities
are not taken into consideration, we see a high probability
for system failure.  Conversely, if too much of analysis and
design goes into building a system, we see similar symptoms
of failure.  Considerable skill and practice goes into
building successful systems.  It is worth to note that only
20% or less of the software projects ever succeed.
 
0
Indudhar Devanath
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com