Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya Department of Computer Science and Engineering
Page 82 of 162 Syllabus B.E[CSE] Full Time L T P C 3 1 0 3
CS5T4 - JAVA PROGRAMMING
(For Students admitted from 2014 onwards) PRE-REQUISITE:
Basic knowledge of C++ programming.
AIM:
The aims of the course are to develop experience in the Java language and its object-oriented features by the use of hands-on exercises to create both applications and applets. It will enable the students to understand the core principles of the Java Language.
OBJECTIVES:
1. To understand the concept of OOP as well as the purpose and usage principles of inheritance, polymorphism, encapsulation and method overloading.
2. To identify classes, objects, members of a class and the relationships among them needed for a specific problem.
3. To create Java application programs using sound OOP practices (e.g., interfaces and APIs) and proper program structuring (e.g., by using access control identifies, automatic documentation through comments, error exception handling)
4. To use testing and debugging tools to automatically discover errors of Java programs as well as use versioning tools for collaborative programming/editing.
5. To develop programs using the Java Collection API as well as the Java standard class library.
OUTCOMES:
After completion of the course the students are expected to be able to:
1. Design, implement, test, debug, and document programs that use basic data types and computation, simple I/O, conditional and iterative structures, and functions.
2. Describe and use the mechanics of parameter passing.
3. Discuss and use primitive data types and User defined data types.
4. Build applications using Java's object-oriented features.
5. Create applications and applets using Java class libraries 6. Develop applications in Java.
UNIT - I
Introduction to Java: Fundamentals of OOPS-Java Evolution, Java Vs C++-JVM-Java Tokens- Constants, Data Types & Variables, Operators and Expressions-String Handling: String Basics, String Operations, Character Extraction, String Buffer, Arrays, Classes, objects and Methods, Final, Static- Exception Handling. : Types of Errors, Exceptions, Exception Handling Mechanisms, Advantages, Throwing User defined Exceptions-Exploring java.io: Buffered InputStream &
Buffered OutputStream-Modifiers-Inheritance.
Sri Chandrasekharendra Saraswathi Viswa Mahavidyalaya Department of Computer Science and Engineering
Page 83 of 162 Syllabus B.E[CSE] Full Time UNIT – II
Interfaces: Defining Interfaces, Extending Interfaces, Implementing Interfaces, Accessing Interfaces-Packages: Creating and Accessing Packages, Mechanisms of Using Packages, Hiding
Classes, Import command.
UNIT - III
Multithread Programming: Fundamental Concepts, Thread Creations, Thread Life Cycle, Thread Priorities and Thread Scheduling, Thread Synchronization, InterThread Communication- Managing I/O Files: Concepts of I/O Streams, Stream classes, character Streams, Byte Streams, File Streams, random Access Files, and Serializations-Exploring java.net: InetAddress, Server Socket, socket, Datagram Packet, Datagram Socket, and Multicast Socket.
UNIT - IV
Exploring java.Util: collections, Enumerations, iterations, String Tokenizer, Bitset, Date, Calendar, Gregorian Calendar, Time Zone, Currency-Applet Programming: Applet Fundamentals-Java Application Vs Java Applets, Applet life Cycle, Building the Applet code, Running the Applet-Passing Parameters to Applet, Applet tag, Java Applet Package.
UNIT - V
Exploring javax.swing: JComponent, containers, panes, Layout Managers, Basic Components, Advanced Components-Handling Events: Listener, Interfaces and Adapter classed for various components-JDBC principles: Exploring java.sql-connection, DriverManager, Statement, Resultset, Callable statement, prepared Statement, Resultset Metadata & Database Meta Data.
TEXT BOOKS:
1. Herbert Schildt, “Java The Complete Reference” , 8th Edition, Tata McGraw Hill,2011.
2. James Jaworski, “Java Unleashed”, 4th revised edition, SAMS Techmedia Publications, Digitized-2010.
REFERENCE BOOKS:
1. Kogent Solution Inc ,Java 6 Programming Black Book, New Ed, Dreamtech Press, 2007 2. Campione, Walrath and Huml, “The Java Tutorial”, Addison Wesley,2001.
3. Elliotte Rusty Harold ,Java Network Programming, Second Edition, O'Reilly Media, Inc.", 2013, (for Java.net package in Unit -III)
4. Java Database Programming Bible, John O’ Donahue, illustrated Edition,Wiley, 2002 (for Unit -V)