DR.
BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE
Winter Examination – 2022
Course: B. Tech. Branch :Computer Engineering Semester :III
Subject Code & Name: BTCOC305(A) Object Oriented Programming in C++
Max Marks: 60 Date: Duration: 3 Hr.
Instructions to the Students:
1. All the questions are compulsory.
2. The level of question/expected answer as per OBE or the Course Outcome (CO) on
which the question is based is mentioned in ( ) in front of the question.
3. Use of non-programmable scientific calculators is allowed.
4. Assume suitable data wherever necessary and mention it clearly.
(Level/CO) Marks
Q. 1 Solve Any Two of the following. 12
A) State the need of object oriented programming and any two characteristics of Remember 6
C++.
B) What is constructor? Explain Parameterized constructor. Understanding 6
C) Explain objects as function arguments in C++ with suitable example. Apply 6
Q.2 Solve Any Two of the following. 12
A) Write a C++ program for Binary operator overloading for addition of two Apply 6
complex numbers.
B) Explain data conversion for primitive data type to user-defined type with Understanding 6
C++ program.
C) Explain different types of Inheritance in C++. Remember 6
Q. 3 Solve Any Two of the following. 12
A) What are Virtual functions? How it is differ from simple functions? Analysis 6
B) Illustrate this pointer with the help of C++ program. Apply 6
C) What is friend function? State its uses. Remember 6
Q.4 Solve Any Two of the following. 12
A) Explain Classes for I/O and File stream operations. Remember 6
B) What are manipulators in C++? Understanding 6
C) Write a C++ program to write contents in a file. Apply 6
Q. 5 Solve Any Two of the following. 12
A) What is exception? State its need of Exception handling. Remember 6
B) Explain function template overloading with C++ program. Apply 6
C) Explain sequence type container in C++. Understanding 6
*** End ***