Object Oriented Programming With C++ (January – 2017) [IDOL - Revised Course | Question Paper]


Click Here: (PDF Link 1) | Click Here: (PDF Link 2) | Click Here: (PDF Link 3)

Click Here: (Image View) | Click Here: (Text View)

Time: 3 Hours
Total Marks: 100

N.B.:     (1) All Questions are Compulsory.
              (2) Attempt any three sub-questions out of 4 from Q.2 to Q.7.
              (3) Draw neat labelled diagram whenever necessary.

Q.1 Attempt Any Two Question: (10 Marks)
(A) What is Inheritance? Explain any two types with diagram and example.
(B) Explain the following terms:
      (i) Object
      (ii) Class
(C) State and explain the various applications of Object Oriented Programming.
(D) Explain the difference in between Class and Structure with example.

Q.2 Attempt Any Three From The Following: (15 Marks)
(A) State any five features of Object Oriented Programing.
(B) Describe the concept of Polymorphism with example.
(C) Distinguish between procedural and Object Oriented Approach.
(D) Write short note on reusability in C++.

Q.3 Attempt Any Three From The Following: (15 Marks)
(A) Write a C++ Program with a class to check a number is even or odd.
(B) Explain the concept of Static Data Member of a class with example.
(C) Write a short note on Copy Constructor.
(D) How to define the member function in C++.

Q.4 Attempt Any Three From The Following: (15 Marks)
(A) What is Pointer? Explain the use of pointer with the help of suitable example.
(B) Explain the Operator Overloading concept.
(C) Write a short note on Overloading the Arithmetic Assignment Operator.
(D) Explain the concept of Friend Function with example.

Q.5 Attempt Any Three From The Following: (15 Marks)
(A) Explain the Virtual Function. State the rules used for Virtual Function.
(B) Write a C++ Program to store the details of a car object into a file. Read the details from the file (Data Members: Carid, name price).
(C) Explain the abstract class with the help of suitable example.
(D) Write a C++ Program to store the details of employee object into a file. Read the following details from the file (Data Members: Emp_id, name, Salary).

Q.6 Attempt Any Three From The Following: (15 Marks)
(A) Explain the following terms:
      (i) Stream
      (ii) Input Stream
      (iii) Output Stream
(B) Write a C++ Program to count the number of ‘a’ and ‘o’ in an Input Stream.
(C) Write short note on the following terms:
      (i) Constructor
      (ii) Destructor
(D) Write a C++ program to check whether the input string in palindrome or not.

Q.7 Attempt Any Three From The Following: (15 Marks)
(A) Explain the concept of class template with any example.
(B) Write short note on function Overloading and give example.
(C) What is Container? Explain its types.
(D) Write a short note on Iterator Classes.

0 Comments