Q1.
(a) What is Object Oriented Programming? Explain concept of Object, Class and Inheritance with example of each.
(b) Explain different operators available in C++ programming language.
(c) Explain the use of followings in C++ programming with an example program for each.
(a) for
(b) ?:
(c) ::
(d) while
Q2.(a) What is access specifire ? Explain uses different types of access specifiers in C++ with the help of example programs.
(b) Explain the following in detail, in context of C++ programming.
i. Fried function
ii. Encapsulation and data hiding
iii. Abstract Class
Q3. (a) What is inheritance? Explain advantages of inheritance. What are different types of inheritance in C++. Explain order of constructor calling in multilevel inheritance with the help of example program.
(b) What is polymorphism? Explain different types of polymorphism in C++ with the help of example programs.
Q4. (a)Write a C++ program to overload ‘+’ operator to add two murices. Make necessary assumptions require.
(b) Explain use of different stream manipulators in C++?
(c) Write a C++ program to explain exceptions handling in C++.
Q5. (a) What is function template and class template? Write appropriate statements to create a template class for Queue data structure in C++.
(b) What is function overriding, explain with examples. Also explain advantages of function overriding.
(c) Write C++ program to create an Account class to manage saving bank account activities. Make necessary assumptions.
Reviews
There are no reviews yet.