munotes®

B.Sc. (Information Technology) Sem II Object Oriented Programming Using C++ Mar 2025 Question Paper - Mumbai University | munotes

Object Oriented Programming Using C++ Question Paper, Mar 2025.pdf
SEM II · 316 KB · 25 Oct 2026

Loading PDF...

Questions asked in this paper

SECTION I - Q.1 (Attempt any TWO, 3.5 marks each) 7 Marks

  1. Q1 List the main principles of Object-Oriented Programming. Explain any one of it.
  2. Q2 How is a member function of a class defined?
  3. Q3 Explain how constructor can be called implicitly and explicitly.
  4. Q4 Give a basic example of public inheritance in Object-Oriented Programming.

SECTION II - Q.2 (Attempt any TWO, 4 marks each) 8 Marks

  1. Q5 Write a C++ program to convert seconds into hours and minutes.
  2. Q6 How can we pass object as function argument? Explain with the help of an example.
  3. Q7 Explain default constructor with the help of an example.
  4. Q8 Explain single inheritance where derived class is privately inherited.

SECTION III - Q.3 (Attempt any TWO, 3.5 marks each) 7 Marks

  1. Q9 Explain binary operators overloading by using friend function.
  2. Q10 Write a short note on virtual destructor.
  3. Q11 Write a C++ program to show the implementation for exception handling for strings.
  4. Q12 Explain the following terms of file opening modes:
    • (i) ios:in
    • (ii) ios:app
    • (iii) ios:binary
    • (iv) ios:trunc

SECTION IV - Q.4 (Attempt any TWO, 4 marks each) 8 Marks

  1. Q13 Overload the operator + for adding the timings of two clocks, and also pass objects as an argument.
  2. Q14 Write a C++ program to illustrate Virtual function in class.
  3. Q15 Write a short note on basics of exception handling.
  4. Q16 What different types of file streams C++ provides? Explain in detail.

Read from the scan above, so a character or two may differ. The scan is the original.

Issue

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
B.Sc. (Information Technology) / Sem II · 53 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!