What is runtime polymorphism? How it is achieved in C++. Explain it along with example.
Please rotate your device horizontally for split view
Access and download Object Oriented Programming question papers from Savitribai Phule Pune University (SPPU). Our collection includes INSEM (Internal Semester) and ENDSEM (End Semester) exam papers.
We offer 5 question papers for Object Oriented Programming, covering various exam patterns and years. All papers are in PDF format for easy viewing and download.
Prepare for mid-term evaluations with Object Oriented Programming INSEM papers, aligned with the SPPU exam pattern and syllabus.
Access Object Oriented Programming ENDSEM papers covering the entire syllabus, essential for final exam preparation.
Our question-paper viewer enables you to:
SPPU Question Papers Hub is focused entirely on SPPU previous year papers, with cleaner discovery by branch, semester, and subject.
Object Oriented Programming is a key subject in the SPPU curriculum. Our question paper collection helps students understand exam patterns, practice effectively, and improve academic performance.
Explore Object Oriented Programming resources including SPPU question papers from Savitribai Phule Pune University. Find INSEM and ENDSEM papers for effective examination preparation. Our platform offers academic resources, a PDF viewer for online study, university question papers, and materials for semester examinations.
Download all INSEM question papers as ZIP
Download all ENDSEM question papers as ZIP
Download all question papers (INSEM + ENDSEM) as ZIP
What is runtime polymorphism? How it is achieved in C++. Explain it along with example.
Explain virtual base class and virtual function with example.
Explain need of operator overloading. Write C++ program to demonstrate use of unary operator overloading.
Explain polymorphism and types of polymorphism in C++.
Explain what is type casting, Explain Implicit and explicit type of conversion with example.
Write a program to overload insertion (<<) and extraction (>>) operator in C++.
What are various functions which are used to manipulate file pointers? Explain using example.
Explain command line arguments in C++? Write program to explain the same.
What are different file opening mode?
Explain formatted and unformatted input and output functions used in C++ with example.
What are stream classes and their use? Provide the hierarchy of stream classes in C++.
Explain the use of command line arguments. If we want to pass command line arguments what will be prototype of main function and explain its arguments along with example.
What is the power of templates in C++? Explain along with one example.
Explain exception handling mechanism in C++? Write a program in C++ to handle “divide by zero” exception.
Write a short note on typename and export keyword in C++.
What is mean by user defined exception? Give one example.
Explain class template using multiple parameters. Write a program in C++.
How multiple catching is implemented in exception handling?
Explain the concept of the Standard Template Library (STL) in C++. What are its key components?
Differentiate between sequence containers and associative containers in the STL. Provide examples of each.
Discuss the advantages of using container adapters in the STL. Provide examples of container adapters.
How can vectors and lists be used as sequence containers in the STL? Explain with a appropriate example.
Explain the concept of iterators in the STL. Differentiate between iterator and pointers.
Describe the process of using the STL algorithms for Quick sort.
| Subject Name | Object Oriented Programming |
|---|---|
| Semester | III |
| Pattern Year | 2019 |
| Subject Code | 210243 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [6002]-157 |
| Academic Year | S.E. |
| Branch Name | Computer Engineering (Artificial Intelligence & Data Science) |
| Exam Type | ENDSEM |
| Exam Session | 2023 May Jun Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 16/06/2023 10:42:45 static-238'] |
Explain the polymorphism feature of OOP. What are the different ways to achieve polymorphism in C++ Language? Explain them along with examples.
What is operator overloading? Write a program to overload '+' operator for adding two complex numbers which are object of below complex class. Class Complex { Private: int real, imag; };
What is Pure virtual function? Illustrate the use of Pure virtual function.
What is runtime polymorphism? How it is achieved in C++. Explain it along with example.
What is function overloading? Write defination of three overloaded functions (add) which will add two integer, float and double numbers respectively.
Explain abstract class concept along with example.
What are various functions used to manipulate file pointers? Explain using example.
What are command line arguments in C++? Write a program to explain the same.
What are fstream, ifstream and ofstream? Illustrate with help of example.
Write a program to create file, read and write record into it. Every record contains employee name, id and salary. Store and retrieve atleast 3 data.
What do you mean by file handling? Explain the following functions. i) open() ii) get() iii) getline()
Write a program to create files using constructor function.
Distinguish between overloaded function and function template with suitable example.
What is an exception specification? Explain using suitable example.
What is generic programming? How it is implemented in C++.
Write short note on type name and export key-word.
Explain class template using multiple parameters with help of program.
Explain exception handling mechanism in C++? Explain by program to handle "divide by zero".
What is purpose of iterator and algorithm.
What is STL? List and explain different types of STL containers.
Write a program to implement map in STL.
What are major components of STL.
State functions of vector STL. Write a program to explain the same.
What is container? List the container classes in C++. Explain any one of them using program.
| Subject Name | Object Oriented Programming |
|---|---|
| Semester | III |
| Pattern Year | 2019 |
| Subject Code | 210243 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [5925]-257 |
| Academic Year | S.E. |
| Branch Name | Computer/Artificial Intelligence & Data Science/Computer Science & Design Engineering |
| Exam Type | ENDSEM |
| Exam Session | 2022 Nov Dec Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 07/02/2023 13:19:06 static-238'] |
Differentiate between compile time polymorphism and run time polymorphism.
How do you declare and define a pure virtual function in C++? Explain with help of a program.
Write a C++ program for unary increment (++) and decrement (--) operator overloading.
What is operator overloading and why it is useful? Which Operators cannot be overloaded.
How virtual functions are implemented in C++? Explain with help of a program.
Write a program to binary (+) and binary (-) operator in C++.
Explain the use of command line arguments. If we want to pass command line arguments what will be prototype of main function and explain its arguments along with example.
Explain the following file handling functions (solve any three). i) seekg ( ) ii) tellg ( ) iii) seekp ( ) iv) tellp ( )
Write a program Using the C++ file input and output class with open(), get(), put(),close() methods for opening, reading from and writing to a file. Use append mode while opening the file for writing.
List and Explain different Mode bits used in open () function, while opening a file. (Any five).
Define a class Person that has three attributes viz name, gender and age. Write a C++ Program that writes an object to a file and reads an object from a file.
Explain what is fstream, ifstream and ofstream with help of example? Provide the hierarchy of stream classes in C++.
Discuss exception handling mechanism in C++ with syntax.
Write a program to handle exception using class type exception.
Demonstrate function template with suitable code in C++.
Explain exception handling in constructor, destructor.
Write a program to demonstrate class template with example.
Demonstrate overloading function template with suitable code in C++.
What is an iterator? Explain how to use an iterator in C++ program with example.
What is an algorithm in STL? Enlist algorithms and explain any algorithm in detail.
What is a Map ? Write a program to implement map in C++.
What is STL? Enlist and explain in short major components of STL.
What is iterator and algorithm? Explain each of them with example.
What is a vector? Enlist and explain any 5 functions of vector by using a C++ program.
| Subject Name | Object Oriented Programming |
|---|---|
| Semester | III |
| Pattern Year | 2019 |
| Subject Code | 210243 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [6179]-242 |
| Academic Year | S.E. |
| Branch Name | Computer / Computer Science & Design Engg./A.I&D.S. |
| Exam Type | ENDSEM |
| Exam Session | 2023 Nov Dec Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 01/01/2024 09:38:26 static-238'] |
What are advantages of object oriented programming over procedural oriented programming?
What is polymorphism? How does it relate to function overloading?
What a class ''Student'' with attributes like name, roll number & mark. Include member functions to set & display these attributes?
State differences between abstraction and encapsulation.
What are C++ access specifiers? Write down their significance.
Write a class ''Calculator'' with methods for addition, subtraction, multiplication and division functions. Create a object to perform arithmetic operation.
Define Function overloading and Write a program for swapping two integer numbers, two float numbers and two characters using function overloading.
What is the use of 'this' pointer? Explain with example.
Explain public, private and protected inheritance. And give example of protected Inheritance with explanation.
Define Function overriding in C++ and Write a program to demonstrate the same.
What are types of inheritance. Explain them with syntax.
Define function pointers? Give its Syntax of declaration, Referencing and Dereferencing. Write a program for it in C++.
| Subject Name | Object Oriented Programming |
|---|---|
| Semester | III |
| Pattern Year | 2019 |
| Subject Code | 210243 |
| Max Marks | 30 |
| Total Questions | 4 |
| Duration | 1 Hour |
| Paper Number | [6186]-521 |
| Academic Year | S.E. |
| Branch Name | Computer Engg./Artificial Intelligence & Data Science/Computer Science &Design Engg. |
| Exam Type | INSEM |
| Exam Session | 2023 Oct Insem |
| Watermark | ['CEGP013091', '49.248.216.238 11/10/2023 10:42:09 static-238'] |
Compare Procedure Oriented programming vs Object Oriented Programming.
Explain C++ data type union and enumeration with example.
Explain static data and static function with program.
What is encapsulation? Why it is important in object-oriented programming?
What is the purpose of constructor and destructor in object-oriented programming? How are they used in class?
Write a class “Person” with attributes like name, age & address. Include appropriate constructor & member functions to set & display these attributes.
Explain friend function.Write a program to demonstrate it in C++.
Discuss the memory management using keywords ‘new’ and “delete”.
What is multi-level inheritance? Explain with an example, how it can be implemented in C++.
Explain friend class. Write a program to demonstrate friend class in C++.
Explain Function overloading and function overriding with example.
Explain public, private and protected inheritance And give example of private Inheritance with explanation.
| Subject Name | Object Oriented Programming |
|---|---|
| Semester | III |
| Pattern Year | 2019 |
| Subject Code | 210243 |
| Max Marks | 30 |
| Total Questions | 4 |
| Duration | 1 Hour |
| Paper Number | [6359]-521 |
| Academic Year | S.E. |
| Branch Name | Artificial Intelligence & Data Science Engg. |
| Exam Type | INSEM |
| Exam Session | 2024 Sep Insem |
| Watermark | ['CEGP013091', '49.248.216.238 09/10/2024 10:33:50 static-238'] |
Select a question to generate an answer