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

CSC Projecct PDF 2

Uploaded by

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

CSC Projecct PDF 2

Uploaded by

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

VELAMMALVIDYALAYA

Academic Session: 2024-25


SUBJECT: COMPUTER SCIENCE (083)
SUBMITTED BY SUBMITTED TO
NAME OF THE STUDENT: Varsha Gopi TEACHER NAME: MS. PRAVEENA DEVI
CLASS&SEC: 12C DESIGNATION:
EXAM NO: 12C42 PGT COMPUTER SCIENCE

Topic: FITNESS CENTER


VELAMMAL EDUCATIONAL TRUST

VELAMMAL VIDLAYA, ALAPAKKAM


NAME : BATCH NO :

CLASS : REGD.NO :

Certificate

Teacher – In - Charge
Submitted for the Practical Examination in at
held no

Principal InternalExaminers ExternalExamiers


ACKNOWLEDGEMENT

In the accomplisment of this project successfully, many people have


bestowed their blessing and heart pledged support upon me, I take this
opportunity to express my gratitude to all, who have been instrumental in
the successful completion of this project.

Primarily , I express my deep sense of gratitude to the luminary. The


correspondent, Shri. M. V. M.VEL MOHAN The Principal. Ms. Y HEMALATHA,
Senior Head Master PRAVEEN For providing the best of facilites and
environment to bring out innovation and spiritof inquiry through this venture.

I am deeply indebted to my teachers, without whose constructive feedback,


this project would not have been successful. The valuable advise and
suggestionfor correction, modification and improvement did enhance the
quality of the task.

I would also like to thank my parents, friends and all the members who
contributed to this was vital for the success of the project.

I am grateful their constant support and hel


CONTENT

SNO PARTICULARS PG NO.


1 Introduction 5
2 Objectives of the Project 6
3 Feasibility of Study 7
4 Data Structure 8-9
5 Source Code 10-13
6 Output 14-16
8 Tables used in SQL 17-18
7 Tools and Technologies Used 19
8 Conclusion 20
9 Bibliography 21
INTRODUCTION

This project is on Fitness Centre. In today’s world people don’t


Want to make an register. They can make record all data in
computer this software will help them in different way.
OBJECTIVES OF THE PROJECT

This software is specially used to maintain any fitness Centre where


they can maintain records of any gym.
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 flies with a much-sophisticated hard
disk of the computer.

One has to use the data management software. Software has been an
ascent in atomization various organizations. Many software products
working is now in markets, which have helped in making the
organizations work easier and efficiently. Data management initially
had to maintain a lot of ledgers and a lot of paper work has to be done
but now software product on this organization has made their work
faster and easier. Now only this software has to be loaded on the
computer and work can be done.

This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be
obtained by clicking the button. Moreover, now it’s an age of
computers of and automating such an organization gives the better
look.
Feasibility of Study

There are three feasibility that we can consider during the making of
this project to really see it's working application on usage in our day-
to-day life they are

Economic feasibility
The project to absolutely economical as it doesn't really require much
of time or cost on its usage. We have had almost concentration on the
accessibility of this project to people. As expert a project with no
accessibility or project with no use
Thereby, we have made it possible that anyone with a base the device
which can install python could use this. Time of the people is really
saved by using this project

Technical feasibility
Our project must really be technical feasible to ensure that the
project is proceeding or not. Thereby on its terms the project does it
really as it was taken at most care ensuring a platform which is both
developable and technological. Both the hardware and software or
minimal.

Operational Functions

The project in your hands is completely user friendly. Special case is


taken to enjoy that our software meets all the needs of a person to use
this program and make it possible for them to us
DATA STRUCTURE
• STRUCTURE OF TABLE 1 INFO:

• STRUCTURE OF TABLE 2:
● STRUCTURE OF TABLE 3:
SOURCE CODE INPUT

import mysql.connector as sql


fit=sql.connect(host='localhost',user='root',passwd='angel',database='fit_project')
if fit.is_connected():
print('connected')
print(' ')
print('WELCOME TO FITNESS CENTRE')
print(' ')
print('TO LOGIN PRESS:1')
print(' ')
print('TO CREATE YOUR NEW ACCOUNT PRESS:2')
print(' ')
print('TO EXIT PRESS:3')
print(' ')
c=int(input('enter your choices:'))

if (c==1):
print(' ')
print('to login please enter your user id and password')
print(' ')
user_id=input('enter your user id:')
print(' ')
passwd=input('enter your password:')
print(' ')
name=input('enter your name:')
print(' ')
c1=fit.cursor()
c1.execute('select * from user_fitness')
data=c1.fetchall()
count=c1.rowcount
for row in data:
if (user_id in row) and (passwd in row):
print(' ')
print('SUCCESSFULLY LOGIN!!!!!!!!')
print('welcome to',name,'fitness centre')
print(' ')
print('to see customer details press:1')
print(' ')
print(' to update customer details press:2')
print(' ')
print('to see items in gym press:3')
print(' ')
print('to update new items press:4')
print(' ')
c2=int(input('enter your choice'))
if (c2==1):
c1=fit.cursor()
c1.execute('select * from fit_project')
data=c1.fetchall() count=c1.rowcount
print('total customer is',count)
for row in data:
print(row)
elif (c2==2):
print(' ')
print('to update customer details please enter the following details')
print(' ')
v_customer_id=int(input('inter customer id(in integer):'))
print(' ')
v_customer_name=input('customer name is:')
print(' ')
v_customer_address=input('enter address of customer:')
print(' ')
v_date_of_joined=input('customer joined data:')
print(' ')
v_amt_paid=int(input('paid amount'))
print(' ')
c1=fit.cursor()
update_dtails="insert into customer values("+ str(v_customer_id) +",'"+
(v_customer_name) +"','"+ (v_customer_addras) +"','"+ (v_date_of_joined) +"',"+
str(v_amt_paid) +")"
c1.execute(update_dtails)
fit.commit()
print('customer details succesully updated')
elif (c2==3):
print('FOLLOWING ITEMS RECTHERE IN',name ,'GYM')
c1=fit.cursor()
c1.execute('select * from gym_items')
data=c1.fetchall()
count=c1.rowcount
print('total gym item is',count)
for row in data:
print(row)
elif (c2==4):
print('to update new items enter the following detils')
v_object_id=int(input('enter the object code(in integer):'))
v_object_name=input('enter the name of gym items:')
v_date_of_purchase=input('enter the date og purchase:')
v_repairing_date=input('enter the date of repair:')
v_total_people_using=int(input('total person'))
c1=fit.cursor()
updates2=("insert into gym_items values('"+ str(v_object_id) +"','"+
(v_object_name) +"','"+ (v_date_of_purchase) +"','"+ (v_repairing_date) +"','"+
str(v_total_people_using) +"')")
c1.execute(updates2)
fit.commit()
print('item updated')

else:
('something went wrong')
elif (c==2):
print(' ')
print('to create your account please enter your user id and password')
print(' ')
c1=fit.cursor()
v_user_id=int(input('choose your user id (in integer):'))
print(' ')
v_passwd=int(input('create your password (in integer):'))
print(' ')
v_name=input('your full name:')
print(' ')
c1=fit.cursor()
update=("insert into user_fitness values("+ str(v_user_id) +","+ str(v_passwd) +",'"+
(v_name) +"')")
c1.execute(update)
fit.commit()
print('account created')
elif (c==3):
print('vist again')
print(' ')
print('thank you')
else:
('something went wrong')
fit.close()
OUTPUT
TABLES USED IN SQL

TABLE 1 INFO:

TABLE 2 INFO:
TABLE 3 INFO:
TOOLS AND TECHNOLOGIES USED

HARDWARE REQUIREMENTS
1.operating system: windows 7 and above
2.processor: any processor
3. RAM:4GB
4. Hard disk:300MB and
above 5.Monitor
6.Keyboard and Mouse

SOFTWARE REQUIREMENTS
1.WINDOWS OS
2. PYTHON SOFTWARE
3.MYSQL SOFTWARE
CONCLUSION

The main objectives of the project Fitness Centre is to manage the


details of customers, user id, password etc. It tracks all the details
about the user such as joined date, address and fees amount. This
will provide the user to keep count of people in gym in different
time and dates. The system provides an efficient way to maintain a
gym. It Engages us in regular physical activity to make
improvements in an individual's physical health, cognitive
performance, and psychological well-being. This can be used to
know all the details and how many people are in the gym in a
particular time.
BIBLIOGRAOHY

1.Sumita Arora
2. Computer Science with Python
3. https://www.programiz.com/

You might also like