CS Project On Shoe Billing System
CS Project On Shoe Billing System
01 ACKNOWLEDGEMENT 04
02 INTRODUCTION 05
04 PROPOSED SYSTEM 06
07 FLOW CHART 15
08 SOURCE CODE 16
09 OUTPUT 19
10 TESTING 20
12 BIBLIOGRAPHY 24
1
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.
2
PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human
beings of be really wants to stand against today’s merciless
competition where not to wise saying “to err is human” no
longer valid, it’s outdated to rationalize your mistake. So, to
keep pace with time, to bring about the best result without
malfunctioning and greater efficiency so to replace the
unending heaps of flies with a much sophisticated hard disk
of the computer.
3
SYSTEM DEVELOPMENT LIFE CYCLE
(SDLC)
INITIATION PHASE
The Initiation Phase begins when a business sponsor
identifies a need or an opportunity.
5
Identify and validate an opportunity to improve business
accomplishments of the organization or a deficiency
related to a business need.
Identify significant assumptions and constraints on
solutions to that need.
Recommend the exploration of alternative concepts and
methods to satisfy the need including questioning the need
for technology, i.e., will a change in the business process
offer a solution?
Assure executive business and executive technical
sponsorship. The Sponsor designates a Project Manager
and the business need is documented in a Concept
Proposal. The Concept Proposal includes information
about the business process andthe relationship to the
Agency/Organization.
Infrastructure and the Strategic Plan. A successful Concept
Proposal results in a Project Management Charter which
outlines the authority of the project manager to begin
the project.
6
solutions and detail as many informational, functional, and
network requirements as possible.
8
PLANNING PHASE
The planning phase is the most critical step in
completing development, acquisition, and maintenance
projects. Careful planning, particularly in the early stages of
a project, isnecessary to coordinate activities and manage
project risks effectively. The depth and formality of project
plans should be commensurate with the characteristics and
risks of a given project. Project plans refine the information
gathered during the initiation phase by further identifying
the specificactivities and resources required to complete a
project.
A critical part of a project manager’sjob is to coordinate
discussions between user, audit, security, design,
development, and network personnel to identify and
document as many functional, security, and
networkrequirements as possible. During this phase, a plan
is developed that documents the approach to be used and
includes a discussion of methods, tools, tasks, resources,
project schedules, and user input. Personnel assignments,
costs, project schedule, and target dates are established.
A Project Management Plan is created with
components related to acquisition planning, configuration
management planning, quality assurance planning, concept
of operations, system security, verification and validation,
and systems engineering management planning.
9
REQUIREMENTS ANALYSIS PHASE
10
DESIGN PHASE
These include:
12
DEVELOPMENT PHASE
The development phase involves converting design
specifications into executable programs. Effective
development standards include requirements that
programmers and other project participants discuss design
specifications before programming begins. The procedures
help ensure programmers clearly understand program
designs and functional requirements. Programmers use
various techniques to develop computer programs. The
large transaction oriented programs associated with
financial institutions have traditionally been developed
using procedural programming techniques. Procedural
programming involves the line-by-line scripting of logical
instructions that are combined to form a program.Effective
completion of the previous stages is a key factor in the
success of the Development phase. The Development phase
consists of:
IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and
accepted by the user. In this phase, the system is installed to
support the intended business functions. System
performance is compared to performance objectives
established during the planning phase. Implementation
includes user notification, user training, installation of
hardware, installation of software onto production
computers, and integration of the system into daily work
14
processes. This phase continues until the system is operating
in production in accordance with the defined
userrequirements.
FLOW CHART
START 15
conn=sql.connect(host='localhost',user='root',passwd='manager
',database='shoe_billing')
conn.autocommit=True FALSE
c1=conn.cursor()
user=input("enter user")
passwd=input("enter password") STOP
TRUE
if user=='raghavan' and
passwd=='leo':
if v_choice==1 :
elif v_choice==2:
code=input("enter code=") v_code=input("enter the
code number")
brand =input("enter brand=")
name=input("enter customer name=") 16
number=input("enter phone number=")
details=input ("adress=")
c1.execute("select * from
shoe_details where
shoe_code ="+v_code)
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("amount:",data[0][5])
STOP
SOURCE CODE
17
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='manager',data
base='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_number,
,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"))
if v_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+"',"+am
ount+")")
conn.commit()
elif v_choice==2:
v_code=input("enter the code number")
cl.execute("select * from shoe_details where shoe_code
="+v_code)
data=c1.fetchall()
print("Shoe code:",data[0][0])
18
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
19
PAGE SHOWING THE DETAILS OF CUSTOMERS
CHART
20
SALES OF FAMOUS SHOE BRAND IN THE
SHOP
7
5
REEBOK
ADDIDAS
4 LOTTO
SALES
NIVIA
3
0
2000-2005 2005-2010 2010-2015 2015-2020 2020-2025 2025-2030
YEAR
TESTING
Software Testing is an empirical investigation conducted to
provide stakeholders with information about the quality of
the product or service under test[1] , with respect to the
context in which it is intended to operate. Software Testing
also provides an objective, independent view of the software
to allow the business to appreciate and understand the risks
at implementation of the software. Test techniques include,
but are not limited to, the process of executing a program or
application with the intent of finding software bugs.
It can also be stated as the process of validating and
verifying that a software program/application/product meets
the business and technical requirements that guided its
21
design and development, so that it works as expected and
can be implemented with the same characteristics. Software
Testing, depending on the testing method employed, can be
implemented at any time in the development process,
however the most test effort is employed after the
requirements have been defined and coding process has
been completed.
TESTING METHODS
Software testing methods are traditionally divided into
black box testing and white box testing. These two
approaches are used to describe the point of view that a test
engineer takes when designing test cases.
SPECIFICATION-BASED TESTING
Specification-based testing aims to test the functionality
of software according to the applicable requirements.[16]
Thus, the tester inputs data into, and only sees the output
from, the test object. This level of testing usually requires
thorough test cases to be provided to the tester, who then
can simply verify that for a given input, the output value (or
22
behaviour), either "is" or "is not" the same as the expected
value specified in the test case. Specification-based testing
is necessary, but it is insufficient to guard against certain
risks.
23
Types of white box testing:-
The following types of white box testing exist:
api testing - Testing of the application using Public and
Private APIs.
Code coverage - creating tests to satisfy some criteria of
code coverage.
For example, the test designer can create tests to cause
all statements in the program to be executed at least once.
fault injection methods.
mutation testing methods.
static testing - White box testing includes all static testing.
24
HARDWARE AND SOFTWARE REQUIREMENTS
I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
III. Mysql
BIBLIOGRAPHY
.
26