COMPUTER
SCIENCE PROJECT
ON SHOE BILLING SYSTEM
ACADEMIC YEAR – 2022/23
BOARD’S ROLL NO :
NAME : UTKARSH KUMAR
CLASS : XII
SUBJECT : COMPUTER SCIENCE
SUBJECT CODE : 083
GROUP MEMBERS :
HIMANSHU YADAV
UTKARSH KUMAR
PRAKHAR MISHRA
PROJECT GUIDE: Mr S.P PAL
PGT (CS)
KENDRIYA VIDYALAYA NEW CANTT 2ND SHIFT
PRAYAGRAJ
UTTAR PRADESH
1
CERTIFICATE
This is to certify that Candidate Utkarsh Singh Roll no
_________ has successfully completed the project work
entitled SHOE BILLING SYSTEM in the subject Computer
Science (083) laid down in the regulations of CBSE for the
purpose of Practical Examination in Class XII to be held in
Kendriya Vidyalaya New Cantt 2nd Shift Prayagraj.
(S P Pal)
PGT Computer Science
Master IC
Examiner:
Name :____________________
Signature:
2
TABLE OF CONTENTS
S.No DESCRIPTION PAGE NO
01 ACKNOWLEDGEMENT 04
02 INTRODUCTION 05
03 OBJECTIVES OF THE PROJECT 05
04 HARDWARE AND SOFTWARE REQUIREMENTS 06
05 FLOW CHART 07
06 SOURCE CODE 10
07 OUTPUT 12
08 BIBLIOGRAPHY 15
ACKNOWLEDGEMENT
3
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful completion
of this project.
I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.
I express my heartfelt gratitude to my parents for constant encouragement
while carrying out this project.
I gratefully acknowledge the contribution of the individuals who contributed in
bringing this project up to this level, who continues to look after me despite my flaws,
I express my deep sense of gratitude to the luminary The Principal, Kendriya
Vidyalaya New Cantt 2nd Shift Prayagraj who has been continuously motivating
andextending their helping hand to us.
I am overwhelmed to express my thanks to The Administrative Officer for
providing me an infrastructure and moral support while carrying out this project in the
school.
My sincere thanks to Mr. S P Pal, Master In-charge, A guide, Mentor all the
above afriend, who critically reviewed my project and helpedin solving each and
every problem, occurred during implementation of the project
The guidance and support received from all the members who contributed
and who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.
PROJECT ON SHOE BILLING SYSTEM
4
INTRODUCTION
This project is based on the way in which the billing is done in the stores here it is
the shoe billing .this is helpful for the owners to maintain the list of the sales done on
the day or in a year and also helpful in calculating the profit.
OBJECTIVES OF THE PROJECT
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
programming skills helps in developing a good software.
1. Write programs utilizing modern software tools.
2. Apply object oriented programming principles effectively when developing
small to medium sized projects.
3. Write effective procedural code to solve small to medium sized problems.
4. Students will demonstrate a breadth of knowledge in computer science, as
exemplified in the areas of systems, theory and software development.
5. Students will demonstrate ability to conduct a research or applied Computer
Science project, requiring writing and presentation skills which exemplify
scholarly style in computer science.
HARDWARE AND SOFTWARE REQUIREMENTS
5
I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE
II. PROCESSOR : PENTIUM(ANY) OR AMD
ATHALON(3800+- 4200+ DUALCORE)
III. MOTHERBOARD : 1.845 OR 915,995 FOR PENTIUM 0R MSI
K9MM-V VIAK8M800+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
6
FLOW CHART
START
Import mysql.connector as sql
conn=sql.connect(host='localhost',
user='root',passwd='manager',data
base='shoe_billing')
conn=sql.connect(host='localhost',user='root',p
asswd='manager',database='shoe_billing')
conn.autocommit=True
c1=conn.cursor()
c1=conn.cursor()
user=input("enter user")
FALSE
passwd=input("enter
password")
TRUE STOP
if user=='raghavan'
and passwd=='leo':
print(" shoe billing")
print(" ")
print("1:ENTER CUSTOMER DETAILS")
print(" ")
print("2:SHOW CUSTOMERS DETAILS")
print(" ")
7
v_choice=int(input("enter
the choice"))
If choice==1 :
code=input("enter code=")
brand =input("enter brand=")
name=input("enter customer name=")
number=input("enter phone number=")
details=input ("adress=")
amount=input("amount=")
c1.execute("insert into shoe_details values
("+code+",'"+brand+"'"+",'"+name+"',"+number+ elif
",'"+details+"',"+amount+")") choice
conn.commit() ==2:
v_code=input("ent
c1.execute("select * from er the code
shoe_details where shoe_code number")
="+v_code)
data=c1.fetchall()
8
print("Shoe code:",data[0][0])
print("brand name:",data[0][1])
print("customer name:",data[0][2])
print("customer number:",data[0][3])
print("customer detail:",data[0][4])
print("amoumt:",data[0][5])
stop
SOURCE CODE
9
File name: shoe.py
importmysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='manager'
,database='shoe_billing')
#if conn.is_connected():
#print('connected sucessfully')
conn.autocommit=True
c1=conn.cursor()
#c1.execute("create table shoe_details(shoe_codeint primary
key,brand_namevarchar(25),customer_namevarchar(25),customer_nu
mber,,customer_address,amount )")
c1=conn.cursor()
user=input("enter user")
passwd=input("enter password")
if user=='raghavan' and passwd=='leo':
print(" shoe billing")
print("1:shoe billing")
print("2:show result")
v_choice=int(input("enter the choice"))
ifv_choice==1 :
code=input("enter code=")
brand =input("enter brand=")
name=input("enter customer name=")
number=input("enter phone number=")
details=input ("adress=")
amount=input("amount=")
c1.execute("insert into shoe_details values
("+code+",'"+brand+"'"+",'"+name+"',"+number+",'"+details+"',"
+amount+")")
conn.commit()
c1. elifv_choice==2:
v_code=input("enter the code number")
execute("select * from shoe_details where shoe_code ="+v_code)
data=c1.fetchall()
10
print("Shoe code:",data[0][0])
print("brand name:",data[0][1])
print("customer name:",data[0][2])
print("customer number:",data[0][3])
print("customer detail:",data[0][4])
print("amoumt:",data[0][5])
OUTPUT
11
MAIN PAGE ASKING THE CHOICE OF THE PROGRAMER
PAGE SHOWING THE ENTRY OF CUSTOMERS DETAILS
12
PAGE SHOWING THE DETAILS OF CUSTOMERS
13
BIBLIOGRAPHY
14
1. Computer science With Python - Class XII By : NCERT
2. A Project Report On (SHOE BILLING SYSTEM )
By : S P Pal
3. Website: https://www.w3resource.com
15