Anda di halaman 1dari 2

MODEL QUESTION PAPERS

ANNA UNIVERSITY EXAMINATIONS CS2203 OBJECT ORIENTED PROGRAMMING (Common to CSE & IT) MODEL QUESTION PAPER-I
Maximum Marks: 100 Duration: 3 Hours Answer All Questions. Part A (10 x 2 = 20 Marks)

1.Differentiate nested classes with local classes 2.What is the use of mutable keyword? 3.What is private copy constructor? IVI 4.What is MIL? 5.Compare polymorphism with templates 6.What is template argument deduction? 7.What is RTTI? 8.What is down casting' 9.What is a koenig lookup? 10.List out the various STL compenets.
PART B (5 x 16 = 80 marks)

0.(a) Explain in detail the various object


oriented programming concepts. (Or) (b) Write a program to find max between two numbers using friend function. 1.(a) Briefly explain Unary and Binary operators overloading using member function with suitable example program. (Or)

(b) Explain in detail the various type


conversions with example program 2.(a) Write a program to find max between

two numbers using function template. (Or)

(b) (i) Define a template class Stack and


implement all possible functionality of a stack. (ii) Write a program to illustrate template class using default arguments

Anda mungkin juga menyukai