Dr Babasaheb Ambedkar Marathwada University 2007-1st Sem M.Sc Information Technology I.T>> >> >> IV >>Object Oriented Programming in C++ - Question Paper
Sunday, 20 January 2013 08:55Web
Time – 3 Hours Max Marks – 50
N.B.:- All ques. are compulsory.
Q 1. explain the features of object oriented programming with suitable example. [marks 10]
OR
What is constructor and destructor? discuss various kinds of constructor in detail.
Q 2. What is function? explain the 3 kinds of parameter passing schemes supported by C++.
[marks 10]
OR
What is reference variable? Write a program in C++to interchange the 2 numbers using reference variable.
Q 3. discuss the concept of overloading. Write a program to overload unary operator (-). [marks 10]
Or discuss the subsequent functions:
(1) tellg()
(2) get()
(3) put()
(4) write()
(5) read()
Q 4. What is inheritance? discuss the kinds of inheritance in detail. [marks 10]
OR
Write a C++ program to copy the concepts of a resident file onto a new text file. Both file names are needed to be supplied through the keyboard.
Q 5. Write short notes on (any two): [marks 10]
(1) Inline function.
(2) Friend Function.
(3) Date encapsulation.
(4) Virtual function.
Earning: Approval pending. |