Java
Java
Credit Units: 4
Course Objectives:
The objective of the course is to :
Teach the basic concepts and techniques which form the object oriented programming paradigm
Test, document and prepare a professional looking package for each business project using javadoc.
Students will be able to learn database connectivity through java using JDBC.
Course Contents/Syllabus:
Weightage (%)
Module I: Introduction to JAVA Programming 15%
Exception fundamentals, exception types, uncaught exceptions, throws, throw, try and catch, finally, built in exception, creating and using
user defined exception
Multithreading fundaments, thread creation, running a thread, thread priorities, synchronization suspending, resuming and stopping Threads
Applets Introduction, Life cycle of an applet, Applet Creation, Applet Execution, HTML basic tags;
Graphics introduction, use of Graphics classes to create UI in an applet
AWT- Introduction to AWT, Event handling Mechanism, Event Model, Event Classes, Sources of Events, Event Listener Interfaces,
Working with Windows, AWT Controls; Layout Manager; Introduction to swing classes and controls; Advantages of swings over AWT;
Basics, networking classes and interfaces, using java.net package, doing TCP/IP and Datagram Programming;
JDBC Architecture, Connection interface, Java database connectivity, introduction to package java.sql.*, working with SQL statements
By demonstrating OOPs & programming concepts in class room setting. Identifying problems, illustrating the design, creation and implementation of java
programs through examples. Defining new problems and perpetuating students to learn and retain information using hands on approach. By creating a structure
for students that will foster peer to peer support and depict upon knowledge from external source
List of Experiments:
1 WAP to determine the sum of the following harmonic series for a given value of ‗n‘.
1+1/2+1/3+. . . _1/n
4. Create two threads such that one of the thread print even no‘s and another prints odd no‘s up to a given range.
5.Define an exception called ―Marks Out Of Bound‖ Exception, that is thrown if the entered marks are greater than 100.
6 Write a JAVA program to shuffle the list elements using all the possible permutations.
7 Create a package called ―Arithmetic‖ that contains methods to deal with all arithmetic operations. Also, write a program to use the package.
75 25 100
Weightage (%)
10 10 5 5 70
Text Books
References:
Core Java : Volume I – Fundamentals, Horstmann, C. S/ Cornell, G. 8th ed Pearson,2013
Core Java 2: Volume II – Advanced Features, Horstmann, C. S/ Cornell, G. 8th ed Pearson 2013
Java 2 Programming Bible Walsh, A/ Couch J/ Steinberg, D. IDG Books India Ltd, 1996
Java 2 Programming: Black Book, Holzner, Steven 5th ed Dreamtech, 2012 -2013
Web References
www.java.sun.com/docs/books/tutorial
http://www.tutorialspoint.com/jsp/
http://struts.apache.org