B.Sc. (Computer Science) Sem 2 Introduction to OOP Using C++ Mar 2025 Question Paper - Mumbai University | munotes
Get access to whole semester resourcesSemester Pass
MU B.Sc. (Computer Science) student group
Free to join
Loading PDF...
Older exam
Apr 2024
Semester-end · Introduction to OOP using C++
→
Newer exam
Apr 2025
Semester-end · Introduction to OOP using C++
→
Questions asked in this paper
SECTION I - Q.1 Attempt any 2 from the following 10 Marks
-
Q1 What are tokens? Explain any three types of tokens.
-
Q2 Explain the basic structure of C++ program and write a C++ program to find reverse of a 3 digit number entered by user.
-
Q3 What is type cast operator in C++? Explain its two types with example.
-
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
-
Q5 Define 'Pointers' in C++. Write a C++ program to concatenate two strings entered by user using pointer.
-
Q6 What is file handling? Explain in detail the three classes of file handling.
-
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.
-
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
-
Q9 What is Static data member in C++? Write a C++ program to implement the concept of static data.
-
Q10 Write a note on applications of OOPS.
-
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.
-
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.
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.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
B.Sc. (Computer Science) / Sem 2 · 60 papers
Questions? Email contact@munotes.in
Done!