Вы находитесь на странице: 1из 5

Course Title: Core Java L T P/S SW/F TOTAL

Course Level: PG W CREDIT


UNITS
Course Code: CSIT725 3 2 - 4

Credit Units: 4

Course Objectives:
The objective of the course is to :

Give proficiency in developing applications and applets in Java.

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.

Pre-requisites: Object oriented programming using C++

Course Contents/Syllabus:
Weightage (%)
Module I: Introduction to JAVA Programming 15%

Introduction to Java, OOPS concepts, Java features


Data Types, Variables, identifiers, Arrays, Operators, and Control Statements; Command line arguments;

Module II: Java with Object Orientated Features 20%


Introducing Classes, A Closer look at Methods and Classes, constructors, types of constructors, method overloading;
Inheritance, Single Inheritance, Multilevel hierarchy; Method overriding; Abstract classes; Interface; final; static; super; Garbage Collection;

Module III: Exception Handling and Multithreading 20%

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

Module IV: Java Packages 15%

Introduction to package; import – using java defined packages; package creation;


Introduction to lang Package classes; Introduction to IO package – input streams, output streams, Sample programs on I/O files; string
handling;
Module V: GUI and Event Driven Programming 15%

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;

Module VI: Applet and Graphics 15%

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

Student Learning Outcome:


After completion of this course, the student will be able to:
Understand fundamentals of object-oriented programming in Java
write a computer program to solve specified problems.
use the Java SDK environment to create, debug and run simple Java programs
write a computer program to solve specified problems
Pedagogy for Course Delivery:

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

2. WAP to perform the following operations on strings through interactive input.

a) Sort given strings in alphabetical order.


b) Check whether one string is sub string of another string or not.
c) Convert the strings to uppercase.

3. WAP to simulate on-line shopping.

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.

8 Write an Applet program to design a simple calculator.

9 .Write a program to read a text and count all the occurrences


of a given word. Also, display their positions.
10. Write an applet illustrating sequence of events in an applet.
11. Illustrate the method overriding in JAVA.
12. Design a program to fill elements into a list. Also, copy them
in reverse order into another list.
13. Write an interactive program to accept name of a person and
validate it. If the name contains any numeric value throw an
exception ―Invalid Name‖ .
14. Write an applet program to insert the text at the specified
position.
15. Prompt for the cost price and selling price of an article and
display the profit (or) loss percentage.

Assessment/ Examination Scheme:

Theory L/T (%) Lab/Practical/Studio (%) End Term Examination

75 25 100

Theory Assessment (L&T):


Continuous Assessment/Internal Assessment End Term Examination

Components (Drop down)


CT H V A EE

Weightage (%)
10 10 5 5 70

Lab/ Practical/ Studio Assessment:

Continuous Assessment/Internal Assessment End Term Examination

Components (Drop down Experiment Viva


LR CT PR V A
Weightage (%) 10 10 10 5 5 40 20

Text Books

The-Complete-Reference-J2SE-5th-Edition Tata Mc Graw Hill,2002

Programming With Java, Balagurusamy, E. 2nd ed TMH,2010

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

Вам также может понравиться