cs
cs
COMPUTER SCIENCE
PROJECT
UNIT CONVERTER
ACADEMIC YEAR –
2024-2025
ACKNOWLEDGMENT
I would like to express my thanks of
gratitude to our Principal, Bharat Bhushan
of KV NO.2,AFS PUNE and to my CS teacher
HARI SHANKAR RAI sir who gave me the
golden opportunity to do this wonderful
project and provided all necessary support
to do project on the topic UNIT
CONVERTER which also allowed me to a
lot of research and I come to know about to
my new things. I am very thankful to them
CERTIFICATE
This is to certify that Arman Shaikh of class
11A has successfully completed his
python project on the topic UNIT
CONVERTER for the subject Computer
science (083) as prescribed by CBSE under
the guidance of Hari Shankar Rai ,PGT CS,
during the academic year 2024-2025.
INTERNAL PRINCIPAL
EXTERNAL
EXAMINER
EXAMINER
CONTENTS
Sr.NO. TOPIC
1. INTRODUCTION
2. About the
Project
3. CODE
4. OUTPUT
5. Bibliography
and Reference
INTRODUCTION
In today’s interconnected world, the ability
to seamlessly convert between different
units of measurement is essential. From
scientific research to everyday tasks like
cooking or travel, we constantly encounter
situations where we need to translate
values from one unit to another. This
project focuses on developing a versatile
unit converter program that simplifies this
process. The program will provide users
with a user-friendly interface to perform
conversions between various units of
length, weight, and temperature.
This project is designed to enhance
understanding of fundamental
programming concepts, including
input/output operations, conditional
statements, and basic arithmetic
calculations. By implementing a unit
converter, we gain practical experience in
applying these concepts to solve a real-
world problem. The program will be
structured to be modular and extensible,
allowing for easy addition of more unit
conversions in the future. This project
serves as a stepping stone towards
developing more complex applications and
fosters problem-solving skills crucial in
computer science. Furthermore, it
highlights the power of programming to
automate repetitive tasks and improve
efficiency in various fields. The unit
converter aims to be a valuable tool for
anyone needing quick and accurate unit
conversions, demonstrating the practical
applications of computer science in
everyday life.
CODE
# Unit Converter Project
# Introduction
Print(“Welcome to the Unit Converter!”)
Print(“This program can convert between
various units of measurement.”)
Else:
Print(“Invalid choice. Please enter a
number from 1 to 3.”)
# Example Usage (Illustrative – not part of
the interactive program)
# meters_example = 10
# feet_example = meters_example * 3.281
# print(f”{meters_example} meters is
equal to {feet_example:.2f} feet.”)
# kilograms_example = 50
# pounds_example = kilograms_example *
2.205
# print(f”{kilograms_example} kilograms is
equal to {pounds_example:.2f} pounds.”)
# Celsius_example = 25
# Fahrenheit_example = (Celsius_example
* 9/5) + 32
# print(f”{Celsius_example} degrees
Celsius is equal to
{Fahrenheit_example:.2f} degrees
Fahrenheit.”)
# End of Program
Print(“\nThank you for using the Unit
Converter!”)
OUTPUT
Welcome to the Unit Converter!
This program can convert between various
units of measurement.
Available Conversions:
1. Length: Meters to Feet
2. Weight: Kilograms to Pounds
3. Temperature: Celsius to Fahrenheit
Available Conversions:
1. Length: Meters to Feet
2. Weight: Kilograms to Pounds
3. Temperature: Celsius to Fahrenheit
Available Conversions:
1. Length: Meters to Feet
2. Weight: Kilograms to Pounds
3. Temperature: Celsius to Fahrenheit
Available Conversions:
1. Length: Meters to Feet
2. Weight: Kilograms to Pounds
3. Temperature: Celsius to Fahrenheit
BIBLIOGRAPHY
Chat gpt
Gemini
11 CS TEXTBOOK