Oops Lab
Oops Lab
NAME :
REGISTERNO :
ROLLNO : VM
YEAR : II
SEMESTER : III
_____________________________________________________________________________________
Name: …………………………………………………………………………………………………………
Certified that, this is the bonafide record of work done by the above student in the CS8383 -OBJECT
ORIENTED PROGRAMMING LABORATORY during the academic year 2019 – 2020.
Signature of Examiner’s
The use of current application software, the design and use of operating systems
PSO2 and the analysis, design, testing, and documentation of computer programs for the use
in information engineering technologies.
The design techniques, analysis and the building, testing, operation and maintenance
PSO3
of networks, databases, security and computer systems (both hardware and software).
PROGRAMME OUTCOMES (POs)
POs Programme Outcomes (POs)
Ability to identify, formulate and analyze complex technical problems in the recent cutting
2 edge areas of hardware and software applications to reach significant conclusions by applying
Mathematics, Natural sciences.
Ability to use research based knowledge and research methods to perform literature survey,
design experiments for complex problems in designing, developing and maintaining a
4
computing system, collect data from the experimental outcome, analyze and interpret valid /
interesting patterns and conclusions from the data points.
Ability to create, select and apply state of the art tools and techniques in designing, developing
5 and testing a computing system with the help of latest application software, operating systems,
simulation and databases tools.
Apply reasoning informed by contextual knowledge to assess societal, health, safety, legal and
cultural issues and the consequent responsibilities relevant to professional engineering
6
practice in system development and solutions to complex engineering problems related to
Information technologies.
Understand and evaluate the sustainability and impact of professional engineering work in the
7 solution of complex engineering problems related to societal and environmental contexts with
full responsibilities.
Recognize the need for, and have the preparation and ability to engage in independent and
12
lifelong learning in the broadest context of technological change.
CS8383 -OBJECT ORIENTED PROGRAMMING LABORATORY L T P C
0 0 4 2
OBJECTIVES:
To build software development skills using java programming for real-world applications.
To understand and apply the concepts of classes, packages, interfaces, arraylist, exception
handling and file processing.
LIST OF EXPERIMENTS :
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,
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:
If the type of the EB connection is commercial, calculate the amount to be paid as follows:
First 100 units - Rs. 2 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 program to perform string operations using Array List. Write functions for the
following a. Append - add at end b. Insert – add at particular index c. Search d. List all string
starts with given letter
6. Write a Java Program to create an abstract class named Shape that contains two integers and
an empty method named print Area(). Provide three classes named Rectangle, Triangle and
Circle such that each one of the classes extends the class Shape. Each one of the classes
contains only the method print Area () that prints the area of the given shape.
8. Write a Java program that reads a file name from the user, displays information about
whether the file exists, whether the file is readable, or writable, the type of file and the length
of the file in bytes.
9. 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.
10. Write a java program to find the maximum value from the given type of elements using a
generic function.
11. Design a calculator using event-driven programming paradigm of Java with the following
options. a) Decimal manipulations b) Scientific manipulations
12. Develop a mini project for any application using Java concepts.
COURSE OUTCOMES:
1. Develop and implement Java programs for simple applications that make use of classes
2.Develop and implement Java programs with arraylist, exception handling and multithreading.
3.Design applications using file processing, generic programming and event handling.
Mapping of CO's – Po’s and CO’s – PSO’s
CO1 2 2 3 3 3 1 - - 2 2 2 2 2
CO2 2 2 3 2 2 1 - - 1 2 1 1 1
CO3 3 1 1 3 3 - - - 1 2 1 1 1
CO4 2 2 3 2 2 - - - 1 2 2 2 2
CO5 2 2 3 3 3 1 - - 2 2 2 3 2
CO 2 2 3 3 3 1 - - 2 2 2 2 2