course title java programming - rk universityrku.ac.in/.../2016/06/dce515_java-programming.pdf ·...

3
1| Page School of Diploma Studies Course Title JAVA PROGRAMMING Course Code DCE515 Course Credit Lecture : 3 Practical : 2 Tutorial : 0 Total : 5 Course Learning Outcomes At the end of the course, students will be able to: Analyze and design a computer program to solve problems based on object-oriented principles. Construct well-structured Java solutions using software development life cycle techniques Implement exception handling in Java. Develop efficient Java applets and applications using OOP concept. Write simple GUI interfaces for a computer program to interact with users, and to understand the event-based GUI handling principles. Detailed Syllabus Module No. Topics No. of Sessions SECTION I 1 BASICS OF JAVA History and advantages of Java, Setting the class path in java, Features of Java, Introduction to data types, variables and array, Operators and its scope, Control statements. 2 2 INTRODUCTION TO CLASSES. Basic fundamentals of class, Declaring objects, Dealing with objects, Introducing methods and its use, Different types of constructors, Use of this keyword, Garbage collection and finalize method, Wrapper class. 6 3 MORE ABOUT CLASSES AND METHODS Overloading methods with an example, To pass objects as a parameter, Recursion function, Static and Final keyword, Different types of classes like inner and nested class, Concepts of Command line arguments. 5 4 STRING HANDLING Different types of string constructors, Different string functions for, Character extraction, String comparison, Searching string and Modifying a 2

Upload: vantuyen

Post on 07-Apr-2018

232 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Course Title JAVA PROGRAMMING - RK Universityrku.ac.in/.../2016/06/DCE515_JAVA-PROGRAMMING.pdf · Course Title JAVA PROGRAMMING ... Sachin Malhotra, SaurabhChoudhary, Java Programming,

1 | P a g e S c h o o l o f D i p l o m a S t u d i e s

Course Title JAVA PROGRAMMING

Course Code DCE515

Course Credit

Lecture : 3

Practical : 2

Tutorial : 0

Total : 5

Course Learning Outcomes

At the end of the course, students will be able to: Analyze and design a computer program to solve problems based on object-oriented

principles. Construct well-structured Java solutions using software development life cycle

techniques Implement exception handling in Java. Develop efficient Java applets and applications using OOP concept. Write simple GUI interfaces for a computer program to interact with users, and to

understand the event-based GUI handling principles.

Detailed Syllabus

ModuleNo.

Topics No. ofSessions

SECTION I

1

BASICS OF JAVAHistory and advantages of Java, Setting the class path in java, Features ofJava, Introduction to data types, variables and array, Operators and itsscope, Control statements.

2

2

INTRODUCTION TO CLASSES.Basic fundamentals of class, Declaring objects, Dealing with objects,Introducing methods and its use, Different types of constructors, Use ofthis keyword, Garbage collection and finalize method, Wrapper class.

6

3

MORE ABOUT CLASSES AND METHODSOverloading methods with an example, To pass objects as a parameter,Recursion function, Static and Final keyword, Different types of classeslike inner and nested class, Concepts of Command line arguments.

5

4STRING HANDLINGDifferent types of string constructors, Different string functions for,Character extraction, String comparison, Searching string and Modifying a

2

Page 2: Course Title JAVA PROGRAMMING - RK Universityrku.ac.in/.../2016/06/DCE515_JAVA-PROGRAMMING.pdf · Course Title JAVA PROGRAMMING ... Sachin Malhotra, SaurabhChoudhary, Java Programming,

2 | P a g e S c h o o l o f D i p l o m a S t u d i e s

Reference Books

1. Herbert Schildtand, Complete Reference Java 2, TMH.2. E. Balagurusamy, Java programming, TMH.3. Sachin Malhotra, SaurabhChoudhary, Java Programming, Oxford.4. M. P. Bhave &S.A. Patekar, Programming with Java, Pearson.5. Y. Daniel Liang, Introduction to Java Programming, Pearson.6. Paul J. Deitel & Harvey M. Deitel, Java For programmers, Pearson.

string, Special string operation, String buffer and Buffered reader class,overview of Vector Class.

5

CONCEPTS OF INHERITANCEBasics of Inheritance, Types of Inheritance, Method overriding, Differencebetween overloading and overriding methods, Abstract classes andmethods, final with inheritance.

3

6PACKAGES AND INTERFACESPackages (Defining package, CLASS PATH), Access protection, Importingpackages, Interfaces, Difference between abstract class and interface

3

SECTION II

7

EXCEPTION HANDLINGFundamentals of Exception, Types of Exception, Using try and catch inException, Multiple catch clauses, Use of nested try statements, Keywordslike throw, throws and finally, Creating your own exception and subclasses.

6

8

MULTITHREADED PROGRAMMINGThe Java thread model and main thread, Creation of thread and multiplethreads, Using alive()&join() in thread, Thread priorities, SynchronizationInter thread communication, Suspending, resuming, stopping threads.

5

9

APPLETS AND ITS APPLICATIONSThe applet class, Applets and HTML (The applet Tag), Life cycle of applets.(Init, Start, Stop, Destroy method), Graphics class and itsfunctions,drawString,drawLine,drawRect,fillRect,clearRect,fillRoundRect,drawOvall, Painting the applet, Update, paint, repaint method, Passingparameters to applets getParameter()method.

3

10

USING AWT IN APPLICATIONSThe AWT classes, Layout Managers, Different types of Layout: FlowLayout,GridLayout, BorderLayout, CardLayout, Containers, Panel & Canvas,Window fundamentals, The frame class and The dialog class, Differenttypes of Controls: Textbox, pushbutton, label.

7

Page 3: Course Title JAVA PROGRAMMING - RK Universityrku.ac.in/.../2016/06/DCE515_JAVA-PROGRAMMING.pdf · Course Title JAVA PROGRAMMING ... Sachin Malhotra, SaurabhChoudhary, Java Programming,

3 | P a g e S c h o o l o f D i p l o m a S t u d i e s

List of Experiments

1. Implement a basic java program that demonstrates the use of Class & Object.2. Perform programs for Constructors, this keyword and finalize method.3. Develop a java programs that demonstrates the use of Final and static keyword4. Create a java program that shows the Implementation of Command line arguments.5. Perform the basic programs that can create an Array, Inner class and Nested class in

java.6. Develop a program that demonstrates the use of Super keyboard in java.7. Perform a program that shows the implementation of Inheritance.8. Develop a java program that demonstrates the use of Abstract class and Final key word.9. Develop a java program to create a Package and demonstrate that how packages are

used in java.10. Implement a java program that shows the use of Interface, creation of Multiple

Inheritance Using Interface11. Develop a basic java program that demonstrates the use of Exception Handling using

pre-defined Exception Classes.12. Create a java program that is used to implement user defined exception.13. Perform a java program that shows the creation of single thread and multi thread.14. Develop a java program to understand the concept of I/O stream class and determine

that how we can read data from the console input.15. Implement a java program that shows the use of String handling in Java.16. Develop a java program to create an Applet17. Perform basic java programs on Event Handling.18. Implementation of AWT classes, Frame and File Dialog in Java.19. Develop basic Programs for the applet using Layout and Menus.