6060 Gas Management System
6060 Gas Management System
6060 Gas Management System
PROJECT REPORT ON
ROLL NO :
NAME :
CLASS : XII
PGT (CS)
MP
1
JAWAHAR NAVODAYA VIDYALAYA PAWARKHEDA
CERTIFICATE
Work entitled GAS MANAGEMENT SYSTEM in the subject Computer Science (083)
laid down in the regulations of CBSE for the purpose of Practical Examination in
on______________.
Name: __________________________
2
TABLE OF CONTENTS [ T O C ]
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
3
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful completion
of this project.
I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.
My sincere thanks to Mr. Vinay Kumar Soni, PGT CS, A guide, Mentor all
the above a friend, who critically reviewed my project and helped in solving each
and every problem, occurred during implementation of the project
The guidance and support received from all the members who contributed
and who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.
4
INTRODUCTION
the ratio of a circle's circumference to its diameter, it now has various equivalent
definitions and appears in many formulas in all areas of mathematics and physics. It
is approximately equal to 3.14159. It has been represented by the Greek letter "π"
since the mid-18th century, though it is also sometimes spelled out as "pi". It is also
called Archimedes' constant. This project computes the pi value depending on user
input.
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
PROPOSED SYSTEM
5
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
One has to use the data management software. Software has been an ascent
markets, which have helped in making the organizations work easier and efficiently.
Data management initially had to maintain a lot of ledgers and a lot of paper work
has to be done but now software product on this organization has made their work
faster and easier. Now only this software has to be loaded on the computer and work
can be done.
This prevents a lot of time and money. The work becomes fully automated
and any information regarding the organization can be obtained by clicking the
6
The systems development life cycle is a project management technique that
divides complex projects into smaller, more easily managed segments or phases.
Segmenting projects allows managers to verify the successful completion of project
phases before allocating resources to subsequent phases.
Software development projects typically include initiation, planning, design,
development, testing, implementation, and maintenance phases. However, the
phases may be divided differently depending on the organization involved.
For example, initial project activities might be designated as request,
requirements-definition, and planning phases, or initiation, concept-development,
and planning phases. End users of the system under development should be
involved in reviewing the output of each phase to ensure the system is being built to
deliver the needed functionality.
INITIATION PHASE
9
PLANNING PHASE
This phase formally defines the detailed functional user requirements using
high-level requirements identified in the Initiation, System Concept, and Planning
phases. It also delineates the requirements in terms of data, system performance,
security, and maintainability requirements for the system. The requirements are
defined in this phase to alevel of detail sufficient for systems design to proceed. They
need to be measurable, testable, and relate to the business need or opportunity
identified in the Initiation Phase. The requirements that will be used to determine
acceptance of the system are captured in the Test and Evaluation MasterPlan.
10
The purposes of this phase are to:
Further define and refine the functional and data requirements and document
them in the Requirements Document,
Complete business process reengineering of the functions to be supported
(i.e., verify what information drives the business process, what information is
generated, who generates it, where does the information go, and who
processes it),
Develop detailed data and process models (system inputs, outputs, and the
process.
Develop the test and evaluation requirements that will be used to determine
acceptable system performance.
DESIGN PHASE
11
Identifying potential risks and defining mitigating design features.
Performing a security risk assessment.
Developing a conversion plan to migrate current data to the new system.
Determining the operating environment.
Defining major subsystems and their inputs and outputs.
Allocating processes to resources.
Preparing detailed logic specifications for each software module. The result is
a draft System Design Document which captures the preliminary design for
the system.
Everything requiring user input or approval is documented and reviewed by
the user. Once these documents have been approved by the Agency CIO and
Business Sponsor, the final System Design Document is created to serve as
the Critical/Detailed Design for the system.
This document receives a rigorous review byAgency technical and functional
representatives to ensure that it satisfies the business requirements.
Concurrent with the development of the system design, the Agency Project
Manager begins development of the Implementation Plan, Operations and
Maintenance Manual, and the Training Plan.
DEVELOPMENT PHASE
Testing as a deployed system with end users working together with contract
personnel
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 processes. This phase continues until the
system is operating in production in accordance with the defined userrequirements.
14
FLOW CHART
START
for i
in
range
print("1.CREATE ACCOUNT")
elif
elif
if elif choic elif
choi
choice choice e == choic
ce==
==1: ==2: 3: e==5:
4:
input("ENTER THE
input("enter the namecustomer") NAME OF CUSTOMER:") mycursor.fetchall()
input("enter your account number:") mycursor.execute("select *
input("enter your complete
from gasin")
address:")
input("enter your debit card
print("YOUR RESULT IS ") input("ENER yOUR
number:")
NAME")
input("enter your credit amount”)
print("CHOOSE A CHOICE :")
print("1. C N G ..Rs.75/l")
mycursor.fetchall()
Your account is created print("2.L P G .Rs.80/l")
15
if if if
ch== ch== ch=
1: 2: =3:
80*lpg
if
if chio==1
cho=
=1:
remaind=v_credit-total
print("your record is updated")
print("your record is
updated")
elif elif
choice choic
==6: e==0:
print("data inserted")
STOP 16
SOURCE CODE
import mysql.connector as sql , datetime as dt
conn=sql.connect(host='localhost',user='root',passwd='ADMINIST
RATOR12345',database='gasin')
if conn.is_connected():
print("connected")
mycursor=conn.cursor()
if (passw == passwd) :
else:
print("invalid")
print("1.CREATE ACCOUNT")
17
choice=int(input("enter your choice as per the above
information:"))
if choice==1:
import datetime
v_date=datetime.datetime.now()
continue
elif choice==2:
re=mycursor.fetchall()
for x in re:
print(x)
continue
elif choice == 3:
import datetime
v_date=datetime.datetime.now()
date = v_date
18
print("the date & time is:",v_date)
print("1. C N G ......Rs.75/l")
print("2.L P G .......Rs.80/l")
if ch==1:
amount= 75*cng
v_cng='cng',v_amtobe_paid='amont',where customer
='customer_name'")
if cho==1:
remaining=v_credit-amount
v_credit=('remaining'),v_date=('date') where
v_customer='customer_name'")
else:
print("INVALID CODE")
if ch==2:
19
lpg=int(input("enter the amount bought by the
customer:"))
pay = 80*lpg
v_lpg='lpg',v_amtobe_paid='pay' where
v_customer='customer_name'")
if choo==1:
remain=v_credit-pay
v_credit='remain',v_date='date'where v_customer
='customer_name'")
if ch==3:
total=80*lpgas+75*cngas
v_lpg='lpgas',v_cng='cngas',v_amtobe_paid='total' where
v_customer='customer_name'")
20
if chio==1:
remaind=v_credit-total
v_credit='remaind',v_date='date'where v_customer
='customer_name'")
elif choice==4:
se = mycursor.fetchall()
for x in se:
print(x)
continue
elif choice==5:
mycursor.execute("select v_credit ,
v_customer='customer_name'")
record=mycursor.fetchall()
for x in records:
print(x)
continue
elif choice==6:
import datetime
v_date=datetime.datetime.now()
date = v_date
21
v_debit=input("enter your debit card number:")
values(v_customer,v_accno,'(date)', 'v_add',44453,1009900)")
print("inserted")
continue
elif choice==0:
break
conn.commit()
OUTPUT
22
TESTING
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
24
The black box tester has no "bonds" with the code, and a tester's perception
is very simple: a code must have bugs. Using the principle, "Ask and you shall
receive," black box testers find bugs where programmers don't. But, on the other
hand, black box testing has been said to be "like a walk in a dark labyrinth without a
flashlight," because the tester doesn't know how the software being tested was
actually constructed.
That's why there are situations when (1) a black box tester writes many test
cases to check something that can be tested by only one test case, and/or (2) some
parts of the back end are not tested at all. Therefore, black box testing has the
advantage of "an unaffiliated opinion," on the one hand, and the disadvantage of
"blind exploring," on the other.
White box testing, by contrast to black box testing, is when the tester has
access to the internal data structures and algorithms (and the code that implement
these)
White box testing methods can also be used to evaluate the completeness of
a test suite that was created with black box testing methods. This allows the software
team to examine parts of a system that are rarely tested and ensures that the most
important function points have been tested.
25
Two common forms of code coverage are:
Function Coverage: Which reports on functions executed and
Statement Coverage: Which reports on the number of lines executed
to complete the test.
They both return coverage metric, measured as a percentage
26
K9MM-V VIA K8M800+8237R PLUS
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
27
BIBLIOGRAPHY
***
28