[go: up one dir, main page]

0% found this document useful (0 votes)
25 views1 page

Q

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Q

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Part-A

Unit - III
1. Define a class.
2. Define Member Function.
3. Define friend function of a class.
4. Define an Object. Give Syntax for Object creation.
5. List out the components of the class?
6. What is data member in C++? Give example.
7. Give syntax for creating an object.
8. List out the concepts of OOP. and benefits of OOP?
9. Difference between a class and a structure?
10. Differentiate Object and Class.
11. How to access private data members and public data members of a class?
12. Give the syntax for creating array of objects.
13. How the array of object can be created in C++ and list the need of array of object in C++?
14. Give an example to illustrate a Returning Object.
15. How the object can be return to main function? Give example.
16. How to declare a friend function of a class?
17. Give the syntax for defining the friend function of a class.
18. What is the importance of Friend Function?
19. How a friend function can be declared in C++? Give example.
Unit - IV
1. Define Operator overloading,
2. What are the rules for operator overloading?
3. How the operator overloading can be used in C++?
4. Define Inheritance with example. Illustrate Single Inheritance, Multiple Inheritance,
Multilevel Inheritance, Hierarchical Inheritance.
5. Define nested class.
6. How the nested class can be accessed from main function? Give example.
7. What are the difference between virtual function and pure virtual function?
8. Define polymorphism? List the types of polymorphism in C++.

Part – B
Unit – III

1. The concepts of Object Oriented Programming in detail.


2. Private member functions.
3. Nesting of member functions.
4. Objects as function arguments and Object as return value
5. friend function
6. Define and write program for the following - Class, Object, Member function, Data member
and Access specifier.
7. Constructors
Unit – IV
1. Polymorphism
2. Inheritance
3. Pointer to objects
4. Nesting of classes with example
5. this pointer
6. Constructors in derived classes
7. Abstract class
8. Pure virtual function in detail.
9. Array of objects

You might also like