Skip to content
EndsemNov 20242024 patternSE IT

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)

Premium

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

Unlock

Instructions to the candidates

  1. 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.
  2. Figures to the right indicates full marks.
  3. Use of non-programmable calculator is allowed.
  4. Assume Suitable data, if necessary.

Questions

  1. Q1

    1. a)

      Write a short notes on: i) Polymorphism ii) Data Encapsulation

      [6]
    2. b)

      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.

      [8]
  2. Q2

    1. a)

      Model a real-world scenario ‘fruit’ class using Object Oriented Paradigm.

      Also asked:Nov 2025

      [6]
    2. b)

      Explain the four pillars of object- oriented programming with an example.

      [8]
  3. Q3

    1. a)

      What is garbage collection? Explain the finalize () method in detail.

      Also asked:May 2024

      [6]
    2. b)

      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.

      [8]
  4. Q4

    1. a)

      How do we use the static variables and static functions in the class? Explain with a suitable example.

      [6]
    2. b)

      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

      [8]
  5. Q5

    1. a)

      Define polymorphism. What are the types of Polymorphism?

      [6]
    2. b)

      Write a Java program to implement multilevel inheritance.

      [8]
  6. Q6

    1. a)

      What is an interface in Java? How to declare an interface, and write syntax? Can we achieve multiple inheritance by using an interface?

      [6]
    2. b)

      Differentiate between method overriding and method overloading. Explain method overriding concept with an example.

      Also asked:Dec 2025

      [8]
  7. Q7

    1. a)

      Demonstrate at least 3 methods of ArrayList collection class.

      [6]
    2. b)

      What is an exception? Demonstrate with the example. how to handle the ArrayIndex out of Bound exception.

      [8]
  8. Q8

    1. a)

      Explain the use of throw, throws, and finally with the help of example.

      [6]
    2. b)

      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.

      [8]
  9. Q9

    1. a)

      Define the term Stream. Explain various stream classes.

      [6]
    2. b)

      Write a short note on: i) Iterator ii) Singleton

      [8]
  10. Q10

    1. a)

      Which are different types of Design patterns?

      Also asked:Dec 2025

      [6]
    2. b)

      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

      [8]