You are on page 1of 16
DAV PUBLIC SCHOOL NEW DELHI COMPUTER SCIENCE PROJECT(083) PROJECT REPORT ON Watch Store Management SUBMITTED BY Student Name(roll) UNDER THE GUIDANCE OF: MR. CMPUTER TR.NAME CERTIFICATE Thisis to certify that the Project / Dissertation entitled Watch Store Management is a bona fide work done by MD ADNAN AZIZ and of class XII ‘A’ Session 2021-22 in partial fulfillment of CBSE’s AISSCE Examination 2022 and has been carried out under my direct supervision and guidance. This report or a similar report on th nic has not been submitted for any oth . an ya... and does not form a part fat .c vensou,se undergone by the candidate. INTERNAL EXAMINER EXTERNAL EXAMINER ACKNOWLEDGEMENT | undertook this project work, asthe part of my XIl- Computer Science Python course. | had tried to apply my best of knowledge and experience. However, developing software system is generally a quite complex and time consuming process. It requires a systematic study, insight vision and professional approach during the design and development. Moreover, the developer always feels the need, the help and good wishes of the people near you, who have considerable experience and idea. | would like to extend mv.s* er thr ks and gratitude to my teacher Mrefant sh Vv tma.| am very much thanki toe r inciple vrs. Kiran Yadav for giving valuabh ir .and moral support to develop this software. | would like to take the opportunity to extend my sincere thanks and gratitude to my parents for being a source of inspiration and providing time and freedom to develop this software project. | also had indebtedto my friends for the valuable suggestions during the project work. MD ADNAN AZIZ Class: XII ‘A’ o> > CONTENTS . > 1. Introduction... 2. Objective & Scope of of the Project. 3, Data Dictionary.......cceseeccsenee 4, System Implementation........cecceessseccecssesseesneesesneeeee 4.1 The Hardware used: .......... 4.2 The Software USE: .....sssssesseesneeee 5. System Design & Development. \ 5.1 Database Design Y 5.2 1/O Forms Design & Event Codin; Y,~ 6. User Manual . U/, 21 How to install D VA Working withisofiwaledec cs rete terest mrrs VABI DOs raph yaar INTRODUCTION This software project is developed to automate the functionalities of Watches. The purpose of the software project is to develop a program which provides a friendly interface for the Higher Authority to manage the accounts of clients and to know their Information. When this program made to work by most shops then it can be prove to be an ultimate way of usage for them. AMIS mainly consists of a computerized database, a collection of inter-related tables for a particular suhiect or purpose, capable to produce different repos r 2val_to the user. An application program is tie’ wi tl \da.cuase for easy access andint ate th ot sabe >. This software, being simple in design and working, does not require much of training to officers but controlled fully by a tyro officer, and can be used as a powerful tool for the Watch Store Management System. During coding and design of the software project, python a powerful front-end tool is used for getting CUI based integrated platform and coding simplicity . As a back-end a powerful , open source RDBMS, MySQL is used as per requirement of the CBSE curriculum of Computer Science Python course. OBJECTIVE & SCOPE OF THE PROJECT The objective of the software project is to develop the functions of shops. This software project is also aimed to enhance the current record keeping system which will help managers to retrieve the up- to-date information at right time in right shape. The proposed software system is expected to do the following functionalities- > To provide a user friendly. > To proposed system should maintain all records and transactions and should generate the required reports and information when required. > To provide graphical and.us\ “‘rii dly terface to interact with acentralized databa be od client server architecture. > 1 den 1 citca »peration procedure and possibilities of sin ‘ifig .on using modern IT tools and practices. In its current scope, the software enables Officer to retrieve and update the information from centralized database designed with My SQL. This software does not require much training time of the users due to limited simplicity. Despite of the best effort of the developer, the following limitations and functional boundaries are visible, which limits the scope of this application software. » This software can store records and produce reports in pre- designed format in sift copy. > There is no facility yet to produce customized reports only specified reports and covered. > There is no provisions to calculate fine or penalty etc. for defaulter members however it can be developed easily with help of adding modules. > Some application areas like Updation along with interest of money taking of loan etc. are not implemented in the project. The project is made by keeping in mind that it is to be used only by Officers, which can facilitate ease control. So far as future scope of the project is concerned, firstly it is open to any modular expansion i.e. other modules or functions can be designed and embedded to handle the Officer need in future. Any part of the software and repots can be modified independently without much effort. DATA DICTIONARY Variables and Modules Purpose mysql-connector module This module helps tolink mysql to python Host This variable stores the host of mysq] database User This variable stores the passwordof mysql database Password This variable stores the user of mysql database Database This variable stores the database name of mysql database Mydb Thisis object that stores the connection between mysql and python Mycursor This object simulates the cursor of mysql andhelpsto run querries mydb.commit() Helps to save the datainto the database Password Storesthe password of mysqluser database Username Stores the username of mysql user Poode Stores prom de Pame quantity ‘Sippy act, tor ro antity Price ore. rice of the product new. e stores new price of product old_pe rd Stores the old password SYSTEM IMPLEMENTATION The Hardware Used: While developing the system, the used hardware are, PC with Pentium Dual Core processor having 4.00 GB RAM, SVGA and others devices. The Software used: » Microsoft Windows 10 as Operating System. » Python 3.9.5 as Front-end Development environment. » MySQL as Back-end Server with’ ata se for Testing. » MS-Word 2010 for. er tic SYSTEM DESIGN & DEVELOPMENT Database Design: An important aspect of system is the design of data storage structure. To begin with a logical model of data structure is developed first. A database is a container object which contains tables, queries, reports and data validation policies enforcement rules or constraint etc. A logical data often represented as a records are kept in different tables after reducing anomalies and redundancies. The goodness of data base design lies in the table structure and its relationship. This software project maintains a database. named watch_store2 which contains the following tables Tables:- Stock Table:- PYTHON CODING: #SOURCE CODE FOR - Watch store management system Import mysql.connector print Welcome To Watch Store ) ‘mydb-mysd. connector connecthost—iocalhostuser—"root”password—"legion”) ‘myoursor=mydb. cursor) ‘myoursor execute‘create database if not exists watch_store2") ‘myoursor executet‘use watch_store2") ‘myoursor executet'create table if not exists login(usemame varchar(25) not ull, password varchar(25) not nul") ‘myoursor executef create table if not exists purchase(odate date not nul name varchar(25) not null,pcode int not null amount int rot nl") ‘myoursor execute( create table if not exists stock(pcade int not null, prame varchar(25) not null, quanti int not null price int rot nul") ‘yd commit) ‘myoursor execute(‘select * from login") for iin mycursor: (2-0) ‘myoursor execute ‘insert nto login values( usemame’‘qwer)") rmydb commit() while True: print(™ Admin 2 Customer 3.Ext ) cheintfnpul(Enter your choice:")) Hert) paswid=i) cates wo. myoursoré vte"sel ft gin) foriin mye Wipaswed—ps print(wolcose ) loop2-'y while(loop2—='or loop print(” 1.Add new item updating price ‘Deleting tem ‘Display Al liom '5.To Change The Password 6.Log Out q {ch=int{input(“Enter your choice") iWfeh==1): loopy whiletoop==' or loop=Y): ‘peode=int(inpuit"Enter product code:")) ‘pname=inputEnter product name") ‘quantity=intinput(Enter product quantity) ‘rioe=ininput Enter product price) ‘mycursor execute ‘insert into stock values("s(pcode)+"."+pname+","+st(quantiy)+"."st(price)+")") smydb commit) print("Record Successtuly Inserted..") oop=inpuit'Do You Want To Enter More Items) -input("Do You Want to continue ediing stock(yin)*) whiletoop==' or loop=='Y): ‘Peode=int(input’Enter product code:")) ‘new price-ininput(Enter new pace”) ‘mycursor execute update stock set price="sst{new_price)+"where peode=" sti(pcode). ‘mydo.comrnit() loop=input"Do you want to change price o any other ite yin") lo0p2-input(De you want to continue ediing stock(yin)”) lit(ch—=3): loop=y whileioop==y' or oop) Peode=intnput’Enter product code:")) Imycursor exeoutedelete from stock where pode" strpcode)+"") rmyd.cornit() Toop=input("Do you want to delete any other datatyin):*) loop2=inpui(De you want to continue eating stock(yin)") euit(eh=4y ‘mycursor exeoute( selec * from stock”) peint(poode | pname || qantty Il pice") for iin mycursor. ‘Lode, name,t quan. price print(P code} | (name) || (quan) lt price!) etch 5) ‘d_paswd-input( Enter old password”) Imycursor execute select * fom login") for in mycursor uusemame password W(old_paswrd—password): new paswrd=inpul'Enter new password") rmycursor execute update login set password-"snew_paswrd"") rmydo commit) euch break else: print(‘wrong password") TAU EIRTEKEYHEEETAREACustomer Secon NIA AHHH ETAMEKOTEEHYO alit(cn=2) print 1.ttem Bucket 2.Payment 3.View Avallabin 4.Go Back ) ch2sintlig, tory, nok W(on2—=") ‘name=inpt sar name) pponde-int (i Enter product code") ‘quantity-intonput(Enter product quantiy:") ‘myoursor execute(select "from stock where peode~ for iin mycursor ‘Loode,t name,t_quan.t_price-1 amount=t_price’quantty et_quan=t quan-quanity ‘myBursor executet‘update stock set quantty="-st(net_quan)+"where pcode="sst(pcode)+"") ‘myoursor exeoutet inset into purchase values(now()"smame+,"+st{poode)+""+st(amount}")) ‘myo commit) ati(ch2—=2) ‘print(Tamount to be palslamount)") eti(cr2—3) print(CODE || NAME || PRICE|) ‘myoursorexecutet'select "from stock’) for iin mycursor: {code,t name,t_quan,t_price-i print({code) (name) Il t-price)) elitch2. break elit(ch=3) break USER MANUAL How to install Software: Hardware Requirement- * Intel Pentium/Celeron or similar processor based PC at Client/server end. “% 128 MB HDD space and 4GB RAM (for database) is desirable. Standard 1/0 devices like Keyboard and Mouse etc. “% Printer is needed for hard copy reports. *% Local Area Network (LAN) is required for Client Server Installation. Software Requirement- 4% Windows 2010 OS is desi % Pytho= must besiliiialle anc ‘ty$ connector must be installed. NV QL\ 3.6 Tun Lit ry vatabase must be present at machine. BIBLIOGRAPHY In order to work on this project titled — Watch store management system the following books and literature are referred by me during the various phases of development of the project. The Complete Reference python — by Shildit MySQL Black book — by Steven Holzner Understanding SQL-Gruber Course Book of Python XII Various Websites of Discussion Forum and software development activities.

You might also like