1) What do you understand by recursion? prepare a recursive program in C++ to print Fibonacci series up to nth number.
2) prepare a program in C++ to determine sum of digits of a number.
3)(a) prepare a program in C++ to read a line and determine the number of vowels and consonants present in the given line.
(b) prepare a program in C++ to compare the two given strings using a pointer.
4)(a) What is meant by a union? prepare down the difference between a structure data type and a union.
(b) What do you mean by a nested class? How is a nested class declared and defined in C++?
5)(a) prepare down the merits and demerits of copy constructor.
(b) What do you mean by a container class? prepare down the pros and cons of declaring container classes.
6)(a) prepare a program in C++ using operator overloading to determine a factorial of a given number.
(b) Describe different techniques of defining a pure virtual function.
7) prepare brief notes on the following:
(a) Early binding and late binding.
(b) Multiple inheritance.