0% found this document useful (0 votes)
24 views16 pages

4.watch Store Management - Demo

Uploaded by

ar1234910
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
24 views16 pages

4.watch Store Management - Demo

Uploaded by

ar1234910
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 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 Managementis 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 vsersou,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* 2r thz ks and gratitude to my teacher MreSont sh V oma.| am very much thanki toe r inciole vrs. Kiran Yadav for giving valuabh ir .andmoral 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’ , CONTENTS e > 1. Introduction... 2. Objective & Scope of of the Project. 3, Data Dictionary... 4, System Implementation ........cecsecssseccessseeeseesneessneeneeeee 4.1 The Hardware used: .......... 4.2 The Software Used; .........sssscsoes 200 5. System Design & Development. \ 5.1 Database Design Y 5.2 1/O Forms Design & Event Codin; Y,~ 6. User Manual . 4, 21 How to install 5 O: Wonkine withiS@Tawaleren scenester To ONO TEL Mec meee 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 svhiect or purpose, capable to produce different rep7"s r 2vai__to the user. An application programisti€’ wi tl da.cvase for easy access andint ate th ¢ cabo >. 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| ‘ri diy _ terface to interact with acentralized databa be od client server architecture. > 1 den +1 “cutee »peration procedure and possibilities of sin ‘ific .on usuig 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 Variablesand Modules Purpose mysql-connector module This module helps to link 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 pro* de Pame quantity ‘Sippy act. tor ro antity Price ore. ice of the product new. 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 table Tables:- Stock Table:- PYTHON CODING: #SOURCE CODE FOR - Watch store management system Import mysql.connector print Welcome To Watch Store ) ‘myd-mysd. connector connecthost—iocalhostuser—"root”password—"legion”) ‘myoursor=mydb cursor) ‘myoursor executer'create database if not exists watch_store2") ‘myoursor executef‘use watch_store2") ‘myoursor executel'create table if not exists login(usemame varchar(25) not null, password varchar(25) not ul") ‘myoursor execute create table if not exists purchase{odate date not nullname varchar(25) not ull,pcode int not null amount int rot nl") ‘myoursor executet 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 executet‘select * from login") for iin mycursor: (2-0) ‘myoursor execute ‘insert nto login values( usemame’‘quer)") rmydb commit() while True: print(™ Acrin 2 Customer 3.Ext ) cheintfnpul(Enter your choice") ent) pagwid=i cates) wo yoursoré vte"sel fig) foriin mye = Wipaswrd—pe print(wolco..< ) loop2='y whiletloop2—='or loop print(” 1.Add new tem updating price ‘Deleting tem ‘Display Al ltom '5.To Change The Password 6.Log Out a ‘ch=int{input(Enter your choice) iWfeh==1): loopy whileoop==y' or loop=Y): ‘peode=int(inpuit‘Enter product code:")) ‘pname-=inputEnier product name") ‘uantity=intinput(Enter product quantity) prioe-ininput Enter product price") ‘mycursor execute ‘insert into stock values("st(pcode)+"."+pname +","+st(quantiy)+"."st(price)+")") smydb commit) print("Record Successtuly Inserted..") oop=inpuit’Do You Want To Enter More Items(yn)) sinput("Do You Want to continue ediing stock(yin)*) whiletoop==¥' or loop=='Y): ‘Peode=int(input"Enter product code:")) ‘new price-iniinpul(Enter new pace”) ‘mycursor execute update stock set price="sst{new_price)»"where peode=" sti(pcode). ‘mydo.corrnit() loop=inpu"Do you want to change price to any other ite yin") lo0p2-input(Do you want to continue ediing stock(yin)”) alit(ch—=3) loop=y while.oop==y' or loop) Peode=intnput’Enter product code") Imycursor execute ‘delete trom stock where pode" strpcode)+"") ‘myd.comnit) toop=input(Do you want to delete any other datatyin):*) oop2=inpui(De you want to continue eating stock(yin)") elit(eh—4y Imycursor exeoute( select * from stock”) peint(pode | pname || qantty || pice") for iin mycursor. ‘Lode, name,t quan. price print(P code} [| (name) || (quan) [It price) euntich 5) ‘d_paswnd-input( Enter old password”) rmyeursor execute select * fom login") for in mycursor uusemame password (old_paswrd—password): new paswrd=inpui‘Enter new password") rmycursor execute update login set password-"snew_paswrds"") rmydo.commit() euch break else: print(‘wrong password) TRU EIRTETEYHEEETOREACuStomer Section NIA KHTH RTI MEKNTEEHYO calit(cn=2) print 1.ttem Bucket 2.Payment 3.View Avallabin 4.Go Back ) ch2sintlig Entery shot Wion2—="): ‘name=inp& sar name) ponde-int(_ Enter product code) ‘quantity-int@nput(Enter product quantity") ‘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 quantity="st(net_quan)+"where pcode="+st(pcode)+"") ‘myoursor exeoutet inset into purchase values(now()"snames","+st(poode)+""+st(amount}")) ‘myo commit) alit(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 pprint(*{code) (name) Il t_price)) lich. 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 bewalle anc ‘ty$ connector must be installed. NM QLv 3.6 TunLit 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