SGBAU · Second Year B.E. Computer Science and Engineering · NEP 2020
Object Oriented Programming
3CS201PC · Semester III · 3 credits · IE 40 + ESE 60
Unit 1: Introduction to Object Oriented Programming
7 hoursThe need for OOP and its principles, procedural languages versus OOP and applications; the Java virtual machine, Java's features and program structure; variables, primitive types, identifiers, literals, operators and expressions, precedence, type conversion and casting, and flow of control.
Examined in the 60-mark end-semester paper
- Programming paradigms
- Object-oriented concepts
- Java program structure and the JVM
- Java data types, operators and expressions
- Control statements in Java
Unit 2: Classes and Objects
7 hoursClasses and objects, creating objects, methods and constructors, cleaning up unused objects, class variables and methods, the this keyword, arrays and command-line arguments.
Examined in the 60-mark end-semester paper
- Classes, objects and methods in Java
- Constructors, this and static members
- Arrays in Java
- Command-line and variable-length arguments
Unit 3: Inheritance, Interfaces and Packages
7 hoursInheritance versus aggregation, method overriding, the super and final keywords and abstract classes; defining, implementing and extending interfaces and accessing interface variables; packages and the java.lang package.
Examined in the 60-mark end-semester paper
Unit 4: Exception Handling and Input/Output
7 hoursException handling techniques, user-defined exceptions, exception encapsulation and enrichment; the java.io.File class, reading and writing data, random access to files, and reading and writing files with the I/O package.
Examined in the 60-mark end-semester paper
- Exception handling in Java
- Console input and output with streams
- File handling and random-access files in Java
Unit 5: Applets
7 hoursThe Applet class, applet structure and life cycle, methods used to display output — paint(), update() and repaint() — the applet tag, getDocumentBase() and getCodeBase(), the AppletContext interface, audio clips, and the Graphics, Color, Font and FontMetrics classes.
Examined in the 60-mark end-semester paper
- Java applets: life cycle, display methods and graphics
Unit 6: Event Handling
7 hoursThe event delegation model, java.awt.event, event sources, listeners, adapter classes and inner classes; the Abstract Window Toolkit — components and containers, buttons, labels, check boxes, radio buttons, lists, choices, text fields and areas, layouts, menus and scroll bars.
Examined in the 60-mark end-semester paper
- Event handling in Java: listeners, adapter classes and mouse events
- Swing and layout management
- Swing components: text fields, buttons, lists, menus and dialogs
Unit contents are summarised from the official SGBAU syllabus . AiCanCode.org is not affiliated with Sant Gadge Baba Amravati University (SGBAU).