Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Group-A
(Answer any five questions) [5 x 5=25]
1. What do you mean by object oriented programming language? Distinguish between object
oriented programming and procedural oriented programming? [2.5*2]
2. What is cascading in C++? Describe cascading with help of small program? [2.5*2]
3. Briefly describe class in C++ with the help of an example? Describe the utility of class in
C++? [2.5*2]
4. What do you mean static data members? Describe the properties of static data member by
using a suitable example? [2.5*2]
5. What do you mean by access specifier? Briefly describe its type? [2.5*2]
6. What do you mean by parameterized constructor? Describe the utility of a default
constructor with the help of a suitable example? [2.5*2]
7. What do you mean by destructor? Explain it with an example? [2.5*2]
Group-B
(Answer any five questions) [5x 15=75]
8. Describe copy constructor with the help of an example? Describe the utility of an inline
function with the help of an example? Describe with example how the memory allocation
takes place for C++ program? [5+5+5]
9. “Is friend function really violates the data security in c++” Explain it with appropriate
reason.Describe static member function with the help of an example? Explain how friend
function can access the private data member of the class.? [5+5+5]
10. Describe inheritance with the help of an example? Explain multiple inheritances in details?
Describe with an example how will you resolve the ambiguity problem in multiple
inheritance? [5+5+5]
11. Describe virtual base class problem in details? Describe how this problem can be resolved
by using an example? Explain this pointer with the help of a suitable example? [5+5+5]
12. Explain polymorphism with an example? Briefly describe its types? Explain function
overloading with an example? [5+5+5]
13. Explain the utility of operator overloading with the help of an example? Write a program
to perform the operation x=40+y, where x, y are the objects of a class? [5+10]
14. Explain function overriding with the help of an example? Explain how function overriding
problem can be resolved by using virtual function? Explain pure virtual function with the
help of an example? [5+5+5]
Page 1 of 1