You are on page 1of 4

Computer Science and Engineering 129

_____________________________________________________________________________________

II- Year I- Semester Name of the Course L T P C


PC2103 Java Programming 3 0 0 3

Course Objectives:

1. To understand object-oriented programming concepts, and apply them in solving problems.


2. To make the students to learn the principles of inheritance and polymorphism; and to
demonstrate how they relate to the design of abstract classes; to introduce the
implementation of packages and interfaces.
3. To make the students to learn the concepts of exception handling.
4. To make the students to learn the concepts of multithreading.
5. To make the students to develop GUI applications.

Unit-I: Introduction to OOPS Concepts, Classes and Strings 8 Hrs


Introduction to Object Oriented Programming, Java buzzwords, Java Programming Basics, Sample
programs, Data types and operators, Control statements.
Classes: Classes, Objects, Methods, Constructors, this and static keywords, Method and
Constructor Overloading, Access modifiers, arrays-One Dimensional and multi-dimensional
arrays, Searching, Sorting.
Strings-Exploring the String class, String buffer class, Command-line arguments.

Unit – II: Inheritance, Interfaces, Packages 10 Hrs


Inheritance: Need of inheritance, types, super keyword, abstract classes, interfaces, compile time
and runtime polymorphism, Packages.

Unit – III: Exception Handling and I/O Streams 10 Hrs


Exception Handling: Concepts of Exception handling, Built-in exceptions, creating own
exception sub classes, Assertions.
Stream based I/O (java.io) – The Stream Classes-Byte streams and Character streams, reading
console Input and Writing Console Output, File class, Reading and writing Files, Random access
file operations, Object Serialization, exploring java.nio

Unit – IV: Multithreading 10 Hrs


Multithreading: Concepts of Multithreading, differences between process and thread, thread life
cycle, Thread class, Runnable interface, creating multiple threads, Synchronization, thread
priorities, inter thread communication, daemon threads, thread groups.

Unit – V: GUI Programming 10 Hrs


GUI Programming with Swing: Introduction, limitations of AWT, Various swing components &
hierarchy.
Computer Science and Engineering 130
_____________________________________________________________________________________

Event Handling- event delegation model, sources of event, Event Listeners, adapter classes, inner
classes.

Text Books

Java - The Complete Reference, Herbert Schildt, MC GRAW HILL Education, 9th Edition, 2016

Reference Books

1. “Java – How to Program”, Paul Deitel, Harvey Deitel, PHI.


2. “Core Java”, Nageswar Rao, Wiley Publishers.
3. “Thinking in Java”, Bruce Eckel, Pearson Education
4. “A Programmers Guide to Java SCJP”, Third Edition, Mughal, Rasmussen, Pearson.

Course Outcomes: By the end the of the course, the student will be able to

CO-1: Comprehend object-oriented programming concepts for problem solving.


CO-2: Build class hierarchy and packages for real world problems.
CO-3: Develop thread safe Java programs with appropriate Exception handling.
CO-4: Demonstrate multithreaded application programs through a language
CO-5: Design GUI applications using swings and multithreading.

CO-PO MAPPING MATRIX:

Mappi P0 P0 P0 P0 P0 P0 P0 P0 P0 P01 P01 P01 PSO PSO


ng 1 2 3 4 5 6 7 8 9 0 1 2 1 2
C01 - 2 1 1 - - - - - - - - 2 1
C02 - 2 2 2 1 - - - - - - - 2 1
C03 - 2 2 2 1 - - - - - - - 2 2
C04 - 2 2 2 1 - - - - - - - 2 1
C05 - 2 2 2 2 - - - - - - - 2 1
Computer Science and Engineering 131
_____________________________________________________________________________________

Micro syllabus for Java Programming

Unit – I: Introduction to OOPS Concepts, Classes and Strings 12 Hrs


Introduction to Object Oriented Programming, Java buzzwords, Java Programming Basics,
Sample programs, Data types and operators, Control statements.
Classes: Classes, Objects, Methods, Constructors, this and static keywords, Method and
Constructor Overloading, Access modifiers, arrays-One Dimensional and multi-dimensional
arrays, Searching, Sorting.
Strings-Exploring the String class, String buffer class, Command-line arguments.
Unit Module Micro content
Need of Java, JVM, JDK
Introduction to Object Oriented Programming
OOPS Vs structured programming
OOPs
Java buzzwords, Sample programs
Data types & operators
Introduction to
Control statements
OOPS Concepts,
Classes and Classes, Objects, Methods
Strings Constructors, this and static keywords
Classes
Method and Constructor Overloading,
Arrays, searching & sorting
String class & methods, problems related
Strings String buffer & String tokenizer
Command line arguments
Unit – II: Inheritance, Interfaces, Packages 12 Hrs
Inheritance: Need of inheritance, types, super keyword, abstract classes, interfaces, compile
time and runtime polymorphism, Packages.
Need for inheritance
Types of inheritance
Inheritance Super keyword
Abstract classes
Inheritance, Calling super class with sub class
Interface & Introduction
Packages Interface Dynamic method dispatch
Compile time & runtime polymorphism
Introduction, class path
Packages Built-in packages
User defined package,
Unit – III: Exception Handling and I/O Streams 12 Hrs
Exception Handling: Concepts of Exception handling, Built-in exceptions, creating own
exception sub classes, Assertions.
Stream based I/O (java.io) – The Stream Classes-Byte streams and Character streams, reading
console Input and Writing Console Output, File class, Reading and writing Files, Random access
file operations, Object Serialization, exploring java.nio
Computer Science and Engineering 132
_____________________________________________________________________________________

Introduction, Concepts of Exceptions - try, catch,


throw & throws, finally
Exception
Built-in exceptions
Handling
exception hierarchy
Exceptions & I/o User defined exceptions
Readers & Writers, Byte Stream, Random Access
files, object serialization
Stream & I/O
Exploring java.nio package
Reading console Input and Writing Console Output
Unit – IV: Multithreading 10 Hrs
Multithreading: Concepts of Multithreading, differences between process and thread, thread
life cycle, Thread class, Runnable interface, creating multiple threads, Synchronization, thread
priorities, inter thread communication, daemon threads, thread groups.
Introduction of Multitasking, Multitasking Vs
Multithreading
Process Vs Thread
Thread life cycle
Using Thread & Runnable Interfaces
Creation of multiple threads
Multithreading Multithreading Synchronization - Producer consumer problems,
Banker problems
Thread priorities
Inter thread communication
Daemon threads
Thread groups
All thread related methods
Unit – V: GUI Programming 14 Hrs
GUI Programming with Swing: Introduction, limitations of AWT, Various swing components
& hierarchy.
Event Handling- event delegation model, sources of event, Event Listeners, adapter classes,
inner classes.
GUI GUI with Introduction, AWT Vs Swings
Programming Swings Components & hierarchy
Event Delegation Model
Event Sources of events
Handling Event Listeners
Adapter Classes, Inner classes

You might also like