SPPU · Second Year Information Technology · 2024 Pattern (Revised)
Object Oriented Programming
PCC-202-ITT · Semester III · 3 credits · CCE 40 + end-semester 60
Unit 1: Foundations of Object-Oriented Programming
6 hoursLimits of procedural programming; objects, classes, data members, methods and messages; encapsulation, abstraction and information hiding; inheritance, polymorphism, static and dynamic binding; creating classes and access modifiers.
Marks: 12 in the end-semester exam · CCE: Unit test (15 marks, Units 1 & 2)
- Procedural versus object-oriented programming
- Objects, classes and messages
- Encapsulation, abstraction and information hiding
- Inheritance, polymorphism and binding
- Classes and access modifiers in Java
Unit 2: Methods and Constructors
6 hoursMethods with parameters and return values, this, method overloading; objects as parameters and return values, arrays of objects; new, static members and methods; constructors, their types and overloading; garbage collection.
Marks: 12 in the end-semester exam · CCE: Unit test (15 marks, Units 1 & 2)
- Methods, parameters and return values
- this keyword and method overloading
- Objects as parameters, arrays of objects
- Static data members and methods
- Constructors and constructor overloading
- Garbage collection and finalizers
Unit 3: Inheritance & Polymorphism
6 hoursTypes, benefits and costs of inheritance, constructors in derived classes, method overriding, abstract classes and interfaces; compile-time and run-time polymorphism and software reuse.
Marks: 12 in the end-semester exam · CCE: Assignments or case study (15 marks, Units 3 & 4)
- Types of inheritance in Java
- Constructors in derived classes
- Method overriding
- Abstract classes and interfaces
- Compile-time and run-time polymorphism
Unit 4: Exception Handling and Generic Programming
6 hoursErrors and exceptions, try and catch, multiple catch and nested try, user-defined exceptions with throw; generics; the List and Set interfaces, ArrayList and LinkedList.
Marks: 12 in the end-semester exam · CCE: Assignments or case study (15 marks, Units 3 & 4)
- Exceptions and their types
- try, catch, multiple catch and nested try
- User-defined exceptions
- Generics
- Collections: List, Set, ArrayList and LinkedList
Unit 5: File Handling and Design Patterns
6 hoursStreams, byte and character stream classes, the File class, I/O exceptions, reading and writing characters, bytes and primitive types, buffering and random-access files; design patterns: adapter, singleton and iterator.
Marks: 12 in the end-semester exam · CCE: Seminar, open-book test or quiz (10 marks, Unit 5)
- Streams: byte and character streams
- File class and file operations
- Buffered and random-access files
- Design patterns: adapter, singleton and iterator
Unit contents are summarised from the official SPPU syllabus . AiCanCode.org is not affiliated with Savitribai Phule Pune University.