SUK · Third Year B.Tech. Computer Science and Engineering (Artificial Intelligence and Data Science) · NEP 2020
Java Programming
AI&DS3103 · Semester V · 2 credits · ISE 10 + mid-semester 30 + ESE 60
A 2-credit course.
Unit 1: Fundamental Programming in Java
5 hoursThe Java buzzwords and environment: JVM, JIT, byte code and HotSpot; a simple program, data types, variables, operators, strings, I/O, control flow and jagged arrays; classes, members, methods, constructors, access control, static members and this.
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
- Control structures and loops in Java
- Arrays and multidimensional arrays
- Constructors, access control and this
- Static members, final and garbage collection
Unit 2: Inheritance, Interfaces and Packages
5 hoursSuperclasses and subclasses, overriding and hiding, polymorphism, super, final and abstract classes and methods; defining, implementing and evolving interfaces and default methods; creating, naming and using packages.
Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then
- Inheritance and polymorphism
- Abstract classes and interfaces
- Packages and the class path
Unit 3: Exceptions and I/O Streams
5 hoursClassifying, declaring, throwing, catching and creating exceptions and the finally clause; byte, data, file, character and buffered streams, Scanner and random file access.
Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then
- Exception handling in Java
- User-defined exceptions
- Byte and character streams
- File processing and NIO
Unit 4: GUIs with Swing and Event Handling
5 hoursAWT and Swing, Swing architecture and packages; containers and components, menus and layout managers; the event-driven model, listeners, mouse, keyboard and window events, adapter classes; MVC in Swing.
Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then
- Swing and layout management
- Swing components: text fields, buttons, lists, menus and dialogs
- Event handling in Java: listeners, adapter classes and mouse events
Unit 5: Multithreading and Collections
4 hoursProcesses and threads, Runnable and Thread, sleep, interrupts, thread states and properties, joins and synchronisation; collection interfaces and the concrete List, Queue, Set and Map collections.
Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then
- Threads, thread states and priorities
- Thread synchronisation
- Java collections framework
- Lists, sets, maps and iterators
Unit 6: Database Programming
4 hoursThe design of JDBC, installation and basic programming; query execution, scrollable and updatable result sets, metadata, row sets and transactions.
Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then
- JDBC and prepared statements
Unit contents are summarised from the official SUK syllabus . AiCanCode.org is not affiliated with Shivaji University, Kolhapur.