Kavinya - Cs Project
Kavinya - Cs Project
PROJECT REPORT IN
COMPUTER SCIENCE FOR CLASS XII
(2023 – 2024)
Submitted in partial fulfillment of the requirement of CBSE, Delhi
BY R.KAVINYA
Enrolment No:
Mrs. C. KALAIMANI
ii
ACKNOWLEDGEMENT
iii
TABLE OF CONTENTS
1. INTRODUCTION 4
2. ADVANTAGES OF PROJECT 4
3. LIMITATIONS 5
4. FLOW CHART 6
5. SOURCE CODE 11
6.
OUTPUT 16
7. FUTURE ENHANCEMENT 19
8 BIBLIOGRAPHY 20
1
1. INTRODUCTION:
The main objective of the python project on fashion store management
is to manage the details of sales, discounts, payments, products and
inventory digitally.
2. ADVANTAGES OF PROJECT:
1. It generates the report on sales, discounts and stocks.
2. Provides filter report on payments, inventory and products.
3. We can easily export PDF on sales, products and stocks.
4. Applications can also provide excel export for sales and
discounts.
5. It deals with monitoring the information and transaction of
products.
6. It increases the efficiency of managing sales and discounts.
7. It has higher efficiency of editing, adding and updating of
records.
8. Provides the searching facilities on various factors.
2
3. LIMITS:
1. Excel export has not been developed for stocks and products.
2. The transactions are executed in offline mode only. But model
transaction processes are done simply.
3. Online transactions for sales, discounts, or other data
modifications are not possible.
4. Offline reports of sales, products, discounts and stocks cannot
be generated due to batch mode execution.
3
4. FLOW CHART:
start
Create database
Create table
If m=1
Enter 1 to add a
product
Enter 2 to view
a product
enter 3 to delete
a product
4
If
reply==1
No=Enter
product sno
Name=enter
product name
Cost=enter
product cost
Brd=enter
product brand
Gnd=enter
gender
D=insert into
products(sno,pna
Execute(p)
Commit()
One product is
added
5
If
reply=
Enter
P=select*from products
where sno = pno
Cs.Execute(p)
C=cs.fetchone()
Print(c)
If
Reply==
Enter product
number
Cs.execute(r)
One product
is deleted
6
successfully
If
m==2
Enter 4 to view
available
Enter 5 to purchase
a product
If
choice=
Enter product
Enter gender
Ccs.execute(s)
Kl=cs.fetchall()
For I in Kl:
Print(I)
U=list(I)
prnt=print(u)
7
Enter quantity
Amount to br paid is
Please type
enter to
If
x==’ente
Enter card
details
If
len(c)==12
If
choice==4
Slr=select* from
products
Cs.execute(slr)
Ftch=cs.ftchall()
for i in ftch:
Print(i)
Stop
8
5. SOURCE CODE:
cb=mycon.connect(host='localhost',user='root',passwd='root')
cs=cb.cursor()
cs.execute("use Fashion_Store")
while ans=='y':
9
print('ENTER 2: If you are Customer')
if m==1:
if reply==1:
(sno,pname,price,brand,gender)values({},'{}',{},'{}','{}')".format(no,na
me,cost,brd,gnd)
cs.execute(d)
cb.commit()
10
if reply==2:
cs.execute(p)
c=cs.fetchone()
print(c)
if reply==3:
cs.execute(r)
if m==2:
if choice==5:
11
gndr=input("enter gender m/f")
cs.execute(sl)
kl=cs.fetchall()
for i in kl:
print(i)
u=list(i)
prnt=print(u)
vq=int(input("enter qty:"))
print("amount to be paid is:",u[-3]*vq)
if x=="enter":
if len(c)==12:
else:
12
if choice==4:
slr="select*from products"
cs.execute(slr)
ftch=cs.fetchall()
for j in ftch:
print(j)
13
6. OUTPUT:
6.A. TO ADD PRODUCT:
14
6.C. TO DELETE A PRODUCT:
6.D. TO
TO VIEW
VIEWAVAILABLE
AVAILABLEPRODUCTS:
PRODUCTS:
15
6.E. TO PURCHASE A PRODUCT:
16
7. FUTURE ENHANCEMENT:
1. The process of gathering information, diagnosing the problems,
then interpreting facts is known as system analysis. It includes
recommending system improvements needed, based on the
same data.
2. The system is observed as a whole; the inputs need to be
identified firstly before turning them and then the system is
subjected to study as a whole to identify the problem areas.
3. Although tunings any system is a complex procedure, but tuning
individual statements is not the best as something thatis correct
for one input may hurt another inputs performance.
4. The solutions are given as a proposal. The suggestion is revised
on user request and optimal changes are done. This loop
terminates as soon as the user is gratified with the proposal.
5. So, on the whole, system analysis is done to improve the
systemperformance by monitoring it and obtaining the best
output possible from it.
6. It would provide more and more details of product which the
consumer or the user wants.
17
8. BIBILIOGRAHY:
BOOKS REFFERED:
THANK YOU
18