Anna University
Department of Electrical and Electronics Engineering
Monthly Test - Unit 1 and 2
Department of Electrical and Electronics Engineering
Monthly Test - Unit 1 and 2
Subject Code & Name : CS2311 Object Oriented Programming
Year : 3
Class: EEE
Duration: 3 Hours
Max Marks: 100
Part – A (10 x 2 = 20)
1.Define Class.
2.Define Encapsulation and Data Hiding.
3.List out some of the benefits of OOP.
4.List out the applications of OOP.
5.What are the input and output operators used in C++?
6.Explain Constructor.
7.What are the types of type conversions?
8.What is the need for function templates? How are they created?
9.Define multiple inheritance.
10.Define Polymorphism?
Part – B (5 x 16 =80)
11.(a) Explain in detail about the Basic Concepts of object oriented programming.
(Or)
(b) Explain function overloading with suitable program.
12.(a) Explain copy constructor and destructor with suitable C++ coding.
(Or)
(b) What is Operators? Explain with its example.
13. (a) Discuss on the visibility of base class members in privately and publicly inherited classes.
(Or)
(b) Explain in detail about multiple inheritance with an example.
14. (a)What are abstract classes? Give an example to illustrate the use of abstract Classes.
(Or)
(b) What is the need of Templates? Explain.
15. (a) Explain in detail about Virtual function with example.
(Or)
(b) List out the rules for overloading operators with example