adityaJAVAmicro
adityaJAVAmicro
FOURTH SEMESTER
(Year: 2023-24)
Micro Project
Java Programming (22412)
Title of the Project: “Temperature Converter”
MICRO PROJECT
Progress Report / Weekly Report
Title of the Project: “Temperature Converter”
Sign of
Week Duration
Date Work / Activity Performed the
No in Hrs.
Faculty
2 hours Knowing the basics
1
1 hours Decide aim
2
2 hours Collect the data
3
2 hours Prepare project proposal
4
1 hours Search literature review
5
1 hours Analysis of data
6
2 hours Discussion over preparing
7
1 hours Correction in booklets
8
2 hours Report writing
9
1 hours Checking report
10
1 hours Correction report write
11
1 hours Rechecking report
12
1 hours Finalizing report writing
13
1 hours Final submission
14
2 hours Oral presentation of microproject
15
Teacher Evaluation Sheet for Micro Project
Group No: 05
Marks:-
Signature:
Loknete Hon. HanmantraoPatil Charitable Trust’s
Adarsh Institute of Technology & Research Centre Vita,
CERTIFICATE
This is to certify that he micro project report entitled
“Temperature Converter”
Submitted by
DIPLOMA OFENGINEERING
(Computer Technology)
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
MUMBAI ACADEMIC YEAR 2022-23
I would like to express my gratitude to all my colleagues for their support, co-operation and
fruitful discussions on diverse seminar topics and technical help.
1.0 Rationale
One of the best ways to get started with Java practice projects is by building conversion
tools, and what could be simpler than a temperature conversion tool? One already knows
the mathematical formula needed for conversion from Fahrenheit to Celsius and from
Celsius to Fahrenheit.
In this tool, we have to take input for the value to be converted, do the desired
conversion, and then output the converted value. There is also the concept of sanitizing
the text being input and displaying an error for incorrect values. There should be a
proper error if a non-numerical value is inserted as input.
2.0 Aim of the Micro-Project
You have to need to create scientific calculator class to perform task related to scientific calculations.
Which include finding square or cube etc. The scientific calculator perform following task
4.0 Literature
Review Source:
Review
https://favtutor.com/blogs/java-projects-for-beginners
5.0 Proposed Methodology
5) Analysis of data.
Sr.
Name of Resource/ Material Specifications Quantity Remark
No.
3 Internet Any 1
Planned Name of
Sr. Planned
Details of activity Finish Responsible Team
No. start date
date Members
1.0 Rationale:
In our program for the temperature converter, we will create six methods, each handling the
conversions mentioned above. From each method, we will return the converted value to the main
method.
We will also create two more methods. One to scan the input from the user and the other to print the
converted value.
The input method will return the value entered by the user to main method.
The program will provide options from 1-7 and ask the user to enter a choice. If the user enters a
number between 1-6, the program will perform that particular conversion. Choice 7 will exit the
program. To achieve this, we will use a switch statement in the do-while loop. The loop will continue
to accept choices and perform conversions until the user enters 7.
DESCRIPTION
In this module, I have created a temperature converter which helps in the conversion of various
temperature scales.
A temperature converter is used to convert the temperature from one scale to another.
The three most common temperature scales are Celsius, Fahrenheit, and Kelvin.
In our program for the temperature converter, we will create six methods, each handling the
conversions mentioned above. From each method, we will return the converted value to the main
method.
We will also create two more methods. One to scan the input from the user and the other to print the
converted value.
The input method will return the value entered by the user to main method.
The program will provide options from 1-7 and ask the user to enter a choice. If the user enters a
number between 1-6, the program will perform that particular conversion. Choice 7 will exit the
program. To achieve this, we will use a switch statement in the do-while loop. The loop will continue
to accept choices and perform conversions until the user enters 7.
4.0 Actual Methodology Followed:
Work: Collect information and discuss with group members about proposal.
Sr.
Name of Resource/ Material Specifications Quantity Remark
No.
3 Internet Any 1
6.0 Source Code:
// Online Java Compiler
// Use this editor to write, compile and run your Java code online
import java.util.*;
class
tempConverter{
return F;
double K = C + 273.15;
return K;
return C;
double C = K - 273.15;
return C;
return F;
return val;
// Driver Method
public static void main(String args[]){
do{
System.out.println("\nEnter Choice:
double num = 0;
switch(ch){
output(C_F(num),
"Fahrenheit"); break;
case 2: num =
input("Celcius");
output(C_K(num),
"Kelvin"); break;
output(F_C(num), "Celcius");
break;
output(F_K(num), "Kelvin");
break;
output(K_C(num),
"Celcius"); break;
output(K_F(num),
"Fahrenheit"); break;
case 7: System.exit(0);
break;
}while(true);
*********