SGBAU SY AI & DS syllabus

SGBAU · Second Year B.E. Artificial Intelligence and Data Science · NEP 2020

Object Oriented Programming

3AD201PC · Semester III · 3 credits · IE 40 + ESE 60

  1. Unit 1: Introduction to Object Oriented Programming

    7 hours

    The 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

    • Object-oriented ideas and the Java platform
    • Java data types, variables and operators
    • Control structures and loops in Java
  2. Unit 2: Classes and Objects

    7 hours

    Classes 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

    • Methods, scope and overloading
    • Constructors, access control and this
    • Static members, final and garbage collection
    • Arrays and multidimensional arrays
  3. Unit 3: Inheritance, Interfaces and Packages

    7 hours

    Inheritance 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

    • Inheritance and polymorphism
    • Abstract classes and interfaces
    • Packages and the class path
  4. Unit 4: Exception Handling and Input/Output

    7 hours

    Exception 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
    • User-defined exceptions
    • Byte and character streams
    • File processing and NIO
  5. Unit 5: Applets

    7 hours

    The 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
    • Java graphics programming: frames, 2D shapes, colours, fonts and images
  6. Unit 6: Event Handling

    7 hours

    The 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).