This action might not be possible to undo. Are you sure you want to continue?
MCA-II Semester Supplementary Examinations, July/Aug 2008. OBJECT ORIENTED PROGRAMMING THROUGH C++ Time: 3hours Answer any FIVE questions All questions carry equal marks --1.a) b) 2.a) b) 3. 4. 5.a) b) 6.a) b) 7.a) b) 8. Explain the differences between OOP languages with procedural oriented programming languages? Define a class, object and methods, with a simple example? Discuss various scopes of variables in C++? What is dynamic allocation? Clearly define it? Explain this with new and delete operations? Explain different types of constructors with your own example? Clearly define what is a constructor and destructor? What is Polymorphism? Explain with clear examples over loading of increment and decrement operators? Define class hierarchy? What is meant by “ Base and derived class virtual functions”? Explain with your own example? Discuss about stream I/O in C++ and formatted I/O in C++? Discuss about various trends in software design? What is the need of Templates? Explain. Explain about function templates? Write short notes on the following a) Friend function b) Bitwise operators c) Design phases and tools. $$$ Max. Marks: 60