0% found this document useful (0 votes)
31 views3 pages

JAVA PROGRAMMING

EASY TO LEARN

Uploaded by

Jemima A
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
0% found this document useful (0 votes)
31 views3 pages

JAVA PROGRAMMING

EASY TO LEARN

Uploaded by

Jemima A
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 3

L T P C

JAVA PROGRAMMING
2 0 2 3
PREREQUISITES:
Students are expected to have fundamental knowledge on design challenges in the Java programming.
COURSE OBJECTIVES:
 To build software development skills using java programming for real-world applications.
 To understand and apply the concepts of classes, packages, interfaces, array list, exception
handling and file processing.
 To introduce the implementation of packages and interfaces.
 To develop applications using generic programming and event handling
SYLLABUS

UNIT I JAVA FUNDAMENTALS 9

Features of Java, OOPs concepts, Java virtual machine, Reflection byte codes, Byte code
interpretation .Overview of Java-Data types, variable, arrays, expressions, operators, and control
statements, Objects and classes.

UNIT II JAVA CLASSES AND PACKAGES 9


Abstract classes Static classes Inner classes. Inheritance: Basics– Types of Inheritance -Super
keyword -Method Overriding – Dynamic Method Dispatch –Abstract Classes – final with
Inheritance. Packages: Class import, static import, adding your class to a package, package scope,
Interfaces.
UNIT III MULTI THREADING AND EXCEPTION HANDLING 9
Multithreaded Programming: Thread Life cycle- Creating a Thread and Multiple Threads – Priorities
-Multi threading advantages and issues - Thread synchronization. Exception handling- Exception as
objects -Exception hierarchy- Try catch finally Throw, throws.
UNIT IV I/O, GENERICS & STRING HANDLING 9
I/O Basics – Reading and Writing Console I/O – Reading and Writing Files. Generics: Generic
Programming – Generic classes – Generic Methods – Bounded Types – Restrictions and
Limitations. Strings: Basic String class, methods and String Buffer Class.
UNIT V USER INTERFACE PROGRAMMING 9
Applets: Simple Applet, the Applet HTML tags, Parameter passing to applet, accessing image and
Audio files, Applet context. Swing: Introduction, Creating a Frame, Positioning a Frame, Layout
Management, Text Input, Choice Components, Menus, Dialog Boxes. Event Handling- Basics of
Event Handling, The AWT Event Hierarchy.
Total Period 45

PRACTICAL EXERCISES:
30 PERIODS
1. Develop a Java application to generate Electricity bill. Create a class with the following members:
Consumer no., consumer name, previous month reading, current month reading, and type of EB
connection (i.e domestic or commercial). Compute the bill amount using the following tariff.
If the type of the EB connection is domestic, calculate the amount to be paid as follows:
 First 100 units - Rs. 1 per unit
 101-200 units - Rs. 2.50 per unit
 201 -500 units - Rs. 4 per unit
 > 501 units - Rs. 6 per unit
If the type of the EB connection is commercial, calculate the amount to be paid as follows:
 First 100 units - Rs. 2 per unit
 101-200 units - Rs. 4.50 per unit
 201 -500 units - Rs. 6 per unit
 > 501 units - Rs. 7 per unit
2. Develop a java application to implement currency converter (Dollar to INR, EURO to INR, Yen to
INR and vice versa), distance converter (meter to KM, miles to KM and vice versa), time converter
(hours to minutes, seconds and vice versa) using packages.
3. Develop a java application with Employee class with Emp_name, Emp_id, Address, Mail_id, Mobile
no as members. Inherit the classes, Programmer, Assistant Professor, Associate Professor and
Professor from employee class. Add Basic Pay (BP) as the member of all the inherited classes with
97% of BP as DA, 10 % of BP as HRA, 12% of BP as PF, 0.1% of BP for staff club fund. Generate
pay slips for the employees with their gross and net salary.
4. Design a Java interface for ADT Stack. Implement this interface using array. Provide necessary
exception handling in both the implementations
5. Write a java program that implements a multi-threaded application that has three threads. First thread
generates a random integer every 1 second and if the value is even, second thread computes the square
of the number and prints. If the value is odd, the third thread will print the value of cube of the
number.
6. Write a java program to find the maximum value from the given type of elements using a generic
function.
7. Write a Java program to implement user defined exception handling
TOTAL:30 PERIODS

CO COURSE OUTCOME K LEVEL


At the end of the course student will be able to
CO 1 Able to understand the use of abstract classes. K2
CO 2 Able to solve problems using java collection framework and I/o classes K3
CO 3 Able to develop multithreaded applications with synchronization. K2
Develop and implement Java programs for simple applications that make use
CO 4 K6
of classes, packages and interfaces
Develop and implement Java programs with array list, exception handling
CO 5 K2
and multithreading.
Design applications using file processing, generic programming and event
CO6 K2
handling.

TEXT BOOKS
The complete reference, 9th edition, Herbert Schildt, McGraw Hill Education (India) Pvt. Ltd.
Java Understanding Object-Oriented Programming with Java, updated edition, T. Budd, Pearson
Education.
REFERENCES
1. Introduction to Java programming, Y. Daniel Liang, Pearson Education.
2. Programming in Java, S. Malhotra, S. Chudhary, 2nd edition, Oxford Univ. Press.
3. Java Programming and Object-oriented Application Development, R. A. Johnson, Cengage Learning.

CO’s- PO’s & PSO’s MAPPING

CO/ PO PO PO PO PO PO PO PO PO PO PO PO PS PS PS
PO 1 2 3 4 5 6 7 8 9 10 11 12 O1 O2 O3
CO 1 1 2 1 1 1 - - - 2 3 1 3 2 1 3
CO 2 3 1 2 2 1 - - - 1 2 1 3 2 2 1
CO 3 2 3 2 3 1 - - - 3 3 1 2 1 3
CO 4 3 2 3 3 3 - - - 2 2 1 1 2 3 3
CO 5 2 3 3 1 3 - - - 2 2 1 2 2 2 3
Aver
2.8 2.2 2.2 2 1.8 - - - 2.2 2.2 1 2.6 1.6 1.8 2.2
age
3 Strongly Agreed 2 Moderately Agreed 1 Reasonably Agreed

EVALUATION PATTERN:

Continuous Internal Assessments


Assessment I Assessment II
(100 Marks) (100 Marks) Total End Semester
*Individual *Individual Internal Examinations
Written Written
Assignment / Assignment / Assessments
Test Test
Seminar/MCQ Seminar/MCQ
40 60 40 60 200 100
40 60
Total
100
*Oral Presentation / Paper Presentation / Technical Presentation / Debates / Role Play can also be
provided, Course Designer can choose any one / two components based on the nature of the course.

You might also like