CSC Projecct PDF 2
CSC Projecct PDF 2
CLASS : REGD.NO :
Certificate
Teacher – In - Charge
Submitted for the Practical Examination in at
held no
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.
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
• STRUCTURE OF TABLE 2:
● STRUCTURE OF TABLE 3:
SOURCE CODE INPUT
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
1.Sumita Arora
2. Computer Science with Python
3. https://www.programiz.com/