Skip to content

Object-Oriented Programming (OOP) important questionsMost repeated in SPPU papers

These 24 questions appeared in more than one SPPU Object-Oriented Programming paper we have: 5 papers, from May 2024 to Mar 2026. The most-asked come first. Each one links to the papers it was asked in.

Repeated questions

Endsem questions (21)

  1. 3×asked

    Discuss the role of access specifiers in inheritance and show their visibility when they are inherited as public, private and protected.

    Dec 2025 ·May 2025 ·May 2024

  2. 3×asked

    Explain class template using multiple parameters? Write a program in C++.

    Dec 2025 ·May 2025 ·May 2024

  3. 3×asked

    Explain error handling during file operation. ♣♣♣

    Dec 2025 ·May 2025 ·May 2024

  4. 3×asked

    Explain the role of seekg(),seekp(),tellg(),tellp( ),function in the process of random access in a file.

    Dec 2025 ·May 2025 ·May 2024

  5. 3×asked

    Give a programming example that overloads = = operator with its use.

    Dec 2025 ·May 2025 ·May 2024

  6. 3×asked

    What are the rules for overloading operators?

    Dec 2025 ·May 2025 ·May 2024

  7. 3×asked

    What does inheritance mean in C++? What are different forms of inheritance? Give an example of each.

    Dec 2025 ·May 2025 ·May 2024

  8. 3×asked

    What is a user defined exception? Write down the scenario where we require user defined exceptions.

    Dec 2025 ·May 2025 ·May 2024

  9. 3×asked

    What is file mode? Explain any four file modes supported by C++.

    Dec 2025 ·May 2025 ·May 2024

  10. 3×asked

    What is operator overloading? Why it is necessary to overload an operator?

    Dec 2025 ·May 2025 ·May 2024

  11. 3×asked

    What is stream? Explain types of streams available in C++?

    Dec 2025 ·May 2025 ·May 2024

  12. 3×asked

    What is the ambiguity that arises in multiple inheritance? How it can be overcome. Explain with example.

    Dec 2025 ·May 2025 ·May 2024

  13. 3×asked

    What is the difference between opening a file with constructor function and opening a file with open ( ) function.

    Dec 2025 ·May 2025 ·May 2024

  14. 3×asked

    Write a C++ program demonstrating use of the pure virtual function with the use of base and derived classes.

    Dec 2025 ·May 2025 ·May 2024

  15. 3×asked

    Write a C++ program using function template to find the product of two integer or floating-point type of data.

    Dec 2025 ·May 2025 ·May 2024

  16. 3×asked

    Write a program to demonstrate friend function in C++

    Dec 2025 ·May 2025 ·May 2024

  17. 3×asked

    Write a program using put( ) to write characters to a file until user enters a dollar sign.

    Dec 2025 ·May 2025 ·May 2024

  18. 3×asked

    Write a program using the open(), eof (), and getline() member function to open and read a file content line by line.

    Dec 2025 ·May 2025 ·May 2024

  19. 2×asked

    Discuss the ways in which inheritance promotes software reuse, saves time during program development and helps prevent errors.

    Dec 2025 ·May 2024

  20. 2×asked

    Explain exception handling mechanism in C++? Write a program in C++ to handle divide by zero exception.

    Dec 2025 ·May 2024

  21. 2×asked

    Explain virtual base class and virtual function with example?

    Dec 2025 ·May 2024

Insem questions (3)

  1. 2×asked

    Explain concept of static data members, static member functions in C++.

    Mar 2026 ·Mar 2025

  2. 2×asked

    Explain member functions within a class in C++ with suitable example.

    Mar 2026 ·Mar 2025

  3. 2×asked

    Explain terms class and object also write the declaration syntax for both.

    Mar 2026 ·Mar 2025

Questions count as repeated when their wording matches closely across papers. Numericals that depend on a figure are left out, since the figure changes from paper to paper.