munotes®

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

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

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

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

  1. Q5 Define 'Pointers' in C++. Write a C++ program to concatenate two strings entered by user using pointer.
  2. Q6 What is file handling? Explain in detail the three classes of file handling.
  3. Q7 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.
  4. Q8 Write a C++ program to print Fibonacci series using increment operator overloading.

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

  1. Q9 What is Static data member in C++? Write a C++ program to implement the concept of static data.
  2. Q10 Write a note on applications of OOPS.
  3. Q11 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.
  4. Q12 Write a short note on Generalization and Specification in class diagram.

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!