CS Project
CS Project
CS Project
OMANDUR
COMPUTER SCIENCE
PROJECT
CLASS: XII-A
EXTERNAL EXAMINER
ACKNOWLEDGEMENT
I have taken efforts in this project. However, it would not have been possible without the
kind support and help of many individuals.
I wish to express my deep gratidue and sincere thanks to my principal Mr. Surendran and
school for providing me with facilities required to do my project.
I am highly indebted to my computer teacher, Ms. Nikitha Princy, who guided me to the
successful completion of this project . I take this opportunity to express my deep sense of
gratitude for her invaluable guidance, constant encouragement, constructive comments,
sympathetic attitude, and immense motivation, which has sustained my efforts at all stages
of this project.
Table of Contents
1. Introduction 1
7. Output 19-22
8 . Conclusion 23
9 . Bibliography 24
INTRODUCTION
The "Medical Shop Management System" has been developed to override the
problems prevailing in the practicing manual system. This software is supported to eliminate
and, in some cases, reduce the hardships faced by this existing system. Moreover, this
system is designed for the particular need of the company to carry out operations in a smooth
and effective manner. The application is reduced as much as possible to avoid errors while
entering the data. It also provides error message while entering invalid data. No formal
knowledge is needed for the user to use this system. Thus, by this all it proves it is user-
friendly Medical Shop Management System.
As described above, can lead to error free, secure, reliable, and fast management
system. It can assist the user to concentrate on their other activities rather to concentrate on
the record keeping. Thus, it will help organization in better utilization of resources. Every
organization, whether big or small, has challenges to overcome like managing the
information of medicines, medical shop, company, sales, and inventory. Every Medical Shop
Management System has different needs. Therefore, we design exclusive employee
management systems that are adapted to your managerial requirements. This is designed to
assist in strategic planning, and will help you ensure that your organization is equipped with
the right level of information and details for your future goals. Also, for those busy
executive who are always on the go, our systems come with remote access features, which
will allow you to manage your workforce anytime, at all times. These systems will
ultimately allow you to better manage resources.
-1-
OBJECTIVE OF THE PROJECT
Provides the searching facilities based on various factors. Such as Medical Shop,
Stocks, Company, Inventory. Medical Shop Management System also manage the Sells
details online for Company details, Inventory details, Medical Shop.
It tracks all the information of Medicines, Sells, Company etc. Manage the
information of Medicines Shows the information and description of the Medical Shop,
Stocks To increase efficiency of managing the Medical Shop, Medicines It deals with
monitoring the information and transactions of Company. Manage the information of
Medical Shop Editing, adding, and updating of Records is improved which results in proper
resource management of Medical Shop data .
-2-
SCOPE OF THE PROJECT
It may help collecting perfect management in details. In a very short time, the
collection will be obvious, simple, and sensible. It will help a person to know the
management of passed year perfectly and vividly. It also helps in current all works relative
to Medical Shop Management System. It will be also reduced the cost of collecting the
management & collection procedure will go on smoothly. Our project aims at Business
process automation, i.e., we have tried to computerize various processes of Medical Shop
Management System.
■ In computer system, it is not necessary to create the manifest but we can directly
print it, which saves our time.
■ In computer system the person has to fill the various forms & number of copies
of the forms can be easily generated at a time.
■ To assist the staff in capturing the effort spent on their respective working areas.
■ To utilize the resources in an efficient manner by increasing their productivity
through automation.
■ The system generates types of information that can be used for various purposes.
■ It satisfies the user requirement.
■ Be easy to understand by the user and operator.
■ Be easy to operate.
■ Have a good user interface.
■ Be expandable.
■ Delivered on schedule within the budget.
-3-
SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS
-4-
FEATURES OF THE PROJECT
• Accuracy in work
• Well-designed report.
• Medical shop management system include a secure centralized database for patient info
and transaction records.
-5-
SOURCE CODE
def menu2():
print("-----------------------MEDICINE SECTION--------------------------------”)
import mysql.connector as mycon
cur = mycon.cursor()
2-delete a medicine
3-update a medicine
4-search a medicine"")
x = int(input("enter choice:"))
if x == 1:
cur.execute(st)
mycon.commit()
elif x == 2:
dat= date.today()
dic')
cur mycon.cursor()
res = cur.fetchall()
de = 0
sd=str(dat)
for x in res:
if str(x[0]) == sd:
cur.execute(delt)
mycon.commit()
print(res)
else:
pass -7-
elif x == 3:
dic')
cur= mycon.cursor()
cur.execute(upd)
mycon.commit()
elif x == 4:
dic')
cur mycon.cursor()
res = cur.fetchall()
for i in res:
print(i)
else:
print("invalid choice:")
-8-
def menu3():
cur mycon.cursor()
x = int(input("enter coice:"))
if x == 1:
values('""+i_d+"','""+order_date+","+user_id+"','"+paymentmode+"",""+am
t_paid+"','""+unit_sold+"','"'"+med_name+"")"
cur.execute(sa)
mycon.commit()
-9-
elif x == 2:
cur.execute(det)
mycon.commit()
elif x == 3:
cur mycon.cursor()
cur.execute(upd)
mycon.commit()
elif x == 4:
cur = mycon.cursor()
rescur.fetchall()
-10-
for i in res:
print(i)
else:
print("Invalid choice:")
cur mycon.cursor()
x= int(input("enter coice:"))
if x=1:
-11-
se = "insert into customer values ('"+i_d+"""""+name","address"",""contact
_details+ """"+typ_e """"*med_name+"")"
cur.execute(se)
mycon.commit()
elif x ==2:
cur.execute(det)
mycon.commit().
elif x 3:
mycon=mycon.connect(host='localhost',user='root',passwd='root',database='me dic')
cur mycon.cursor()
cur.execute(upd)
mycon.commit()
elif x = 4:
res = cur.fetchall()
for i in res:
print(i)
else:
print("invalid choice:")
def menu5():
print("-------------------REPORT/BILL SECTION------------------------")
cur = mycon.cursor()
2-sales report
3-purchase report
4-bill
5-new bill")
if x==1:
-13-
print(**100)
print('="70)
cur.execute(s1)
for
(id,name, batchnumber, manufacturedate, import_date,expire_date,manuf acturer, type,
medicine_unit,medicine_cost) in cur:
elif x==2:
cur.execute(s1)
for
(id,order_date,pay_date,user_id,paymentmode, amt_paid,unit_sold med name) in cur:
print("{0:15)(1:^20)(2:^20)(3:15)".format(id,med_name,paymentmode,
unit_sold))
elif x==3 :
cur.execute(s1)
print("{0:^15)(1:20)(2:^20)(3:^15)(4:20)".format(id.med_name,type,name,
contact_details))
elif x=4:
-14-
b = int(input("enter no. of medicines bought:"))
for i in range(0,b):
mycon=mycon.connect(host=localhost',user='root'.passwd='root', database="me
dic')
cur mycon.cursor()
cur.execute(sf)
mycon.commit()
print('*'*100)
print("\t\t{}'.format("Khagual, Danapur"))
print("\t\t{}'.format(dat))
print("="*70)
print("-"*100) -15-
s1=("select from bill")
cur.execute(s1).
Total _Cost= 0
print("{0:^15}{1:^20}{2:^20} {3:^15}{4:20}".format(id,med_name,pay_mode,
price,quantity))
print('*'*100)
print("Total Cos'.format(Total_Cost))
print('-'*100)
print('-'*100)
print("\n")
print('*'100)
elif x=5
mycon.commit()
print("bill cleared")
def menu6():
print (-------------REFUND----------------------)
cur.execute(a)
b=cur.fetchall()
for i in b:
x= True
print()
print("select {5}-refund")
print("select {6}-exit")
print("."*70)
if option == 1:
menu2()
elif option == 3:
menu4()
elif option == 4:
menu5()
elif option 5:
menu6()
elif option == 6:
else:
-18-
OUTPUT
-19-
Update :
Search :
-20-
Delete :
Report :
-21-
Bill :
Exit :
-22-
CONCLUSION
Our project is only a humble venture to satisfy the needs to manage their project
work. Several user-friendly coding has also adopted. This package shall prove to be a
powerful package in satisfying all the requirements of the school. The objective of software
planning is to provide a frame work that enables the manger to make reasonable estimates
made within a limited time frame at the beginning of the software project and should be
updated regularly as the project progresses.
• We describe the requirement Specifications of the system and the actions that can be
done on these things
-23-
BIBLIOGRAPHY
• W3school.com
• Zentut.com
• Slideshare.com
• Scribd.com
• Programiz.com
• Mysql.com
• Itsourcecode.com
-24-