Professional Documents
Culture Documents
KARUR
COMPUTER SCIENCE
PROJECT
Name : GIRIDAR P
Exam No.:
2023-24
VELAMMAL VIDYALAYA
SENIOR SECONDARY SCHOOL
KARUR
COMPUTER SCIENCE PROJECT
CERTIFICATE
Guide InternalExaminer
1 INTRODUCTION 5
2 OBJECTIVE 6
4 PROPOSED SYSTEM 8
5 WORKING DESCRIPTION 9
8 SOURCE CODE 12
9 OUTPUT 19
10 CONCLUSION 23
11 BIBLIOGRAPHY 24
12 WEBLIOGRAPHY 25
BMI CALCULATOR
INTRODUCTION
Body mass index (BMI) is a measure of weight adjusted for height, calculated
as weight in kilograms divided by the square of height in meters (kg/m2). Although
BMI is often considered an indicator of body fatness, it is a surrogate measure of body
fat because it measures excess weight rather than excess fat.
A BMI Calculator accepts the weight and height of an individual and calculates
the Body Mass Index (BMI) of that person.
For Example, if the height and weight of a person are 155 cm and 57 kg. The BMI of
that person will be 23.73 (approx.), which signifies that the person is healthy.
Body Mass Index (BMI) is a measure of body fat on the basis of height and weight,
respectively.
On the basis of the BMI of an individual, the calculator returns a statement stating the
overall health of the person.
OBJECTIVE
The objective of this project is to apply the programming knowledge into a real- world
situation/problem and exposed how programming skills helps in developing a good software.
requiring writing and presentation skills which exemplify scholarly style in computer
science.
HARDWARE AND SOFTWARE REQUIREMENTS
AMD ATHALON
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
III. MySQL
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human beings of be really wants to stand
against today’s merciless competition where not to wise saying “to err is human” no longer
valid, it’s outdated to rationalize your mistake. So, to keep pace with time, to bring about the
best result without malfunctioning and greater efficiency so to replace the unending heaps of
One has to use the data management software. Software has been an ascent in
atomizationvarious organizations. Many software products working are now in markets, which
have helped in making the organizations work easier and efficiently. Data management
initially hadto maintain a lot of ledgers and a lot of paperwork has to be done but now software
producton this organization has made their work fasterand easier. Now only this software has
This prevents a lot of time and money. Thework becomes fully automated and any
information regarding the organization can beobtained by clicking the button. Moreover,
nowit’s an age of computers of and automatingsuch an organization gives the better look.
WORKING DESCRIPTION
Python's simple, easy to learn syntax emphasizes readability and therefore reduces the
cost of program maintenance. Python supports modules and packages, which encourages
program modularity and code reuse. The Python interpreter and the extensive standard library
are available in source or binary form without charge for all major platforms, and can be freely
distributed.
Often, programmers fall in love with Python because of the increased productivity it
provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast.
Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault.
Instead, when the interpreter discovers an error, it raises an exception. When the program
doesn't catch the exception, the interpreter prints a stack trace.
A source level debugger allows inspection of local and global variables, evaluation of
arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so
on. The debugger is written in Python itself, testifying to Python's introspective power On the
other hand, often the quickest way to debug a program is to add a few print statements to the
source the fast edit-test-debug cycle makes this simple approach very effective.
BACK END DETAILS
The intention of a database is that the same collection of data should serve as many
applications as possible. Hence, a database is often conceived of as the repository of
information needed for running certain functions in a corporation or organization. Such a
database would permit not only the retrieval of data but also the continuous modification of
data needed for control of operations. It may be possible to search the database to obtain
answers to queries or information for planning purposes.
SOURCE CODE
window=Tk()
l1=Label(window,text="BMI
INDEX",bg='red',fg='white',pady=50,font=('arial bold',50))
l1.pack()
conn=sql.connect(host='localhost',user='root',passwd='1234',database=
'bmi')
cur=conn.cursor()
def clear():
print()
def bmi():
global N
global A
global pno
x=str(pno)
l=['6','7','8','9']
pass
else:
pno()
pno()
while True:
if H=="1":
MT=M
break
elif H=="2":
MT=F*0.3048
break
else:
while True:
if W=="1":
KG2=KG
break
elif W=="2":
KG2=PO
KG2=PO*0.453592
break
else:
print("OOPS LOOKS LIKE YOU HAVE ENTERED THE WRONG OPTION
")
print("HELLO",N)
print("AGE:",A)
bm=MT**2
bmi=KG2/bm
else:
val=(N,A,MT,KG2,bmi)
cur.execute(sql,val)
conn.commit()
def login():
print("----CHOOSE AN OPTION----")
print("1.USER \n2.ADMIN")
while True:
if log=="1":
print("Hello")
bmi()
print("Thankyou!!")
quit()
elif log=="2":
usrn=("12345")
pasw=("123456")
adm=input("Enter username\n")
adm2=input("Enter Password\n")
while True:
print("--ADMIN OPTIONS--")
if opt=="1":
print("PROCESSING....")
clear()
bmi()
break
elif opt=="2":
print("PROCESSING....")
a=cur.fetchall()
print(a)
break
else:
break
else:
print("WRONG INPUTS")
login()
break
else:
print("Wrong Inputs!!")
login()
login()
OUTPUT
CONCLUSION
It was a wonderful and learning experience for us while working on this project.
This software is very easy to use so all educational institute can use this frequently
So, we can hope that our software will be very popular and get sponsors to develop in
future.
BIBLIOGRAPHY
1. Website: https://www.csiplearninghub.com
2. Website: https://www.learnpython4cbse.com
3. Website: https://www.python4csip.com
4. Website: https://www.w3schools.com/
5. Website: https://www.w3resource.com/
***