Skip to content
IT-304 · Object Oriented Programming & Methodology/Unsolved PYQ Paper

IT-304 Object Oriented Programming and Methodology - Dec 2025 Question Paper

Under each question, How to answer lists the points an answer should cover, outlined by CampusPrep from the syllabus. Check the details against your textbook.

  1. 7 Marks
    aWhat are the unique advantages of an object oriented programming paradigm.
    How to answer
    • Define OOP paradigm and its goals
    • List unique advantages: encapsulation, inheritance, polymorphism, abstraction, reusability
    • Explain modularity, maintainability and extensibility
    • Contrast briefly with procedural paradigm
  2. 7 Marks
    bWhat is Inheritance? What is the importance of Inheritance? Differentiate between multilevel and multiple inheritance with suitable example.
    How to answer
    • Define inheritance and its purpose
    • Explain importance: code reuse, extensibility, hierarchy
    • Differentiate multilevel vs multiple inheritance with diagrams
    • Give suitable C++ example for each
  3. 7 Marks
    aExplain about call by reference and return by reference with program.
    How to answer
    • Define call by reference using reference variables
    • Define return by reference and its rules
    • Provide C++ program demonstrating both
    • Explain output and advantages/limitations
  4. 7 Marks
    bHow is data Encapsulation is different from Information Hiding? Explain with example.
    How to answer
    • Define data encapsulation
    • Define information hiding
    • Differentiate on basis of concept, mechanism, purpose
    • Give example using C++ class with private data
  5. 7 Marks
    aWhat is the difference between overloading and overriding? How is binding used in polymorphism? Explain with example.
    How to answer
    • Define overloading vs overriding
    • Differentiate on binding, scope, signature, polymorphism type
    • Explain early vs late binding in polymorphism
    • Give C++ example for each
  6. 7 Marks
    bExplain function overloading with example.
    How to answer
    • Define function overloading
    • Explain rules: different parameters, types, count
    • Give C++ example with overloaded functions
    • Mention compile-time resolution
  7. 7 Marks
    aHow is polymorphism achieved at?
    1. i)Compile Time
    2. ii)Run Time
    How to answer
    • Define compile-time polymorphism: function/operator overloading, early binding
    • Define runtime polymorphism: virtual functions, late binding
    • Explain mechanism and examples for each
    • Compare binding time and flexibility
  8. 7 Marks
    bWrite short note on: Disk file I/O with stream And Data Hiding
    How to answer
    • Define disk file I/O with streams: ifstream, ofstream, fstream
    • Explain open modes, read/write operations
    • Define data hiding: private/protected, access control
    • Mention advantages with short example
  9. 7 Marks
    aWhat are exceptions? What are the difference between synchronous and asynchronous exceptions?
    How to answer
    • Define exception and exception handling
    • Define synchronous exceptions
    • Define asynchronous exceptions
    • Differentiate on source, predictability, handling
  10. 7 Marks
    bWhat is friend function? Explain application of friend function with suitable example.
    How to answer
    • Define friend function and its syntax
    • Explain access to private/protected members
    • Explain applications: operator overloading, bridging classes
    • Give suitable C++ example
  11. 7 Marks
    aWrite C++ programs to validation of examination marks is to be done. The range of exam marks is between 65 and 100 (both inclusive). This is to be done by including a validate method in student class.
    How to answer
    • Define Student class with marks attribute
    • Implement validate method checking 65 to 100 inclusive
    • Throw/handle exception or return status for invalid marks
    • Show driver main demonstrating validation
  12. 7 Marks
    bWhat is Inline function. What are the advantages of inline function.
    How to answer
    • Define inline function and syntax
    • Explain working: code substitution by compiler
    • List advantages: reduced call overhead, faster execution
    • Mention limitations
  13. 7 Marks
    aDefine operator overloading ? Explain How to overload unary operator and binary operator.
    How to answer
    • Define operator overloading
    • Explain rules and syntax
    • Explain unary operator overloading with example
    • Explain binary operator overloading with example
  14. 7 Marks
    bExplain :
    1. i)new and delete keyword
    2. ii)This pointer
    How to answer
    • Explain new and delete for dynamic memory allocation/deallocation
    • Give syntax and example
    • Define this pointer and its purpose
    • Give example of this pointer use
  15. 7 Marks
    aExplain virtual function and write its purpose.
    How to answer
    • Define virtual function and syntax with virtual keyword
    • Explain runtime polymorphism via overriding
    • Explain purpose: dynamic binding, extensibility
    • Give example with base and derived class
  16. 7 Marks
    bWhat do you mean by stream class and stream errors.
    How to answer
    • Define stream class hierarchy in C++
    • Explain ios, istream, ostream, iostream roles
    • Define stream errors and state flags
    • Explain eof, fail, bad, good bits with handling
Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in