B.Sc. (Computer Science) Sem 2 Introduction to OOP Using C++ Mar 2025 Question Paper - Mumbai University | munotes
This paper is solved: read the model answers.
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 solutionsSECTION I - Q.1 Attempt any 2 from the following 10 Marks
-
1. What are tokens? Explain any three types of tokens.Read the model answer
-
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. What is type cast operator in C++? Explain its two types with example.Read the model answer
-
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. Define 'Pointers' in C++. Write a C++ program to concatenate two strings entered by user using pointer.Read the model answer
-
2. What is file handling? Explain in detail the three classes of file handling.Read the model answer
-
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. 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. What is Static data member in C++? Write a C++ program to implement the concept of static data.Read the model answer
-
2. Write a note on applications of OOPS.Read the model answer
-
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. 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.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
Related Resources
Something wrong with this paper? Report it.