SlideShare a Scribd company logo
GANDHI INSTITUTE FOR EDUCATION TECHNOLOGY, BANIATANGI
MODEL QUESTIONS FOR ODD SEM 2013
1. What is object slicing?
Short Answer Questions
2. What is a copy constructor?
3. What are templates? Define the types of templates in c++?
4. What is exception handling in c++? What are the keywords used in it?
5. What is this pointer? Explain its use in c++?
6. What are errors different from exceptions in c++?
7. What are namespaces? Define an unnamed namespace?
8. Define single inheritance in oops?
9. Give valid reason why constructor cannot be virtual?
10. Define the syntax of an operator function in unary operator overloading?
11. Define binary operator overloading in c++?
12. Define asynchronous exceptions in c++?
13. What are default constructors in c++?
14. What are the rules for defining virtual functions?
15.Define multiple inheritance with help of its diagram?
16.Define a parameterised constructor and its use in c++?
17.What is polymorphism? What are types of polymorphism in oops?
18.what is abstraction?
19.Define delegation in c++?
20.Define iterator?
21.what are the components of container?
22.what is difference between associative and sequence container?
23.What is containership in c++?
24.what is difference between class template and template class?
25.What is difference between overloading and overriding?
26.What is difference between virtual class and virtual function?
27.What is the use of scope resolution operator in c++?
28.What is inline function?
29.Write down characterstics of friend function?
30.What is difference between call by value and call by reference?
Long Answer Questions
1.Define inheritance? Explain all types of inheritance in c++?
2.WAP for displaying a Fibonacci series using operator overloading?
3.WAP to concatenate two strings using binary operator overloading>
4. WAP to compare two strings using operator overloading
5. WAP to find the negation of two numbers using unary operator overloading?
6.WAP for subs traction of two complex number s using operator overloading?
7. Explain briefly templates and their types in c++?
8. WAP to swap two integer, twofloat and two double no’s using function
overloading?
9. WAP to swap two numbers using function templates?
10.WAP to display the biggest among two n.os using operator overloading?
11.What is overriding?How it is implemented in inheritance?
12.What is exceptions?How can you handle divide by zero exception?
13.What is encapsulation?How it is implemented to encapsulate the data
member and member functions with suitable example?
14.What is a friend class and how it is implemented to calculate sum of two
n.os?
15.What is constructor overloading and how it is implemented to assign the
values with data members?

More Related Content

Viewers also liked

Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management systemSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in c
SANTOSH RATH
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questionsSANTOSH RATH
 
Expected Questions TC
Expected Questions TCExpected Questions TC
Expected Questions TCSANTOSH RATH
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit IIManoj Patil
 
Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002SANTOSH RATH
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management systemSANTOSH RATH
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
Adarsh Patel
 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
 
System Programming Unit IV
System Programming Unit IVSystem Programming Unit IV
System Programming Unit IVManoj Patil
 
System programming
System programmingSystem programming
System programming
jayashri kolekar
 
System Programming Unit III
System Programming Unit IIISystem Programming Unit III
System Programming Unit IIIManoj Patil
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
Mukesh Tekwani
 

Viewers also liked (20)

Progr1
Progr1Progr1
Progr1
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management system
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
Smqa unit iv
Smqa unit iv Smqa unit iv
Smqa unit iv
 
Smqa unit v
Smqa unit v Smqa unit v
Smqa unit v
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in c
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questions
 
Expected Questions TC
Expected Questions TCExpected Questions TC
Expected Questions TC
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
 
Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management system
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
 
System programming note
System programming noteSystem programming note
System programming note
 
Smqa unit ii
Smqa unit   iiSmqa unit   ii
Smqa unit ii
 
System Programming Unit IV
System Programming Unit IVSystem Programming Unit IV
System Programming Unit IV
 
System programming
System programmingSystem programming
System programming
 
System Programming Unit III
System Programming Unit IIISystem Programming Unit III
System Programming Unit III
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 

Similar to Oops model question

Best interview questions
Best interview questionsBest interview questions
Best interview questions
Thesis Scientist Private Limited
 
Oop question-bank
Oop question-bankOop question-bank
Oop question-bank
NITIN BHOPALE
 
C language 100 questions answers
C language 100 questions answersC language 100 questions answers
C language 100 questions answers
sakshitiwari631430
 
Advanced c++ for experienced
Advanced c++ for experiencedAdvanced c++ for experienced
Advanced c++ for experienced
RevathiVestino
 
C interview questions for fresher
C interview questions for fresherC interview questions for fresher
C interview questions for fresher
MYTHILIKRISHNAN4
 
C faqs interview questions placement paper 2013
C faqs interview questions placement paper 2013C faqs interview questions placement paper 2013
C faqs interview questions placement paper 2013
srikanthreddy004
 
Smu bca sem 2 summer 2015 assignments
Smu bca sem 2 summer 2015 assignmentsSmu bca sem 2 summer 2015 assignments
Smu bca sem 2 summer 2015 assignments
solved_assignments
 
Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)
satish reddy
 
Smu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignmentsSmu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignments
solved_assignments
 
Class9 js word_quar2018
Class9 js word_quar2018Class9 js word_quar2018
Class9 js word_quar2018
Andrew Raj
 
c-for-c-programmers.pdf
c-for-c-programmers.pdfc-for-c-programmers.pdf
c-for-c-programmers.pdf
Salar32
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresher
MYTHILIKRISHNAN4
 
Java interview question
Java interview questionJava interview question
Java interview question
varatharajanrajeswar
 
C# interview
C# interviewC# interview
C# interview
ajeesharakkal
 
Java question bank
 Java question bank Java question bank
Java question bankhitzsmakz
 
Dot Net Accenture
Dot Net AccentureDot Net Accenture
Dot Net AccentureSri K
 
C question-bank-ebook
C question-bank-ebookC question-bank-ebook
C question-bank-ebooketrams1
 
Top C Language Interview Questions and Answer
Top C Language Interview Questions and AnswerTop C Language Interview Questions and Answer
Top C Language Interview Questions and Answer
Vineet Kumar Saini
 

Similar to Oops model question (20)

Best interview questions
Best interview questionsBest interview questions
Best interview questions
 
Oop question-bank
Oop question-bankOop question-bank
Oop question-bank
 
Mid ii important quess
Mid ii important quessMid ii important quess
Mid ii important quess
 
C language 100 questions answers
C language 100 questions answersC language 100 questions answers
C language 100 questions answers
 
Advanced c++ for experienced
Advanced c++ for experiencedAdvanced c++ for experienced
Advanced c++ for experienced
 
C interview questions for fresher
C interview questions for fresherC interview questions for fresher
C interview questions for fresher
 
C faqs interview questions placement paper 2013
C faqs interview questions placement paper 2013C faqs interview questions placement paper 2013
C faqs interview questions placement paper 2013
 
Smu bca sem 2 summer 2015 assignments
Smu bca sem 2 summer 2015 assignmentsSmu bca sem 2 summer 2015 assignments
Smu bca sem 2 summer 2015 assignments
 
Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)Android interview questions for 2 to 5 years (1)
Android interview questions for 2 to 5 years (1)
 
Smu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignmentsSmu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignments
 
Class9 js word_quar2018
Class9 js word_quar2018Class9 js word_quar2018
Class9 js word_quar2018
 
c-for-c-programmers.pdf
c-for-c-programmers.pdfc-for-c-programmers.pdf
c-for-c-programmers.pdf
 
C
CC
C
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresher
 
Java interview question
Java interview questionJava interview question
Java interview question
 
C# interview
C# interviewC# interview
C# interview
 
Java question bank
 Java question bank Java question bank
Java question bank
 
Dot Net Accenture
Dot Net AccentureDot Net Accenture
Dot Net Accenture
 
C question-bank-ebook
C question-bank-ebookC question-bank-ebook
C question-bank-ebook
 
Top C Language Interview Questions and Answer
Top C Language Interview Questions and AnswerTop C Language Interview Questions and Answer
Top C Language Interview Questions and Answer
 

More from SANTOSH RATH

Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Btech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptBtech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptSANTOSH RATH
 
Btech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptBtech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptSANTOSH RATH
 
Btech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptBtech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptSANTOSH RATH
 
Ds lab manual by s.k.rath
Ds lab manual by s.k.rathDs lab manual by s.k.rath
Ds lab manual by s.k.rathSANTOSH RATH
 

More from SANTOSH RATH (14)

Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Os notes
Os notesOs notes
Os notes
 
OS ASSIGNMENT 2
OS ASSIGNMENT 2OS ASSIGNMENT 2
OS ASSIGNMENT 2
 
OS ASSIGNMENT-1
OS ASSIGNMENT-1OS ASSIGNMENT-1
OS ASSIGNMENT-1
 
OS ASSIGNMENT 3
OS ASSIGNMENT 3OS ASSIGNMENT 3
OS ASSIGNMENT 3
 
Btech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptBtech 2nd ds_2008.ppt
Btech 2nd ds_2008.ppt
 
Btech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptBtech 2nd ds_2007.ppt
Btech 2nd ds_2007.ppt
 
Btech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptBtech 2nd ds_2005.ppt
Btech 2nd ds_2005.ppt
 
Ds using c 2011
Ds using c 2011Ds using c 2011
Ds using c 2011
 
Co question 2009
Co question 2009Co question 2009
Co question 2009
 
Co question 2008
Co question 2008Co question 2008
Co question 2008
 
Co question 2006
Co question 2006Co question 2006
Co question 2006
 
Co question 2010
Co question 2010Co question 2010
Co question 2010
 
Ds lab manual by s.k.rath
Ds lab manual by s.k.rathDs lab manual by s.k.rath
Ds lab manual by s.k.rath
 

Recently uploaded

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 

Recently uploaded (20)

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 

Oops model question

  • 1. GANDHI INSTITUTE FOR EDUCATION TECHNOLOGY, BANIATANGI MODEL QUESTIONS FOR ODD SEM 2013 1. What is object slicing? Short Answer Questions 2. What is a copy constructor? 3. What are templates? Define the types of templates in c++? 4. What is exception handling in c++? What are the keywords used in it? 5. What is this pointer? Explain its use in c++? 6. What are errors different from exceptions in c++? 7. What are namespaces? Define an unnamed namespace? 8. Define single inheritance in oops? 9. Give valid reason why constructor cannot be virtual? 10. Define the syntax of an operator function in unary operator overloading? 11. Define binary operator overloading in c++? 12. Define asynchronous exceptions in c++? 13. What are default constructors in c++? 14. What are the rules for defining virtual functions? 15.Define multiple inheritance with help of its diagram? 16.Define a parameterised constructor and its use in c++? 17.What is polymorphism? What are types of polymorphism in oops? 18.what is abstraction? 19.Define delegation in c++? 20.Define iterator?
  • 2. 21.what are the components of container? 22.what is difference between associative and sequence container? 23.What is containership in c++? 24.what is difference between class template and template class? 25.What is difference between overloading and overriding? 26.What is difference between virtual class and virtual function? 27.What is the use of scope resolution operator in c++? 28.What is inline function? 29.Write down characterstics of friend function? 30.What is difference between call by value and call by reference? Long Answer Questions 1.Define inheritance? Explain all types of inheritance in c++? 2.WAP for displaying a Fibonacci series using operator overloading? 3.WAP to concatenate two strings using binary operator overloading> 4. WAP to compare two strings using operator overloading 5. WAP to find the negation of two numbers using unary operator overloading? 6.WAP for subs traction of two complex number s using operator overloading? 7. Explain briefly templates and their types in c++? 8. WAP to swap two integer, twofloat and two double no’s using function overloading? 9. WAP to swap two numbers using function templates? 10.WAP to display the biggest among two n.os using operator overloading? 11.What is overriding?How it is implemented in inheritance? 12.What is exceptions?How can you handle divide by zero exception?
  • 3. 13.What is encapsulation?How it is implemented to encapsulate the data member and member functions with suitable example? 14.What is a friend class and how it is implemented to calculate sum of two n.os? 15.What is constructor overloading and how it is implemented to assign the values with data members?