Define OOP. Enlist the advantages of OOP paradigm.
[3 marks]Enlist and explain the basic characteristics of OOP.
[4 marks]Define constructor. Write a program to explain use of copy constructor.
[7 marks]Define inline function. Enlist the rules to define it.
[3 marks]Explain the terms with example. 1) Destructor 2) this pointer
[4 marks]Write a program to create a class height containing feet and inches. Using operator keyword, convert an object of class height into total_centimeter which is float data type. (1 feet = 30.48 centimeters and 1 inch=2.54 centimeters)
[7 marks]Define friend function. Enlist its characteristics.
[3 marks]Define stream. Explain any four stream classes for console I/Ooperations in C++.
[4 marks]Define inheritance. Explain diagrammatically various forms of inheritance. Explain multi-level with suitable example.
[7 marks]Define virtual function. Enlist its characteristics.
[3 marks]Explain the following flags: 1) ios::app 2) ios::ate 3) ios::binary 4) ios::trunc
[4 marks]Write a program that reads a text file and creates another file that is identical except that every lower case character is converted to upper case and vice versa.
[7 marks]Differentiate early binding and late binding.
[3 marks]Define reference variable. Explain with suitable example.
[4 marks]Define an exception. Explain with suitable example to handle the exception in C++.
[7 marks]Differentiate call by value and call by reference.
[3 marks]Define STL? Differentiate it with C++ standard library.
[4 marks]Explain the mechanism of keywords try, throw and catch to handle Exceptions in C++. Explain with an example like “division by zero” exception.
[7 marks]Define the following terms: 1) Abstract Class 2) Virtual base Class
[3 marks]Explain the basic difference between manipulators and ios member functions in implementation with suitable example.
[4 marks]Create a generic class stack using template and implement common Push and Pop operations for different data types.1
[7 marks]Define the following terms: 1) Template 2) Access Specifier
[3 marks]Discuss nameless temporary object.
[4 marks]Write a class template to represent a generic vector. Include member functions to create the vector and to double the value of all elements of the vector.
[7 marks]