AAB CD 01a Core - Java
AAB CD 01a Core - Java
Please give your valuable feedback ratings (on the scale of 6 points) for following course curriculum with respect to relevance to Industry / Profession:
6 5 4 3 2 1
Excellent Very Good Moderate Needs Improvement Poor
Good
1 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..
2 Prerequisites:
Object oriented programming using C++
3 Student Learning Outcomes:
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
Course Contents / Syllabus:
4 Module I Introduction to JAVA Programming
Introduction to Java, OOPS concepts, Java features 15% Weightage 4
Data Types, Variables, identifiers, Arrays, Operators, and Control Statements;
Command line arguments;
5 Module II Java with Object Orientated Features
Introducing Classes, A Closer look at Methods and Classes, constructors, types 20% Weightage 4
of constructors, method overloading;
Inheritance, Single Inheritance, Multilevel hierarchy; Method overriding;
Abstract classes; Interface; final; static; super; Garbage Collection;
6 Module III Exception Handling and Multithreading
Exception fundamentals, exception types, uncaught exceptions, throws, throw, try 20% Weightage 4
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
7 Module IV Java Packages
Introduction to package; import – using java defined packages; package creation; 15% Weightage 4
Introduction to lang Package classes; Introduction to IO package – input streams,
output streams, Sample programs on I/O files; string handling;
8 Module V GUI and Event Driven Programming
Applets Introduction, Life cycle of an applet, Applet Creation, Applet Execution, 15% Weightage 4
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;
9 Module VI Applet and Graphics
Basics, networking classes and interfaces, using java.net package, doing TCP/IP and 15% Weightage 4
Datagram Programming;
JDBC Architecture, Connection interface, Java database connectivity, introduction
to package java.sql.*, working with SQL statements
10
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.
Weightage (%)
Text:
1. The-Complete-Reference-J2SE-5th-Edition Tata Mc Graw Hill,2002
2. Programming With Java, Balagurusamy, E. 2nd ed TMH,2010
References:
1. Core Java : Volume I – Fundamentals, Horstmann, C. S/ Cornell, G. 8th ed Pearson,2013
2. Core Java 2: Volume II – Advanced Features, Horstmann, C. S/ Cornell, G. 8th ed Pearson 2013
3. Java 2 Programming Bible Walsh, A/ Couch J/ Steinberg, D. IDG Books India Ltd, 1996
4. Java 2 Programming: Black Book, Holzner, Steven 5th ed Dreamtech, 2012 -2013
OK