0% found this document useful (0 votes)
177 views29 pages

St. Joseph School: SESSION: 2021-2022 Date: 09-03-2022

This document summarizes a student project on developing a fitness center management software. The project aims to automate record keeping for a fitness center to make the process more efficient compared to manual record keeping. The project discusses hardware requirements including Windows 7, 2GB RAM, and 10GB storage. It also discusses the software requirements of using Python IDLE and MySQL. The project is submitted by a student to their teacher and principal for certification and acknowledges help received from their mentor and parents.

Uploaded by

Harsh Deshpande
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views29 pages

St. Joseph School: SESSION: 2021-2022 Date: 09-03-2022

This document summarizes a student project on developing a fitness center management software. The project aims to automate record keeping for a fitness center to make the process more efficient compared to manual record keeping. The project discusses hardware requirements including Windows 7, 2GB RAM, and 10GB storage. It also discusses the software requirements of using Python IDLE and MySQL. The project is submitted by a student to their teacher and principal for certification and acknowledges help received from their mentor and parents.

Uploaded by

Harsh Deshpande
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 29

ST.

JOSEPH SCHOOL

SESSION : 2021-2022
Date : 09-03-2022
Topic: FITNESS CENTRE
Class – 12th A
Subject - COMPUTER SCIENCE

SUBMITTED TO – SUBMITTED BY –
MR.AMAR SINGH MR. HARSH DESHPANDE
TEACHER’s CERTIFICATE
This is to certify that HARSH
DESHPANDE of Class 12th has completed
the Project File Successfully of the partial
fulfillment of AISSCE Practical
examination of 2021-22 for the subject
Computer Science

Principal:

Internal Examiner:

External Examiner:
Student’s Certificate
I HARSH DESHPANDE student of Class
12thA St. Joseph School Indore , Hereby
certify that the project was undertaken by
me as a part of CBSE curriculum. The
data used in the project has been
personally analyzed and noted by me and
therefore,I take it to be authentic and
reliable.

NAME: HARSH DESHPANDE

SIGNATURE:
Acknowledgement
I would like to express my gratitude and special
thanks to ourPrincipal Rev. Sr. CELINE who
gave me the golden opportunity to do this
wonderful project on the Topic –
“FITNESS CENTRE”
I would also like to express my gratitude to my
Computer Science mentor Mr. AMAR SINGH
for his guidance and advice to complete my
work successfully and teaching us all Python
programming language and multiple useful tips.

I would also like to thank my parents and my


friends who helped me a lot in finalizing this
project within the limited time frame.
DEEP GRATITUDE AND SPECIAL
THANKS
INDEX
S.no Topics
1. Introduction to language
1.1 About Python
1.2 Advantages over another language
1.3 Disadvantages of Python
1.4 Uses of Python
1.5 Ranking of Python in code world

2. Introduction of “Project”
2.1 What is the “Objective” and “Scope of the
Project”?
2.2 How it will solve the computational
problem related to real world.
2.3 What kind of problem you faced during
coding of project and how you overcome of
all this “bugs”.
2.4 What make your project different to others
project ?
2.5 What are the positive and negative points of
your project.
3. System implementation
3.1 Hardware requirement(minimum)
(operating system(windows-07) , 2GB-
RAM , 10GB STORAGE , MOUSE ,
KEYBOARD , SCREEN)
3.2 Software requirement for front-end and
back-end.
(PYTHON IDLE + MYSQL)

4. Bibliography
ABOUT PYTHON
Python is an interpreted, high-level, general-purpose
programming language. Created by Guido van Rossum
and first released in 1991. Python's design philosophy
emphasizes code readability with its notable use of
significant whitespace. Its language constructs and object-
oriented approach aim to help programmers write clear,
logical code for small and large-scale projects

Python is dynamically typed and garbage-collected. It


supports multiple programming paradigms, including
procedural, object-oriented, and functional programming.
Python is often described as a "batteries included"
language due to its comprehensive standard library

Python was conceived in the late 1980s as a successor to


the ABC language. Python 2.0, released in 2000,
introduced features like list comprehensions and a
garbage collection system capable of collecting reference
cycles. Python 3.0, released in 2008, was a major revision
of the language that is not completely backward-
compatible, and much Python 2 code does not run
unmodified on Python 3.
History of Python
Advantages of Python
Let’s see how Python dominates over other
languages.

1. Extensive Libraries
Python downloads with an extensive library and it contain
code for various purposes like regular expressions,
documentation-generation, unit-testing, web browsers,
threading, databases, CGI, email, image manipulation,
and more. So, we don’t have to write the complete code
for that manually.

2. Extensible
As we have seen earlier, Python can be extended to other
languages. You can write some of your code in languages
like C++ or C. This comes in handy, especially in
projects.

3. Embeddable
Complimentary to extensibility, Python is embeddable as
well. You can put your Python code in your source code
of a different language, like C++. This lets us add
scripting capabilities to our code in the other language.
4. Improved Productivity
The language’s simplicity and extensive libraries render
programmers more productive than languages like Java
and C++ do. Also, the fact that you need to write less and
get more things done.

5. Free and Open-Source


Like we said earlier, Python is freely available. But not
only can you download Python for free, but you can also
download its source code, make changes to it, and even
distribute it. It downloads with an extensive collection of
libraries to help you with your tasks.
Advantages of Python Over Other Language
1. Less Coding
Almost all of the tasks done in Python requires less
coding when the same task is done in other languages.
Python also has an awesome standard library support, so
you don’t have to search for any third-party libraries to
get your job done. This is the reason that many people
suggest learning Python to beginners.

2. Affordable
Python is free therefore individuals, small companies or
big organizations can leverage the free available resources
to build applications. Python is popular and widely used
so it gives you better community support.
The 2019 Github annual survey showed us that
Python has overtaken Java in the most popular
programming language category.

3. Python is for Everyone


Python code can run on any machine whether it is Linux,
Mac or Windows. Programmers need to learn different
languages for different jobs but with Python, you can
professionally build web apps, perform data analysis and
machine learning, automate things, do web scraping and
also build games and powerful visualizations. It is an all-
rounder programming language.
Disadvantages of Python
So far, we’ve seen why Python is a great choice for your
project. But if you choose it, you should be aware of its
consequences as well. Let’s now see the downsides of
choosing Python over another language.
1. Speed Limitations
We have seen that Python code is executed line by line. But
since Python is interpreted, it often results in slow execution.
This, however, isn’t a problem unless speed is a focal point
for the project. In other words, unless high speed is a
requirement, the benefits offered by Python are enough to
distract us from its speed limitations.

2. Weak in Mobile Computing and Browsers


While it serves as an excellent server-side language, Python
is much rarely seen on the client-side. Besides that, it is
rarely ever used to implement Smartphone-based
applications. One such application is called Carbonnelle.

3. Design Restrictions
As you know, Python is dynamically-typed. This means that
you don’t need to declare the type of variable while writing
the code. It uses duck-typing. But wait, what’s that? Well, it
just means that if it looks like a duck, it must be a duck.
While this is easy on the programmers during coding, it can
raise run-time errors.
4. Underdeveloped Database Access Layers
Compared to more widely used technologies like JDBC
(Java Database Connectivity) and ODBC (Open Database
Connectivity), Python’s database access layers are a bit
underdeveloped. Consequently, it is less often applied in
huge enterprises.
PROJECT ON FITNESS CENTRE
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 jim.

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 organisations. Many

software products working are 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.
HARDWARE AND SOFTWARE REQUIREMENTS

I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE

II. PROCESSOR : PENTIUM(ANY) OR AMD

ATHALON(3800+- 4200+ DUAL CORE)

III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI

K9MM-V VIA K8M800+8237R PLUS CHIPSET

FOR AMD ATHALON

IV. RAM : 512MB+

V. Hard disk : SATA 40 GB OR ABOVE

VI. CD/DVD r/w multi drive combo: (If back up required)

VII. FLOPPY DRIVE 1.44 MB : (If Backup required)

VIII. MONITOR 14.1 or 15 -17 inch

IX. Key board and mouse

X. Printer : (if print is required – [Hard copy])

SOFTWARE REQUIREMENTS:

I. Windows OS
II. Python
III. mysql
SOURCE CODE

import mysql.connector as sql

fit=sql.connect(host='localhost',user='root',passwd='admin@123',d
atabase='fit_project')
if fit.is_connected():
print('connected')
print('')
print('')
print('WELCOME TO RAHI FITNESS CENTRE')
print('')
print('')
print('TO LOGIN PRESS :1')
print('')
print('')
print('TO CREATE YOUR NEW ACCOUNT PRESS :2')
print('')
print('')
print('TO EXIT PRESS :3')
print('')
c=int(input('enter your choice'))
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_rahi1')
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(' ')
print('to see castumer details press :1 ')
print(' ')
print(' to update costumer details press :2 ')
print(' ')
print('to see items in jim 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 custmer')
data=c1.fetchall()
count=c1.rowcount
print('total custamer is',count)
for row in data:
print(row)
elif (c2==2):
print('')
print('to update costumer details please enter
the following details')
print('')
v_cusamer_id=int(input('inter castamar id (in
intiger):'))
print('')
v_custamar_name=input('castamer name is :')
print('')
v_camtamar_addras=input('enter addras of
` castamer')
print('')
v_date_of_joined=input('camtamer joined data')
print('')
v_amt_paid=int(input('paid amuount'))
print('')
c1=fit.cursor()
#c1.execute('create table custmer(custmer
varchar(100) primary key,custmer_name
varchar(100),custmer_address varchar(1000),joined_date
varchar(100),amt_paid varchar(100))')update_dtails="insert into
custmer values("+ str(v_cusamer_id) +",'"+ (v_custamar_name)
+"','"+ (v_camtamar_addras) +"','"+ (v_date_of_joined) +"',"+
str(v_amt_paid) +")"
c1.execute(update_dtails)
fit.commit()
print('costumer details succesully updated')
elif (c2==3):
print('FOLLOWING ITEMS RECTHERE IN',name ,'JIM')
c1=fit.cursor()
c1.execute('select * from jim_items')
data=c1.fetchall()
count=c1.rowcount
print('total jim 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 jit
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 jim_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 wemt wrong')
elif (c==2):
print('')
print('to create your account please enter your user id and
password')
print('')
c1=fit.cursor()
c1=fit.cursor("('create table user_fitness_rahi1
(user_id varchar(100) primary key,password
varchar(100),name varchar(100))')
v_user_id=int(input('choose your user id (in integar)'))
print('')
v_passwd=int(input('create your password (in integar)'))
print('')
v_name=input('your full name')
print('')
c1=fit.cursor()
update=("insert into user_fitness_rahi1 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 wemt wrong')
SOURCE CODE OF TABLES
import mysql.connector as sql

fit=sql.connect(host='localhost',user='root',passwd='admin@123',database='fit_pr
oject')
if fit.is_connected():
print('connected')
c1=fit.cursor()
c1.execute('create table user_fitness_rahi(user_id varchar(10) primary
key,password varchar(11),name varchar(10))')
fit.commit()
print('table created')

import mysql.connector as sql


fit=sql.connect(host='localhost',user='root',passwd='admin@123',database='fit_pr
oject')
if fit.is_connected():
print('connected')
c1=fit.cursor()
c1.execute('create table jim_items(object_id int(225) primary
key,object_name varchar(65),date_of_parchase varchar(65),repairing_data
varchar(65),total_people_using int(65))')
fit.commit()
print('table created')
BIBLIOGRAPHY
 Computer science with python book

 Two scoops of Django for 1.11 by Daniel Greenfeld’s and


Audrey Greenfield
 Lightweight Django by Elman and Mark Lavin

You might also like