Object Oriented Programming (OOP) SPPU Endsem Question Paper Nov 2024
All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Pattern
- 2024 pattern
- Exam
- Endsem
- Session
- Nov 2024
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- III
- Paper code
- [6582]-277
Printed for: S.E. (Information Technology)
Most repeated OOP questions, with answers
Model answers in the SPPU exam pattern, unit by unit. Read them on MySPPU.
This subject
₹59regular price ₹149
See a free sample page
Instructions to the candidates
- Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8, Q.9 or Q.10.
- Figures to the right indicates full marks.
- Use of non-programmable calculator is allowed.
- Assume Suitable data, if necessary.
Questions
Q1
- a)[6]
Write a short notes on: i) Polymorphism ii) Data Encapsulation
- b)[8]
Explain in detail the different visibility/access modifiers in Object-Oriented Programming. How does the ‘private’ access modifier support the concept of information hiding? Illustrate with a suitable example.
OR- a)
Q2
- a)[6]
Model a real-world scenario ‘fruit’ class using Object Oriented Paradigm.
Also asked:Nov 2025
- b)[8]
Explain the four pillars of object- oriented programming with an example.
- a)
Q3
- a)[6]
What is garbage collection? Explain the finalize () method in detail.
Also asked:May 2024
- b)[8]
Design a class ‘employee’ with suitable instance variables and methods. Create the database of the employees and display the records using an array of objects.
OR- a)
Q4
- a)[6]
How do we use the static variables and static functions in the class? Explain with a suitable example.
- b)[8]
Can we overload the constructor? Explain with Example. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Object Oriented Programming Page 1 of 2 2
- a)
Q5
- a)[6]
Define polymorphism. What are the types of Polymorphism?
- b)[8]
Write a Java program to implement multilevel inheritance.
OR- a)
Q6
- a)[6]
What is an interface in Java? How to declare an interface, and write syntax? Can we achieve multiple inheritance by using an interface?
- b)[8]
Differentiate between method overriding and method overloading. Explain method overriding concept with an example.
Also asked:Dec 2025
- a)
Q7
- a)[6]
Demonstrate at least 3 methods of ArrayList collection class.
- b)[8]
What is an exception? Demonstrate with the example. how to handle the ArrayIndex out of Bound exception.
OR- a)
Q8
- a)[6]
Explain the use of throw, throws, and finally with the help of example.
- b)[8]
Write a generic method to count the number of elements in a collection that have a specific properties like odd integers, prime numbers and palindrome.
- a)
Q9
- a)[6]
Define the term Stream. Explain various stream classes.
- b)[8]
Write a short note on: i) Iterator ii) Singleton
OR- a)
Q10
- a)[6]
Which are different types of Design patterns?
Also asked:Dec 2025
- b)[8]
Design a Java program for employee management with following operations: i) Create file ii) Write data into file iii) Read data from file. Consider Name, employee id and department as attributes of employee. eeee SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Object Oriented Programming Page 2 of 2
- a)