II CSE – II SEM K.
Kanaka Vardhini 2019-20
DRK COLLEGE OF ENGINEERING AND TECHNOLOGY
HYDERBAD
Handout
Academic Year: 2019 – 20 , Semester: II
Faculty: K.Kanaka Vardhnini Designation: Assistant Professor Dept.: CSE
Class: II B.Tech Branch: CSE Subject: JAVA Programming
1. Course objectives
To introduce the object oriented programming concepts.
To understand object oriented programming concepts, and apply them in solving
problems.
To introduce the principles of inheritance and polymorphism; and demonstrate how they
related to the design of abstract classes
To introduce the implementation of packages and interfaces
To introduce the concepts of exception handling and multithreading.
To introduce the design of Graphical User Interface using applets and swing controls
.2. Suggested Research and Survey Themes
3. Contents beyond syllabus
1. Data Mining Primitives
2. Data Generalization and Summarization
3. Other Classification Methods
4. Multidimensional Analysis and Descriptive Mining of
Complex Data Objects
5. Mining Spatial Databases
6. Mining Multimedia Databases
7. Mining Time-Series and Sequence Data
8. Mining Text Databases
9. Mining the World Wide Web
Department of CSE 1 DRK COLLEGE OF ENGINEERING AND TECHNOLOGY
II CSE – II SEM K.Kanaka Vardhini 2019-20
10. Some of the Data Mining Applications
11. Trends,issues,research directions in Data mining
4. Prescribed text books
1. Java The complete reference, 9th edition, Herbert Schildt, McGraw Hill Education (India)
Pvt.Ltd.
2. Understanding Object-Oriented Programming with Java, updated edition, T. Budd, Pearson
Education
5. Reference books
1. An Introduction to programming and OO design using Java, J. Nino and F.A. Hosch,
John Wiley & sons
2. Introduction to Java programming, Y. Daniel Liang, Pearson Education.
3. Object Oriented Programming through Java, P. Radha Krishna, University Press.
4. Programming in Java, S. Malhotra, S. Chudhary, 2nd edition, Oxford Univ. Press.
5. Java Programming and Object-oriented Application Development, R. A. Johnson, Cengage
Learning
.6. URLs and other e-learning resources
https://www.javatpoint.com/features-of-java
https://www.w3schools.com/java/
https://www.edureka.co/blog/object-oriented-programming/
7. Brief history and current developments in the subject area
This course gives an in-depth understanding of object-oriented programming using the java
programming language, object oriented design, and design patterns. The course will be taught with
live demonstrations, running and debugging several examples on tools like Eclipse. The later part of
the course focuses on designing object-oriented software. After the completion of this course a
student should be able to effectively realize and implement real world problems using object oriented
principles and techniques.
8. Lecture schedule / lesson plan
Name of the Topic No. of Periods
UNIT – I
Object-oriented thinking:
A way of viewing world Agents and Communities , Messages and methods 1
Responsibilities, Classes and Instances
Class Hierarchies- Inheritance 1
Method binding, Overriding and Exceptions 1
Summary of Object-Oriented concepts 1
Java buzzwords 1
Department of CSE 2 DRK COLLEGE OF ENGINEERING AND TECHNOLOGY
II CSE – II SEM K.Kanaka Vardhini 2019-20
An Overview of Java, Data types, Variables and Arrays 1
operators ,expressions, control statements 1
Introducing classes, Methods and Classes, String handling 2
Inheritance concept, Inheritance basics, Member access 2
Constructors, Creating Multilevel hierarchy
super uses, using final with inheritance 1
Polymorphism-ad hoc polymorphism, pure polymorphism 1
Method overriding, abstract classes, Object class 1
Forms of inheritance- specialization, specification, construction, extension, 2
limitation, combination .Benefits of inheritance, costs of inheritance
UNIT – II
Packages- Defining a Package, CLASSPATH, Access protection, importing packages 2
Interfaces- defining an interface, implementing interfaces, Nested interfaces 1
Applying interfaces, variables in interfaces and extending interfaces 1
The Stream classes-Byte streams and Character streams 1
Reading console Input and Writing Console Output 1
File class, Reading and writing Files 2
Random access file operations, The Console class, 2
Serialization, Enumerations, auto boxing 2
Generics 1
UNIT – III
Fundamentals of exception handling, Exception types, 2
Termination or resumptive models
Uncaught exceptions, using try and catch, multiple catch clauses 2
Nested try statements, throw, throws and finally 1
Built- in exceptions, creating own exception sub classes 1
Differences between thread-based multitasking and process-based multitasking 1
Java thread model, creating threads 2
Thread priorities, synchronizing threads 2
Inter thread communication 2
UNIT - IV
Collections overview, Collection Interfaces 1
The Collection classes- Array List, Linked List, Hash Set
Tree Set, Priority Queue, Array Deque 3
Accessing a Collection via an Iterator 1
Using an Iterator, The For-Each alternative 1
Map Interfaces and Classes 1
Comparators, Collection algorithms 1
Arrays, The Legacy Classes and Interfaces- Dictionary
Hashtable ,Properties, Stack, Vector 2
More Utility classes, String Tokenizer Bit Set, Date, Calendar 2
Random, Formatter, Scanner
UNIT – V
Department of CSE 3 DRK COLLEGE OF ENGINEERING AND TECHNOLOGY
II CSE – II SEM K.Kanaka Vardhini 2019-20
Introduction, limitations of AWT, MVC architecture components, containers 2
Understanding Layout Managers, Flow Layout, Border Layout 1
Grid Layout, Card Layout, Grid Bag Layout 1
The Delegation event model- Events, Event sources, Event Listeners
Event classes, Handling mouse and keyboard events 2
Adapter classes, Inner classes, Anonymous Inner classes 1
A Simple Swing Application, Applets – Applets and HTML
Security Issues, Applets and Applications, passing parameters to applets 2
Creating a Swing Applet, Painting in Swing, A Paint example 2
Exploring Swing Controls- JLabel and Image Icon, JText Field 1
The Swing Buttons- JButton, JToggle Button, JCheck Box 1
JRadio Button, JTabbed Pane, JScroll Pane 1
JList, JCombo Box, Swing Menus, Dialogs 1
TOTAL PERIODS: 67
9 Seminars / group discussions, if any and their schedule
10. Distribution and Weightage of Marks
11. Attendance Requirements:
A student shall be eligible to appear for University examinations if he acquires a minimum of 75%
of attendance.
12. Academic Calendar
The Proposed Academic Calendar for II Year I Semester B.Tech courses during the Academic
year 2019-20 is detailed below.
B.TECH IV YEAR II Semester
Description From To Weeks
Commencement of Class Work -
I Unit of Instructions 8W
I Mid Examinations 1W
II Unit of Instruction 8W
II Mid Examinations 1W
Preparation & Practical 2W
End Examinations 2W
13. Assignments and tutorials questions
Unit-I
Unit-II
Unit-III
Department of CSE 4 DRK COLLEGE OF ENGINEERING AND TECHNOLOGY
II CSE – II SEM K.Kanaka Vardhini 2019-20
Unit – IV
Unit-V
14. Consultation hours for discussions
For clearing doubts of students consulting time is from 3:10PM to 3:40PM from Monday to
Friday
(K.Kanaka Vardhini)
Department of CSE 5 DRK COLLEGE OF ENGINEERING AND TECHNOLOGY