0% found this document useful (0 votes)
7 views

Java - Lab - Experiment List - 2023-24

Uploaded by

nitishjha8828
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Java - Lab - Experiment List - 2023-24

Uploaded by

nitishjha8828
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

17th July 2023

SE (IT) SEM-III

ITC304: JAVA LAB (SBL)

List of Experiments (Software Lab II, ATL)

Sr. LAB PO
BLOOM’
NAME OF THE EXPERIMENT OUTCOM MAPPIN
NO. S LEVEL
E G
PO1-PO5,
Program to introduce concept of scanner PO8,
1. L1, L2 LO1
and buffered reader. PO10,
PO12
Implement a java program to calculate
gross salary & net salary taking the PO1-PO5,
following data. PO8,
2. Input: empno, empname, basic L1, L2 LO1
PO10,
Process: DA=70% of basic, HRA=30% of PO12
basic, CCA=Rs240/- ,PF=10% of basic
PT=
WriteRs100/-
a Java program that prints all real
PO1-PO5,
solutions to the quadratic equation
PO8,
3. ax2+bx+c = 0. Read in a, b, c and use the L1, L2 LO1
PO10,
quadratic formula. If the discriminate b2-
PO12
4ac is negative, display a message stating
that there
Write are nodriven
a Menu real solutions?
program in java to
implement simple banking application. PO1-PO5,
Application should read the customer PO8,
4. name, account number, initial balance, L1, L2 LO1
PO10,
rate of interest, contact number and PO12
address field etc. Application should
have following
Write a program methods.
to print the area of a
rectangle by creating a class named 'Area'
having two methods. First method named PO1-PO5,
as 'setDim' takes length and breadth of L3 PO8,
5. LO2
rectangle as parameters and the second PO10,
method named as 'getArea' returns the PO12
area of the rectangle. Length and breadth
of rectangle are entered through
keyboard.
Write a Java program to illustrate L3 PO1-PO5,
6. LO2
Constructor Chaining PO8,
Write a java programs to add n strings in
PO1-PO5,
a vector array. Input new string and check
L3 PO8,
7. whether it is present in the vector. If it is LO2
PO10,
present delete it otherwise add it to the
PO12
vector.
Write menu driven program to implement
recursive Functions for following tasks.
PO1-PO5,
a) To find GCD and LCM
L3 PO8,
8. b) To print n Fibonacci numbers LO2
PO10,
c) To find reverse of number
PO12
d) To solve 1 +2+3+4+........+(n- l )+n

Create a Teacher class and derive


Professor / Associate Professor / Assistant PO1-PO5,
Professor class from Teacher class. L3 PO8,
9. Define appropriate constructor for all the LO3
PO10,
classes. Also define a method to display PO12
information of Teacher. Make necessary
assumptions as required
Consider a hierarchy, where a
sportsperson can either be an athlete or a
hockey player. Every sportsperson has a
unique name. An athlete is characterized
by the event in which he/she participates;
whereas a hockey player is characterized
by the number of goals scored by him/her.
Perform the following tasks using Java : PO1-PO5,
(i)Create the class hierarchy with suitable L3 PO8,
10. LO3
instance variables and methods. PO10,
(ii) Create a suitable constructor for each PO12
class.
(iii) Create a method named
display_all_info with suitable parameters.
This method should display all the
information about the object of a class.
(iv) Write the main method that
demonstrates polymorphism.
Create an interface vehicle and classes
like bicycle, car, bike etc, having common
PO1-PO5,
functionalities and put all the common
L3 PO8,
11. functionalities in the interface. Classes LO3
PO10,
like Bicycle, Bike, car etc implement all
PO12
these functionalities in their own class in
their own way

Create a class "Amount In Words" within PO1-PO5,


L3 PO8,
12. a user defined package to convert the LO3
amount into words. PO10,
PO12
Write java program where user will enter
loginID and password as input. The
password should be 8 digit containing one
digit and one special symbol. If user enter PO1-PO5,
valid password satisfying above criteria L3 PO8,
13. then show “Login Successful Message”. LO4
PO10,
If user enter invalid Password then create PO12
InvalidPasswordException stating Please
enter valid password of length 8
containing one digit and one Special
Symbol.
PO1-PO5,
Create two threads such that one thread
L3 PO8,
14. will print even number and another will LO4
PO10,
print odd number in an ordered fashion.
PO12
Assume that two brothers, Joe and John,
share a common bank account. They both
PO1-PO5,
can, independently, read the balance,
L3 PO8,
15 make a deposit, and withdraw some LO4
PO10,
money. Implement java application
PO12
demonstrate how the transaction in a bank
can be carried out concurrently.
Write a Java program to implement
Swing components namely PO1-PO5,
Buttons, ,JLabels, Checkboxes, Radio L6 PO8,
16. LO5
Buttons, JScrollPane, JList, JComboBox, PO10,
Trees, Tables Scroll pane Menus and PO12
Toolbars
Write to design
a Java interactive
program GUI.
to create a simple
PO1-PO5,
calculator using java AWT elements.
L6 PO8,
17. .Use a grid layout to arrange buttons for LO5
PO10,
the digits and basic operation +, -, /, *.
PO12
Add a text felid to display the results.
Write a Java Program to simulate traffic PO1-PO5,
L6 PO8,
18. signal light using AWT and Swing LO5
Components PO10,
PO12
Build a GUI program that allows the user
to add objects to a collection and perform PO1-PO5,
search and sort on that collection. (Hint. L6 PO8,
19. LO5
Use Swing components like JButton, PO10,
JList, JFrame, JPanel and JOptionPane.) PO12

PO1-PO5,
Write a Java program to design a Login L6 PO8,
20. LO6
Form using JavaFX Controls PO10,
PO12
Advanced Level:

1. Implement a java program to implement stack and queue concept.


2. Implement a java package to show dynamic polymorphism and interfaces.
3. Implement a java program to show multithreaded producer and consumer application.

Design Level:

1. Design and create an analog clock using applet.


2. Design and create a scientific calculator using swings.
3. Design and create an editor like MS-word using swings.

Open-Ended Level:

1. Create library management system.


2. Create attendance management system.

Meena Ugale / Chhaya Dhavale / Sulochana Devi


(Lab In-charge – IT Dept.)

You might also like