ITL202 - Ktu Qbank
ITL202 - Ktu Qbank
ITL202 - Ktu Qbank
Preamble:
This lab is intended to make the students capable of
Understanding the importance of Object Oriented Programming in designing the
Software applications,
Implementing programs using Object oriented concepts of inheritance and
polymorphism,
Analysing the given problem to design multithreaded programs,
Developing robust programs using exception handling features in Java.
Course Outcomes: After the completion of the course the student will be able to
Bloom’s
CO Course Outcome(CO)
No Category
Solve the given problem by applying Object oriented features and Apply
CO 1
Java concepts.
CO 2 Implement the concept of method and constructor overloading Apply
CO 3 Implement the concept of inheritance Apply Apply
Use the concept of multithreading and modify an existing program Apply
CO 4 with proper exception handling
CO 5 Build Robust programs in JAVA using AWT and SWING Apply
PO PO PO PO PO PO PO PO PO PO PO PO
1 2 3 4 5 6 7 8 9 10 11 12
CO 1 3 2 2 1 2 - - - - - - 1
CO 2 2 2 2 - 2 - - - - - - 1
CO 3 2 2 2 - 2 - - - - - - 1
CO 4 2 3 3 1 2 - - - - - - 2
CO 5 2 3 3 1 3 - - - - - - 2
3/2/1: High/Medium/Low
INFORMATION TECHNOLOGY
Assessment Pattern
Mark distribution
Attendance : 15 marks
Continuous Assessment : 30 marks
Internal Test (Immediately before the second series test) : 30 marks
1. Develop a program in Java to display the details of bank account using Class.
3. Construct a Java class to store some employee details and provide methods to set and
get values.
2. Develop a java program to create an abstract class named Shape that contains two
integers and an empty method named printArea(). Provide three classes named
Rectangle, Triangle and Circle such that each one of the classes extends the class
Shape. Each one of the classes contain only the method printArea( ) that prints the
area of the given shape.
3. Suppose your institution wishes to maintain a database of its employees. The database
is divided into a number of classes whose (Assistant Professor, Associate Professor,
Professor etc). Construct a Super Class Person to store personal information. Derive
all the above classes from the Class. Develop a Java program to specify all the classes
and define functions to create the database and retrieve individual information as and
when required. Support at least 5 employees on each category.
2. Construct a Stack Class with proper exception handling mechanisms. While doing a
Pop operation, if the stack is empty then display an error message. While doing a
Push operation, if the stack is full then display corresponding error message.
3. Develop a java program that implements a multi-thread application that has three
threads. First thread generates random integer for every 1 second and if the value is
even, second thread computes the square of the number and prints and if the value is
odd, the third thread will print the value of cube of the number.
3. Develop a Java program that works as a simple calculator using SWING. Use a grid
layout to arrange buttons for the digits and for the +, -,*, % operations. Add a text
field to display the result. Handle any possible exceptions like divide by zero.
LIST OF EXPERIMENTS
IV Programs to implement
(i) AWT
(i) SWING
INFORMATION TECHNOLOGY
Reference Books
1. Herbert Schildt, Java: The Complete Reference, 8/e, Tata McGraw Hill, 2011.