Ajp Part A &B
Ajp Part A &B
Ajp Part A &B
On
“Temperature Converter”
For the award of the course of
Diploma of
Engineering In
Information Technology
By
CERTIFICATE
This is to certify that following students of semester 5th of Diploma in Information
Technology of Institute: Government Polytechnic, Awasari (kh) (code:1051) has
completed the micro project satisfactorily in subject- Advance Java Programing for the
academic year 2022- 2023 as prescribed in the curriculum.
GUIDANCE BY : Ms.P.C.Fafat
MICRO PROJECT PROPOSAL
Benefits:
1. To create a user friendly system using java.
2. To display the temperature Celsius to Fahrenheit and Kelvin.
3. To understand different types of concepts used in java.
4. To learn the concepts of Advance Java programming.
1. As soon as we get the topic, the respective group members will sit together and
discuss regarding the micro project.
2. The selection of topic will be relevant which will teach us to learn something new.
3. The work of the project will be divided in such a way that each and every member
of our group can contribute equally.
4. Collection of the material will be done as per the requirements.
5. Later, soft copy will be made and shown to the respected subject teacher.
6. Corrections will be done accordingly as per the suggestions given to us.
7. The final hard copy will be submitted.
5.0 Action plan: -
Implementation of Project
6
Report preparation
8
Report Finalization
9
Submission of the project
10
6.0 Resources Required: -
3 Reference Book -
3 Book Comp -
lete
Refere
nce
Date : - / / 2023
Part – B Micro-Project Report
Temperature Convertor.
1.0 Rationale:
In this project “Temperature Convertor” we have studied concepts of java
programming and have applied within the code. A temperature converter helps in
the conversion of the measurement units of the temperature recorded in a particular
unit. Temperature expresses the degree of heat or cold of a solid, liquid, or gas.
Benefits:
1. As soon as we get the topic, the respective group members will sit together and d
discuss regarding the micro project.
2. The selection of topic will be relevant which will teach us to learn something
new.
3. The work of the project will be divided in such a way that each and every
member of our group can contribute equally.
4. Collection of the material will be done as per the requirements.
5. Later, soft copy will be made and shown to the respected subject teacher.
6. Corrections will be done accordingly as per the suggestions given to us.
7. The final hard copy will be submitted.
2 Software Jdk -
3 Book Complete -
Reference
7.0 Output of the Micro-Project:
Code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Tempcon extends JFrame implements ActionListener
{
JTextField t1;
JButton b1,b2;
JLabel l1;
Tempcon()
{
setLayout(new FlowLayout());
t1=new JTextField(10);
b1= new JButton("farenit");
b2= new JButton("kelvin");
l1=new JLabel("");
add (t1); add(b1); add(b2); add(l1);
b1.addActionListener(this);
b2.addActionListener(this);
}
public void actionPerformed(ActionEvent evt)
{
if(evt.getSource()==b1)
{
String str=t1.getText();
float num=Float.parseFloat(str);
float result;
result=(num*180/100)+32;
str=String.valueOf(result);
l1.setText("The Temperature in farenit is:"+str);
}
if(evt.getSource()==b2)
{
String str=t1.getText();
float num= Float.parseFloat(str);
float result;
result=num+273;
str=String.valueOf(result);
l1.setText("The Temperature in kelvin is:"+str);
}
Output:
Celsius to Fahrenheit :
Celsius to Kelvin:
9.0 Conclusion:
The project is developed using Jdk fully meets the objectives of the system
which it has been developed. This project is used for convert temperature.
Working as a team and as an individual Arranging the information in proper
sequence
************************