munotes® Sign in

B.Sc. (Computer Science) Sem 2 Introduction to OOP Using C++ Mar 2025 Question Paper - Mumbai University | munotes

Introduction To OOP Using C++ Question Paper, Mar 2025.pdf
SEM 2 · 343 KB · 4 Nov 2026

Loading PDF...

Questions asked in this paper

Solved paper All 12 questions answered in full Exam-ready answers, the reasoning behind each one, and what the examiner is looking for. Open the solutions

SECTION I - Q.1 Attempt any 2 from the following 10 Marks

  1. 1. What are tokens? Explain any three types of tokens.
    Read the model answer
  2. 2. Explain the basic structure of C++ program and write a C++ program to find reverse of a 3 digit number entered by user.
    Read the model answer
  3. 3. What is type cast operator in C++? Explain its two types with example.
    Read the model answer
  4. 4. What is class diagram. Draw a class diagram for bank management system.
    Read the model answer

SECTION II - Q.2 Attempt any 2 from the following 10 Marks

  1. 1. Define 'Pointers' in C++. Write a C++ program to concatenate two strings entered by user using pointer.
    Read the model answer
  2. 2. What is file handling? Explain in detail the three classes of file handling.
    Read the model answer
  3. 3. Explain the concept of multilevel inheritance in C++. Provide a C++ program where a class Animal is the base class, a class Mammal inherits from Animal, and a class Dog inherits from Mammal. Show how each class adds its specific functionality, and how the derived class can access properties and methods from its parent and grandparent classes.
    Read the model answer
  4. 4. Write a C++ program to print Fibonacci series using increment operator overloading.
    Read the model answer

SECTION III - Q.3 Attempt any 2 from the following 10 Marks

  1. 1. What is Static data member in C++? Write a C++ program to implement the concept of static data.
    Read the model answer
  2. 2. Write a note on applications of OOPS.
    Read the model answer
  3. 3. Write a C++ program with base class called Vehicle, which defines a virtual function calculateFuelEfficiency() that calculates the fuel efficiency of different vehicles. Derived classes such as Car, Truck, and Motorcycle override the calculateFuelEfficiency() function to provide specific implementations for each vehicle type.
    Read the model answer
  4. 4. Write a short note on Generalization and Specification in class diagram.
    Read the model answer

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.

Done!
Done!