Object Oriented Programming (OOP) SPPU Endsem Question Paper Oct 2025
All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Pattern
- 2024 pattern
- Exam
- Endsem
- Session
- Oct 2025
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- III
- Paper code
- [6582]-207
Printed for: S.E. (Artificial Intelligence & Machine Learning)
Instructions to the candidates
- Answer Q.1 or Q.2, Q3. or Q.4, Q.5 or Q.6, Q.7 or Q.8, Q.9 or Q.10.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right indicate full marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[5]
Why was procedural programming not sufficient for large-scale software development? Give technical reasons.
- b)[5]
Define data encapsulation. How does it improve software robustness?
- c)[4]
What is meant by class visibility modifiers? Why do we need them in designing a class?
OR- a)
Q2
- a)[5]
Explain dynamic binding using the concept of virtual functions.
- b)[5]
What is polymorphism? Explain How polymorphism and inheritance are related?
- c)[4]
Define abstraction and encapsulation. How are they implemented in class design?
- a)
Q3
- a)[7]
What is method overloading? How is it different from method overriding? Write a Java program that overloads a method to calculate simple and compound interest.
- b)[7]
Explain array of objects with an example. Write a Java program to create an array of Employee objects and display the details of employees having salary above Rs. 50,000. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Object Oriented Programming Page 1 of 2
OR- a)
Q4
- a)[7]
Explain object creation and memory allocation using new operator. Write a Java program demonstrating object creation and memory usage through multiple objects.
- b)[7]
Discuss constructor overloading and show how it is used for flexible object initialization. Write a program to create Book objects using multiple constructors.
- a)
Q5
- a)[6]
List six distinctions between method overloading and method overriding.
- b)[4]
Which inheritance is not supported in Java and Why?
- c)[4]
Distinguish between compile time and runtime polymorphism.
OR- a)
Q6
- a)[6]
How does an interface differ from a class? Provide justification with example.
- b)[4]
Explain multilevel inheritance with example.
- c)[4]
Elaborate hierarchical inheritance by utilizing super with an example.
- a)
Q7
- a)[7]
Explain why exception handling is important in Java and write a program usin try, catch, and finally blocks.
- b)[7]
What is the List interface in Java? Explain its key features and implementations.
OR- a)
Q8
- a)[7]
Explain the importance of Collection Interfaces in Java and their types.
- b)[7]
Differentiate between errors and exceptions in Java. Give examples of each and explain when to handle them in a program.
- a)
Q9
- a)[6]
Differentiate between sequential files and random-access files.
- b)[8]
What is a Design Pattern? Write a short note on ‘Iterator’ design pattern.
OR- a)
Q10
- a)[6]
Write program to handle primitive data types in file handling.
- b)[8]
What are the advantages of design patterns? Explain ‘Adaptor’ design pattern in detail. ♣♣♣ SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Object Oriented Programming Page 2 of 2
- a)