Sie sind auf Seite 1von 5

Programme : Diploma Programme in IF / CM

Course : Java Programming Course code : 1441


Prerequisite : Nil

Teaching & Examination Scheme:


Teaching Scheme Examination Scheme
Hrs / week TH Marks
Credits
TH TU PR Paper Hrs. TH TEST TH+TEST PR OR TW TOTAL
Max. 80 20 100 25 -- 25 150
03 -- 04 07 03
Min. 32 -- 40 10 -- 10 --

Rationale:
Java language is an object oriented programming language that was designed to
meet the need for a platform independent language. Java used to create application that run
on a single computer as well as distributed network. Java is both a language and a
technology used to develop Internet-- Based Applications. With This increasing use of
Internet Java has become a widely used programming language. Java Programs are
independent of the type of computer, telephone, television or operating system these
devices run on.
Further this course, which includes learning core java forms a foundation for learning
Advanced java.

Objectives:
The student will be able to
1. Apply object oriented features to real time entities
2. Design and implement classes and methods
3. Understand and implement the concept of reusability and extensibility
4. Differentiate between primitive data types and class data types and implement
conversion between them.
5. Understand and implement basic programming constructs
6. Design and implement multithreaded programs
7. Manage errors and exceptions
8. Design and implement applet and graphics programming
9. Create packages and interfaces and used it in programs
10. Make use of Data streams in programs
11. Write programs by combining all features of Java.
12. Write Internet related Applications.
13. To Develop Stand alone and Network Base Applications.

109
Contents: Theory
Topic Topic & Subtopic Hours Marks
No.
1 1.1 Introduction And Features of Java
Features of Object Oriented Programming, Object and Classes, Data 10 16
abstraction and encapsulation, Inheritance, Polymorphism, Dynamic
Binding, Resilience to change, Reusability of Code, Modularity of
Code
1.2 Java Features
Simple, Compiled and Interpreted, Platform independent and
portable, Object oriented
Distributed, Multithreaded and interactive, High performance,
Secure.
1.3 Data Types in Java
Data Types, Constant, Symbolic Constant, Scope of variable, Type
casting, Standard default values, Java Literals.
1.4 Operator and Expression
Arithmetic Operators, Bit wise Operator, Relational Operators,
Boolean Logical Operators, Assignment Operator Increment and
Decrement Operator, Conditional Operator, , Special Operator,
Operator Precedence.
1.5 Decision making and Branching Statement.
Javas Selection Statement, if statement, The if else statement, The
else if ladder, The switch statement, The ?: Operator
1.6 Decision making and Looping Iteration.
The While statement, The do while statement, The for statement,
Nested Loops, Jumps in Loops, Labeled Loops
2 2.1 Classes, Object and Methods 08 14
class Fundamentals, Declaring and Creating object, Accessing class
members and methods, Constructor, Methods Overloading, Static
Member
2.2 Inheritance
Defining a subclass Constructor, Multilevel inheritance, Hybrid
Inheritance, Hierarchical inheritance, Overriding Methods, Final
variable and Methods, Final Classes, Abstract method and Classes
2.3 Visibility Control
Public access, friend access, Protected access, Private access,
Private Protected access
2.4 Array, Strings, Vectors and Wrapper Class
Arrays, One Dimensional array, Creating an array, Two Dimensional
array, Strings, Vectors, Wrapper Classes
3 Packages and Interfaces 08 14
3.1 Packages: Define a Package, Using system Package, Naming
Convention, Creating Package, Accessing a package, Import a
package, adding a class to a package
3.2 Interface: Defining interfaces, Extending interfaces, Implementing
interfaces, Accessing Interface variable, Applying Interfaces.
4 Multithreaded Programming and Exception handling 08 16
4.1 Multi Threading: The Java Thread Model, The Main Thread,
Creating Thread, Extending a thread class, Stopping and Blocking a

110
Topic Topic & Subtopic Hours Marks
No.
thread, Life cycle of thread, Using thread method, Thread
exceptions, Thread priority, Synchronization, Implementing a
Runnable Interface
4.2 Managing Errors and Exceptions: Exception handling
fundaments, Types of errors, Exception, Using Try and Catch,
Multiple catch statement, using finally statement, Using Exception
for Debugging
5 Graphics Programming And Internet Programming (Applets) 08 12
5.1 Graphics Programming:
The Graphics Class, Lines and rectangle, Circle and Ellipse, Drawing
Arcs, Drawing Polygons, Line Graphs, Using control loops in Applets,
Drawing Bar charts, Panel, Frame, Canvas
5.2 Applet Programming:
Applet Class, Applet Architecture, Local and remote applets, How
applet differ from application, Preparing to write applets, Building
applet code, Applet life cycle, Creating an Executable Applet,
Designing a Web page, Applet tag, Adding Applet to HTML file,
Running the Applet, Passing parameter to applet
5. 3 Introduction to Swing.
6 File I/O and Streams And Event Handling 06 08
6.1 Stream Classes
6.2 Character Stream, Byte Stream
6.3 Using Stream I/O
6.4 Serialization
6.5 Event Handling- Event, Event Classes, Sources of Event, listener
interface
Total 48 80

111
Laboratory Work: (Minimum Ten)
SN List of practicals
1 Write a simple Java program to demonstrate use of command line arguments in Java.
2 Write a Java Program to define a class, describe its constructor, overload the constructors and
instantiate its object
3 Write a Java Program to define a class, define instance methods and overload them and use
them for dynamic method invocation.
4 Write a Java Program to demonstrate use of nested class.
5 Write a Java Program to practice
--use of single Dimensional array.
--use of multidimensional array.
6 Write a Java program to practice
--using String class and its methods.
--using String Buffer class and its methods.
7 Write a Java Program to implement Wrapper classes and their methods.
8 Write a Java Program to implement multilevel inheritance by applying various access controls
to its data members and methods.
9 Write a program to demonstrate
--use of implementing interfaces.
--use of extending interfaces.
10 Write a program to implement the concept of threading.
11 Write a program to implement the concept of Exception Handling
--using predefined exception.
--by creating user defined exceptions.
12 Write a program to implement the concept of Synchronization for
--object synchronization.
--method synchronization.
13 Write a program using Applet
--to display a message in the Applet.
--for configuring Applets by passing parameters.
14 Write program to demonstrate use of I/O streams.

112
Learning Resources:
Text Books:
SN Author Title Publisher
1 E. Balagurusamy Programming with Java BPB
2 Patrick Naughton--Herbert The Complete Reference Java 2 Tata McGraw Hill
Schildt (Third Edition)
3 Java2 Programming Keyur Shah Tata McGraw Hill
4 Cohoon & Davidson Java Program design Tata McGraw Hill
5 Jawroski Java2 Unleashed Techmedia
6 John R. Hubbard Programming with Java Tata McGraw Hill

Notes:
LCD has to be used for effective learning for all the topics.
CDs And DVDs: Teach Yourself Java In 21 Days (Professional Reference Edition)-
-, Java Unleashed Second Edition, Special Edition using Java, 2nd edition

Web Sites:
1. http://www.sun. java. com
2. http://www.osborne. com
3. http://www.cplusplus. com
4. http://www.sun. java. com (For downloading JDK for Practical)

113

Das könnte Ihnen auch gefallen