Matrusri Engineering College
(Sponsored by: MATRUSRI ERDUCATION SOCIETY, Estd: 1980)
(Approved by AICTE, Affiliated to Osmania University)
# 16-1-486, Saidabad, Hyderabad-500059. Ph: 040-24072764
Department of Computer Science and Engineering
Email-ID:
[email protected] Website: www.matrusri.edu.in
Subject with code: OOP using JAVA Lab
Academic Year: 2022-23
Year: III SEM
Faculty Name: Dr.L.K.Indumathi , Mr.A.V.Murali Krishna
Sec- A,B&C
Objectives:
The objectives of the course are to impart knowledge of:
1. To build software development skills using java programming for real world
applications.
2. To implement frontend and backend of an application
3. To implement classical problems using java programming.
Outcomes:
After the completion of the course, the student will be able to:
1. Develop Java applications using the concepts of Inheritance, interfaces, packages,
access control specifiers.
2. Implement the concepts of Exception Handling in java Applications.
3. Read and write data using different Java I/O streams.
4. Create graphical user interfaces and Applets by applying the knowledge of Event
Handling.
5. Create robust applications using Java standard class libraries and retrieve data from a
database with JDBC.
6. Ability to solve real-world problems by designing user friendly GUI with befitting
backend through the APIs of Java.
List Of Lab Programs
S. No Name of the Program Co
01 Write Java program to illustrate the concept of class with method 1
overloading.
02 Write a Java Program that reads a line of integers, and then displays each 1
integer, and the sum of all the integer (Use String Tokenizer class of java.
util)
03 Write a Java program to illustrate the concept of Single level and Multi 1
level Inheritance
04 Write a Java program to demonstrate the Interface and Abstract 1
Classes
05 Write a Java program to implement the concept of exception handling 1
06 Write a Java program to illustrate the concept of threading using 2
Thread Class and runnable Interface.
Matrusri Engineering College
(Sponsored by: MATRUSRI ERDUCATION SOCIETY, Estd: 1980)
(Approved by AICTE, Affiliated to Osmania University)
# 16-1-486, Saidabad, Hyderabad-500059. Ph: 040-24072764
Department of Computer Science and Engineering
Email-ID:
[email protected] Website: www.matrusri.edu.in
07 Write a Java program to illustrate the concept of Thread 2
synchronization.
08 Write a Java program that correctly implements producer consumer 2
problem using the concept of inter thread
09 Write a Java program to illustrate collection classes like Array List, 3
LinkedList, Tree map and Hash map.
10 Write a Java program to illustrate Legacy classes like Vector. Hashtable, 3
Dictionary & Enumeration interface.
11 Write a Java program to implement iteration over Collection 3
using Iterator interface and ListIterator interface
12 Write Java program that reads a file name from the user, and then displays 3
information about whether the file exists, whether the file is readable,
whether the file writable, the type of file and the length of the file in bytes.
13 Write a java program to illustrate the concept of I/O Streams 3
14 Write a Java program to implement serialization concept. 3
15 Write a Java applet program to implement Colour and Graphics 4
class 4
16 Write a Java applet program for handling mouse & key events 4
17 Write a Java applet program to implements Adapter classes. 4
18 Write a Java program that works as a simple calculator. Use a grid layout 4
to arrange buttons for the digits and for the +, -, *,
% operations. Add a text field to display the result.
19 Write an example for JDBC prepared statement with ResultSet 5
20 Write a Java Program to get primary key value (auto-generated keys) from 5
inserted queries using JDBC
21 Write a Java Program to create a simple JList 5
22 Write a Java Program to create a simple checkbox using 5
MAPPING COURSE OUTCOMES (COs) with POs and PSOs
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
CO1 2 3 3 - - 2 - - 2 - 2 2 2 2
CO2 - 3 3 - - - - - 2 - 2 2 2 2
CO3 2 3 3 - 2 2 - 2 2 - - 2 2 2
CO4 2 3 3 - 2 2 - - 2 - - 2 2 2
CO5 - 3 3 - 2 - - - 2 - 2 2 2 2
Avg 2.000 3.000 3.000 - 2.000 2.000 - 2.000 2.000 - 2.000 2.000 2.000 2.000