Object Oriented Programming (Question Paper) [April – 2017 | 75:25 Pattern] |
@SlideShare | @Tumblr | @Instagram | @Pinterest
☛ DOWNLOAD:
@GitHub | @HostFree | @G-Drive | @Torrent
Total Marks: 75
N.B.:
(1) All Question are Compulsory.
(2) Make Suitable Assumptions Wherever Necessary And State The Assumptions Made.
(3) Answer To The Same Question Must Be Written Together.
(4) Number To The Right Indicates Marks.
(5) Draw Neat Labeled Diagrams Wherever Necessary.
(6) Use of Non-Programmable Calculator is allowed.
Q.1 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Write down advantages and disadvantages of Procedure Oriented Language.
(B) Explain Object Oriented Development.
(C) Write down benefits of using Object Oriented Programming.
(D) Write a short note on Data Abstraction and Data Encapsulation.
(E) Explain Dynamic Binding with example. Give proper example.
(F) What is Inheritance? Explain with example the concept of Multiple Inheritances.
Q.2 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) What is Friend Function? Write a friend function to display mark sheet of the F. Y. B. Sc. IT Student.
(B) What is class? Explain with example how objects are passed as argument to member function and objects are returned from member function.
(C) Write C++ Program to design a class – course for reading and displaying the course information, the getInfo() and displayInfo() methods will be used respectively. The getInfo() will be private method. Write C++ program to implement the class.
(D) What is Inline Function? Explain with example.
(E) What is use of constructor? Explain with example Parameterized Constructor.
(F) Write C++ program to demonstrate the use of constructor and destructor.
Q.3 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) What is function overloading? Explain with example.
(B) What is operator overloading? Write down the rules for Operator Overloading.
(C) How binary operators are overloaded? Write a C++ Program to overload binary operator +.
(D) What is Method Overriding? Explain with example.
(E) Explain with example Abstract Class.
(F) Explain Virtual Destructor. Give suitable example.
Q.4 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Can private members of a base class are Inheritable? Justify.
(B) Explain with example Multilevel Inheritance.
(C) Explain how a Base Class is derived in Public and Private Mode.
(D) Write a C++ Program to implemented following hierarchy.
(E) What is Exception? Explain Exceptions Handling Mechanism?
(F) What happen when raised exception is not caught by catch block? Explain with suitable example.
Q.5 ATTEMPT ANY THREE QUESTIONS: (15 MARKS)
(A) Explain with example how function templates are used.
(B) Explain how compiler calls to a class and Function Template.
(C) Write a C++ Program which defines and Uses Student Class Template.
(D) What is file? Write down the steps for manipulating files in C++.
(E) Explain the hierarchy of File Stream Class.
(F) What are different methods of opening a file? Write program to open file and enter student details into the file using any method.
0 Comments