DBATU TY AI syllabus

DBATU · Third Year B.Tech Artificial Intelligence & Allied · NEP 2020

Java Programming

26AFAIPC502 · Semester V · 3 credits · Continuous assessment 20 + mid-semester 20 + end-semester 60

The scheme table gives 3 credits; the course page lists 2 lecture hours a week.

All notes for this subject
  1. Unit 1: Introduction to Java

    5 hours

    Classes, objects, encapsulation, inheritance and interfaces; the Java development environment; console input and output with Scanner; variables, data types and operators; control structures, counter- and sentinel-controlled loops.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Object-oriented ideas and the Java platform
    • Java data types, variables and operators
    • Console input and output with Scanner
    • Control structures and loops in Java
  2. Unit 2: Methods, Arrays and Strings

    5 hours

    Static methods, parameters, the call stack, scope and overloading; random numbers; arrays, the enhanced for loop, multidimensional arrays and varargs; ArrayList; String, StringBuilder and Character, tokenising and regular expressions.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Methods, scope and overloading
    • Arrays and multidimensional arrays
    • ArrayList
    • Strings, StringBuilder and regular expressions
  3. Unit 3: Classes, Objects and Object-Oriented Programming

    4 hours

    Instance variables, accessors and constructors; primitive and reference types; access control, this, composition and enums; garbage collection, static members and final; inheritance and constructors in subclasses; polymorphism, abstract classes and interfaces, functional interfaces.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Constructors, access control and this
    • Static members, final and garbage collection
    • Inheritance and polymorphism
    • Abstract classes and interfaces
  4. Unit 4: Exceptions, Collections and Files

    5 hours

    Exception handling, the exception hierarchy, finally, chained exceptions, assertions and try-with-resources; the collections framework, wrappers and autoboxing, lists, sets, maps, priority queues and iterators; files and streams, NIO, sequential text files, XML serialisation and directory operations.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Exception handling in Java
    • Java collections framework
    • Lists, sets, maps and iterators
    • File processing and NIO
  5. Unit 5: Advanced Java

    5 hours

    Lambdas, functional interfaces, streams, filtering and mapping, method references; generic methods, classes and wildcards; linked structures, recursion, searching, sorting and Big O; JDBC, prepared statements and transactions; JShell.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Lambdas and the Stream API
    • Generics and wildcards
    • Recursion, searching and sorting in Java
    • JDBC and prepared statements

Unit contents are summarised from the official DBATU syllabus . AiCanCode.org is not affiliated with Dr. Babasaheb Ambedkar Technological University (DBATU).