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  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What is design pattern?
 Question Submitted By :: Reejusri
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is design pattern?
Answer
# 1
Design pattern is a general repeatable solution to a 
commonly occurring problem . A design pattern is not a 
finished design that can be transformed directly into code. 
It is a description or template for how to solve a problem 
that can be used in many different situations. 
Object-oriented design patterns typically show 
relationships and interactions between classes or objects, 
without specifying the final application classes or objects 
that are involved. 

Design patterns deal specifically with problems at the 
level of software design.
 
Is This Answer Correct ?    0 Yes 0 No
Reejusri
[********]
 
  Re: What is design pattern?
Answer
# 2
design pattern is the use of 
imagination,scientificprinciple to solve the design problem.
it is not a final design.it show only size & shape of any 
product
 
Is This Answer Correct ?    0 Yes 0 No
Harichand Tewatia
 
 
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
What is the difference between operator new and the new operator? Wipro1
Explain about profiling?  1
Can inline functions have a recursion? Give the reason?  1
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class. Quark3
How do you know that your class needs a virtual destructor? Lucent3
What is virtual constructor paradigm? HP3
What is a constructor initializer list and when we use constructor initializer list? TCS2
Given a simple program designed to take inputs of integers from 1-1000 and to output the factorial value of that number, how would you test this program? You do not have access to the code. Please be as specific as possible. Microsoft2
Write any small program that will compile in "C" but not in "C++"?  3
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1 Quark1
Why do C++ compilers need name mangling? Lucent1
What is the difference between "calloc" and "malloc"? ADP5
implement stack using stack.h headerfile functions Subex1
why we cant create array of refrences  2
What are the differences between public, private, and protected access? Wipro4
Shall we use 'free' to free memory assigned by new, What are the further consequences?? Symphony4
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B"; CTS3
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4 Quark1
Can we use resume in error handling i.e. in the catch block Infosys3
Describe functional overloading? HP3
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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