What is OOP? List advantages of OOP.
[3 marks]Explain reference variable with suitable example.
[4 marks]Define constructor. List and explain different types of constructors. Write a program for copy constructor.
[7 marks]Explain new and delete operators of C++.
[3 marks]Differentiate call by value and call by reference with suitable example.
[4 marks]What is a friend function? Explain it with suitable example.
[7 marks]What is operator overloading? Overload any one binary operator.
[7 marks]What is a Destructor? Explain with suitable example.
[3 marks]What is an inline function? List its advantages. Also give a suitable example.
[4 marks]Create a matrix class to store a 3x3 integer matrix. Implement member function to print values, add two matrices and multiply two matrices. Also write main() for this.
[7 marks]Explain static data member and static function.
[3 marks]Explain default arguments with suitable example.
[4 marks]Create two classes DM and DB which store the value of distances. DM stores values in Metres and Centimeters while DB stores values in Feet and Inches. Write a program that can read object values, print object values and add one object of DM with another object of DB. (1 inch=2.54 centimeters)
[7 marks]Explain “this” pointer with suitable example.
[3 marks]Differentiate function overloading and function overriding.
[4 marks]Define Inheritance. Explain diagrammatically different inheritance type. Write a program to implement “multiple” inheritance example.
[7 marks]Explain virtual function with suitable example.
[3 marks]Explain use of scope resolution operator (::) with suitable example.
[4 marks]Write a program to read a file. Toggle character case (lower to upper & vice versa) and store result in other file.
[7 marks]Explain public and private access specifiers.
[3 marks]Explain virtual base class with suitable example.1
[4 marks]Explain exception handing mechanism in C++. Write a program to implement exception handling.
[7 marks]Explain different file modes in C++.
[3 marks]Explain Standard Template Library (STL) with its core components.
[4 marks]Write a class template to represent a generic vector. Include member functions to perform following tasks, to create the vector, to modify the value of a given element, to multiply by a scalar value and to display vector.
[7 marks]