0% found this document useful (0 votes)
217 views

22-Mca-Nr-Object Oriented Programming

This document outlines the questions for an Object Oriented Programming exam given in July/August 2008. It includes 8 questions with subparts on topics like polymorphism, inheritance, abstract base classes, binding, templates, exceptions, memory management, and friends. Students had 3 hours to answer any 5 of the 8 questions.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views

22-Mca-Nr-Object Oriented Programming

This document outlines the questions for an Object Oriented Programming exam given in July/August 2008. It includes 8 questions with subparts on topics like polymorphism, inheritance, abstract base classes, binding, templates, exceptions, memory management, and friends. Students had 3 hours to answer any 5 of the 8 questions.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No: NR-22/MCA NR

MCA-II Semester Supplementary Examinations,


July/Aug 2008.

OBJECT ORIENTED PROGRAMMING

Time: 3hours Max. Marks: 60

Answer any FIVE questions


All questions carry equal marks
---

1.a) What is over loading? Describe runtime polymorphism?


b) Describe various types of inheritances?

2.a) What are Abstract base classes? Explain it with an example?


b) Describe static and dynamic binding?

3.a) Describe a pure virtual function with your own example?


b) Describe a virtual destructor with your own example?

4.a) What are unformatted input functions? Explain them.


b) Describe stream manipulators with your own examples?

5. Describe class templates and function templates with your own


example.

6.a) What are various principles and benefits of exception handling?


b) Describe an inline function with an example and state how it is
different from MACRO of C?

7.a) Describe memory management operators with your own examples?


b) Describe friend function and its use with your own example?

8. Write short notes on any three of the following:


a) Difference between OOP and procedure o
b) Data types of C++
c) Scope of variable
d) Any loop.

$$$

You might also like