1. Define a STUDENT class with USN, Name, and Marks in 3 tests of a subject. Declare anarray of 10 STUDENT objects. Using appropriate functions, find the average of the twobetter marks for each student. Print the USN, Name and the average marks of all the students.2. Write a C++ program to create a class called COMPLEX and implement the followingoverloading functions ADD that return a complex number:(i) ADD (a, s2) – where ‘a’ is an integer (real part) and s2 is a complex number(ii) ADD (s1, s2) – where s1 and s2 are complex numbers3. Write a C++ program for scalar multiplication of two vectors using operator overloading.4. Write a C++ program to create a template function for Bubble Sort and demonstrate sortingof integers and doubles.5. Write a C++ program to create a class called LIST (linked list) with member functions toinsert an element at the front and delete an element from the front of the list. Demonstrate all thefunctions after creating a LIST object.6. Write a C++ program to create a class called STACK using an array of integers.Implement the following operations by overloading the operators ‘+’ and ‘--‘:(i) s1 = s1 + element; where s1 is an object of the class STACK and element is an integer to bepushed on the top of the stack(ii) s1 = --s1 ; where s1 is an object of the class STACK. ‘--‘operator pops the element.Handle the STACK empty and full conditions. Also display the contents of the stackafter each operation, by overloading the << operator.7. Create a class called MATRIX using two-dimensional array of integers. Implement thefollowing operations by overloading the operator ++ which checks the compatibility of twomatrices to be added and subtracted. Perform the addition and subtraction by overloading the+ and – operators respectively. Display the results by overloading the operator <<. If(m1==m2) then m3 = m1+m2 and m4 = m1-m2 else display error.8. Write a C++ program to create a class called OCTAL which has the characteristics of anoctal number. Implement the following operations by writing an appropriate constructorand an overloaded operator +.(i) OCTAL h = x; where x is an integer.(ii) int y = h + k; where h is an OCTAL object and k is an integerDisplay the OCTAL result by overloading the operator <<. Also display the values of h and y.9. Write a C++ program to create a class template called QUEUE with member functions toadd an element and to delete an element from the queue. Using the member functions,implement a queue of integers and double. Demonstrate the operations by displaying thecontents of the queue after every operation.10. Define a class SET with Data members: array of int, int variable to indicate number ofelements in a SET object; and Member functions: to read element of a SET object, toprint elements of a SET object, to find union of 2 objects of SET using operatoroverloading (S3=S1+S2), to find intersection of 2 objects of SET using operator overloading(S4= S1*S2). S1, S2, S3 and S4 are objects of SET. Use this class in a main function toshow the above operations.11. Write a C++ program to create a class called STUDENT with data members USN, Nameand Age. Using inheritance, create the classes UGSTUDENT and PGSTUDENT havingfields as Semester, Fees and Stipend. Enter the data for at least 5 students. Find the semesterwiseaverage age for all UG and PG students separately.12. Write a C++ program to create a class called STRING and implement thefollowing operations. Display the results after every operation by overloading the operator <<.(i) STRING s1 = “VTU”(ii) STRING s2 = “BELGAUM”(iii) STRING s3 = s1 + s2 (Use copy constructor)13. Define a base class STACK1 which performs only push, pop, display operations.Override the above operations through a derived class STACK2 which takes care of STACKFULL & STACK EMPTY situations. Show how the objects of these classes use the abovefunctions in a main function.14. Create an abstract base class EMPLOYEE with data members: Name, EmpID andBasicSal and a pure virtual function Cal_Sal().Create two derived classes MANAGER(with data members: DA and HRA) and SALESMAN (with data members: DA, HRA andTA). Write appropriate constructors and member functions to initialize the data, read andwrite the data and to calculate the net salary. The main() function should createarray of base class pointers/references to invoke overridden functions andhence to implement run-time polymorphism.Note: In the examination each student has to pick one question from a lot of all the 14questions.