Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 30

PROJECT REPORT

ON
CONSOLE BASED BILLING SYSTEM
SUMMER TRAINING WORK
Submitted in Partial Fulfilment of the Requirements for the award of the degree of
B.Tech (V SEM
Bachelor!s "egree of Electronics and #ommunication Engineering
($%&&'$%&(
B)
ALOK SHARMA
(%%*&*+%$+&&
"EP,RTME-T .F E/E#TR.-0#S ,-" #.MM1-0#,T0.- E-20-EER0-23
M,4,R,5, ,2R,SE- 0-ST0T1TE .F TE#4-./.263
SE#T.R'$$3 R.40-03
-E7 "E/40 '&&%%+8
"ET,0/S
1. PROJECT DETAILS
PROJECT TITLE: #.-S./E B,SE" B0//0-2 S6STEM (5,V,
SUBMITTED BY9 ,lo: Sharma
DATE OF SUBBMISSION9 &; 5ul)3$%&<
GUIDE: Mr. Ritu=)a #hauhan
Name & Adde!! "# $%e &'!$&$($e:
>4PES -odal #entre3 ,gra?
4ewlett'Pac:ard 0ndia Sales P@t. /td.
Building -o9 %$3 "/F #6BER2REE-
&st to (th Floors3 Tower " A E
"/F #)ber #it)3 Phase 000
2urgaon ' &$$ %%$
4ar)ana3 0ndia
). STUDENT DETAILS
Name B ,lo: Sharma
E'"**me'$ '". B %%*&*+%$+&&
Seme!$e B V
De+a$me'$ ' E#E
T,B/E .F #.-TE-T
&. Pro=ect /etter
$. #ertificate
<. ,c:nowledgement
*. 1nderta:ing
(. ,bout 4PES
8. 0ntroduction
;. .b=ecti@e
+. Pro=ect categor)
C. T)Des of ReDorts
&%. Technologies and tools
&&. 4ardware
&$. Future scoDe
&<. ,nal)sis of Present S)stem
&*. Problem of EEisting S)stem
&(. #haracteristic of ProDosed S)stem
&8. Feasibilit) ,nal)sis
a. -eed for Feasibilit) Stud)
b. Technical Feasibilit)
c. Beha@ioural Feasibilit)
d. Economic Feasibilit)
e. Product PersDecti@e
&;. "ata flow diagram
&+. Entit) Relation "iagram
&C. Flow chart
$%. 0nDut #ode
$&. .utDut Screenshots
$$. #onclusion
$<. BibliograDh)
,#F-.7/E"2EME-T
0 eEDress m) sincere gratitude and than:s to Mr. Ritu=)a #hauhan (5a@a facult) for
Dro@iding me the eEcellent oDDortunit) to do a Dro=ect on C"'!"*e Ba!ed B&**&', S-!$em
and Dro@iding me with all the essential elements required for the comDletion and
enhancement of this Dro=ect.
0 would li:e to than: those resDondents who ha@e ta:en Dain in successful comDletion
of m) Dro=ect wor:.
1-"ERT,F0-2
M) wor: titled C"'!"*e Ba!ed Re!e.a$&"' S-!$em in this Dro=ect reDort as Dart of
the Summer 0nternshiD (5une B 5ul)3 $%&< under the guidance of Mr. Ritu=)a
#hauhan.
0f m) wor: has been insDired b) an)one else!s wor: then all such wor:(s has been
aDDroDriatel) referred b) me and due ac:nowledgements ha@e been made.
,n) academic misconduct and dishonest) found in regard to abo@e or otherwise shall
be solel) and entirel) m) resDonsibilit) and m) facult) ad@isor shall not be
resDonsible. 0n such a situation3 0 understand that a strict disciDlinar) action can be
underta:en against me b) the concerned authorities.
-ame9 ,lo: Sharma
"ate9&( 5ul)3 $%&<
Signature9
,B.1T 4PES
4P Education Ser@ices is the most reDuted name in 4igh End Technical
Education. 4P mentors3 guides and encourages )ou to stri@e for eEcellence.
4P is the largest 0T solutions comDan) worldwide.
4P is the largest 1niE training comDan) worldwide.
4P has been in the education business for o@er <% )ears.
Present in more than *%% 4P education centers and Dartner locations.
The) ha@e trained Drofessionals of the toD most comDanies of the world.
The) do induction batches training for man) comDanies.
4P Dro@ides Technical Training for fresher and eEDerienced candidates as Der
their need.
Soft s:ills training is also Dro@ided b) 4P.
4P has @arious customiGed Drograms to suit the requirements.
0-TR."1#T0.-
The Dro=ect HBilling s)stemI is an aDDlication to automate the Drocess of ordering
and billing of a H"eDartmental storeI. This web based aDDlication is designed
considering the chain of deDartmental store which is located in @arious cities. This
aDDlication also administrates its users and customers.
.B5E#T0VE
This Dro=ect will ser@e the following ob=ecti@es9'
,dd and maintain records of a@ailable Droducts.
,dd and maintain customer details.
,dd and maintain descriDtion of new Droducts.
,dd and maintain new entered categor) of Droducts.
Pro@ides economicJfinancial reDorts to the owner monthl) or wee:l) and
)earl).
Pro@ides a con@enient solution of billing Dattern.
Ma:e an eas) to use en@ironment for users and customers.

PR.5E#T #,TE2.R6

CORE JA/A:
The Dro=ect is based on the conceDts of #ore 5,V,.

T6PES .F REP.RTS
The following are the t)De of reDorts that can be generated using
the designed s)stem.
&. "ail) Sales ReDort
$. Monthl) #ustomer ReDort
<. "ail) Product ReDort
*. "ue "ate ReDort (ReDort of a Darticular "a)
(. Billing ReDort

TE#4-./.20ES ,-" T../S
Software 1sed9
&. 7eb browser9 2oogle #hrome
$. /anguages 1sed9 #ore 5,V,
<. EcliDse and -oteDadKK (for comDiling and eEecuting the Drograms
4ardware 1sed9
#P1 configuration
' ,M" Drocessors *%%%K series
' R,M & 2B ""R$
Monitor
' ,n) monitor
.Derating S)stem9
' 7indows LP
' 7indows ;
' 7indows +
.r an) other @ersion
F1T1RE S#.PE
&. This Dro=ect will helD the store :eeDer in fast billing.
$. This Dro=ect enable store :eeDer to maintain a great database of all
#ustomers @isited and Durchase Droduct from store.
<. Pro=ect will enable to see reDort regarding Droduct and categor).
*. 0t is eas) to maintain in future DrosDect.
,-,/6S0S .F PRESE-T S6STEM
Before we begin a new s)stem it is imDortant to stud) the s)stem that will be
imDro@ed or reDlaced (if there is one. 7e need to anal)se how this s)stem uses
hardware3 software3 networ: and the DeoDle resources to con@ert data resources3 such
as transaction data3 into information Droducts3 such as reDorts and disDla)s. Thus we
should document how the information s)stem acti@ities of inDut3 Drocessing3 outDut3
storage and control are accomDlished.
PR.B/EM .F EL0ST0-2 S6STEM
&. 0nabilit) of modification of data9 The managing of huge data
Effecti@el) and efficientl) for efficient results3 storing the details of the
#onsumers etc. in such a wa) that the database can be modified as not
Possible in the current s)stem.
$. -ot user friendl)9 The eEisting s)stem is not user friendl) because
The retrie@al and storing of data is slow and data is not maintained
Efficientl).
<. "ifficult) in reDorts generating9 Either no reDorts generating in a
#urrent s)stem or the) are generated with great difficult) reDorts ta:e
Time to generate in the current s)stem.
*. Manual oDerator control9 Manual oDerator control is there and leads
to a lot of chaos and errors.
(. /ot of DaDerwor:9 EEisting s)stem requires lot of DaDer wor: and
E@en a small transaction require man) DaDers fill. Moreo@er an)
1nnatural cause (such as fire in the organiGation can destro) all data of
the organiGation. /oss of e@en a single DaDer led to difficult situation
Because all the DaDers are interrelated.
8. 0nabilit) of sharing the data9 "ata cannot be shared in the eEisting
s)stem. This means that no two Dersons can use the same data in
eEisting s)stem. ,lso the two deDartments in an organiGation cannot
interact with each other without the actual mo@ement of data.
;. -o suDDort in decision'ma:ing9 EEisting s)stem does not suDDort
managerial decision'ma:ing.
+. -o suDDort in strategic comDetiti@e ad@antage9 EEisting s)stem do
not suDDort strategic comDetiti@e ad@antages.
#4,R,#TERST0# .F T4E PR.P.SE"
S6STEM
&. Easiness in modification of data.
$. 1ser friendl)9 The DroDosed s)stem is user friendl).
<. ReDorts are easil) generated9 ReDorts can be easil) generated in a
DroDosed s)stem. So an) t)De of reDorts can be generated in a DroDosed
s)stem3 which helDs the managers in a decisions'ma:ing acti@it).
*. -o or @er) few DaDerwor:9 The DroDosed s)stem either does not
require DaDer wor: or @er) few DaDer wor:s is required. ,ll the data is
Feted into the comDuter immediatel) and @arious bills and reDorts can be
2enerated through comDuters.
(. SuDDort strategic comDetiti@e ad@antage9 ProDosed s)stem suDDorts
strategic comDetiti@e ad@antages. Since the DroDosed s)stems Dro@ide
easiness in reDorts generating it will Dro@ide strategic ad@antages among
comDetitors.
8. #omDuter oDerator control9 #omDuter oDerator control will be there
no errors. Moreo@er storing and retrie@ing of information is eas). So
wor: can be done sDeedil) and in time.
FE,S0B0/0T6 ,-,/6S0S
Title9
Feasibilit) reDort for the comDuteriGation of the @arious acti@ities of
the comDan).
Bac:ground9
The #omDan) facing the Droblem of inconsistent and out of
time information in its acti@ities. Ver) much time is consuming for reDort
generation3 which is not @er) helDful for decision ma:ing. So we want a
s)stem3 which Dro@ide immediate information.
Method of stud)9
The anal)sis Drocedure comDrised of field triDs in the
@arious deDartments of the comDan). The following documents and sources
were loo:ed uD9
M The Durchase order that contain items to be Durchased.
M The accounts register.
M Purchase order issues to @endors.
M Bills recei@e from @endors. M Bills gi@e to the customers.
M Purchase return forms (if an) gi@e to @endors.
-eed For Feasibilit) Stud)9
The feasibilit) stud) is carried out to test whether the DroDosed s)stem is
worth being imDlemented. Feasibilit) stud) is a test of s)stem DroDosed
regarding its wor: abilit)3 its imDact on the organiGation abilit) to meet user
needs and effecti@e use of resources. 0t is usuall) carried out b) a small
number of DeoDle who are familiar with the information s)stem techniques3
understand the Dart of the business or organiGation that will be in@ol@ed or
effected b) the Dro=ect and are s:illed in the s)stem anal)sis and design
Drocess.
The :e) consideration in@ol@e in the feasibilit) stud) are9
&. Technical
$. Beha@ioural
<. Economic

&. Technical Feasibilit)
Technical feasibilit) centres on the eEisting comDuter s)stem ( hardware3
Software etc and to what eEtent it can suDDort the DroDosed s)stem
,ddition. For eEamDle3 if the current s)stem is oDerating at ;%N caDacit) (an
,rbitrar) @alue3 then another aDDlication could o@erload the s)stem or
require additional hardware. 0f the budget is serious constrain then the
Dro=ect is =udged not feasible.
The technologies ant the en@ironment which are used in this Dro=ect are
S.FT7,RE
Front End
&. /anguage used9 #ore 5,V,.
.Derating S)stem9
Platform9
7indows LP . .ur s)stem requires window oDerating
s)stem3 which is easil) a@ailable.
4ardware9
0ntel based Drocessor'run comDuter s)stem3 which ha@e :e)board and
mouse as inDut de@ices. This has been decided for its case of
a@ailabilit) and uD'gradation.
The @arious registers maintained at the different deDartment ha@e
enough information recording3 which will helD in digitiGing the
a@ailable data.
$. Beha@ioural Feasibilit)9
,n e@aluation of the beha@iour of the end users3 which ma) effect the
En@eloDment of the s)stem. PeoDle are inherentl) resistant to change and
#omDuters ha@e to :now to facilitate changes and comDuters ha@e to :nown
To facilitate changes. ,n estimate should be made of how strong a reaction
The user staffs is li:el) to ha@e towards the de@eloDment of a comDuteriGed
S)stem. 0t is a common :nowledge that a comDuter installation has something to do
with turno@er3 transfer3 retraining and changes in emDlo)ee
=ob status3 therefore the introduction of a candidate s)stem requires sDecial
effort to educate3 sell and train the staff on new wa)s of conducting business.
The Dersonal of the user organiGation will be affected b) the DroDosed
s)stem. ,s the aim of the s)stem is onl) to satisf) the information needs3 no
emDlo)ees will loose their Dosition b) the DroDosed s)stem. 0n fact the
DroDosed s)stem will helD the organiGation in reducing the @oluminous wor:
in@ol@ed. ,lso the in@ol@ement of users in e@er) stage of the Dro=ect is going
to increase the success factor.
The staff in not well educated for running a comDuteriGed s)stem. The) are
adamant in Dercei@ing a mechanical Drocess of wor:ing as the) ha@e long
been used to the manual entr) s)stem. This asDect needs considerable
amount of attention.
.ur s)stem is also feasible for organiGation because it suDDorts of the
organiGation and its strategic Dlan.
<. Economic Feasibilit)9
The Drocedure is to determine the benefits and sa@ings that are eEDected
from a candidate s)stem and comDare it with the costs. 0f a benefit outweighs
costs3 then the decision is made to design and imDlement the s)stem.
.therwise further alterations are made in the DroDosed s)stem
&. ManDower cost
$. 4ardware and software cost.

",T, F/.7 "0,2R,M
, data flow diagram is graDhical reDresentation that deDicts the information flow and
the transforms that r aDDlied as date mo@es from inDut to outDut. 0t can be used to
reDresent a software at an) le@el of abstraction. 0n fact "F"s ma) be Dartitioned in to
le@els. That reDresents increasing information flow and functional details.
"F"s are defined in le@els with e@er) le@el decreasing the le@el of abstraction as well
as defining a greater detail of the functional organs of the s)stem. , Gero le@el "F"
also :nown as conteEt or fundamental s)stem model reDresents the entire software
elements as a single bubble with inDut and outDut data entities which are indicated as
incoming and outgoing arrows. "ata Flow "iagram helD understanding the basic flow
of data from one Drocess to another Drocess.
E-T0T6 RE/,T0.- "0,2R,M
Entit) Relation "iagram reDresents the ob=ect relationshiD Dairs in graDhical forms
thus we can sa) that the Drimar) goal of ER diagrams is reDresent data ob=ects along
with their relationshiDs.
ER model for data uses three features to describe data9
M Entities which satisf) distinct real world items in an aDDlication
M RelationshiDs connecting different entities and reDresenting meaningful
deDendencies between them
M ,ttributes which sDecif) @arious DroDerties of entities and relations in@ol@ed in
a s)stem.
F/.7 #4,RT
Flow chart is a graDhical reDresentation using s)mbol to show the steD b) steD
sequence of oDeration3 acti@ities or Drocedures used in comDuter s)stem anal)sis3
,cti@it) anal)sis and in Drogram sequence reDresentation. 0t Dresents the simDle flow
Dro=ect.
PR.2R,MME #."E
&. #lass "isDla)/ist
imDort =a@a.io.OP
Dublic class "isDla)/ist
Q Dublic static @oid main(String args>?
Q
disDla)(P
R
Dublic static @oid disDla)(
Q
int iP
/ist.f0tems lSnullP
tr)
Q
File0nDutStream finSnew File0nDutStream(T/ist .f 0tems.tEtTP
.b=ect0nDutStream inS new .b=ect0nDutStream(finP
lS(/ist.f0temsin.read.b=ect(P
in.close(P
fin.close(P
R
catch(0.EEceDtion e
Q
S)stem.out.Drintln(eP
R
catch(#lass-otFoundEEceDtion a
Q
S)stem.out.Drintln(aP
returnP
R
JJS)stem.out.Drintln(T7elcome to 4arshitaUs 2rocer) StoreTP
S)stem.out.Drintln(T4ereUs the /ist of 0tems3 DlG go through the list to select items that
)ou want to shoD for3Than: 6ouTP
for(iS%PiV$%PiKK
Q
S)stem.out.Drintln(T0tem9' TKl.item>i?KTWtWt0"9 TKl.0">i?KTWtPrice9 TKl.Drice>i?P
R
S)stem.out.Drintln(TEn=o) ShoDDing 9"TP
R
R
$. #lass /ist.f0tems
Dublic class /ist.f0tems imDlements =a@a.io.SerialiGable
Q
Dublic String>? itemSnew String>$%?P
Dublic int>? 0"S new int>$%?P
Dublic int>? DriceSnew int>$%?P
R
<. #lass ShoDDersStoD
imDort =a@a.io.OP
imDort =a@a.util.OP
Dublic class ShoDDersStoD
Q
Dublic static @oid main(String args>?
Q
String chP
String addressP
int itemidP
int billS%P
int iP
int flagS&P
int quantP
String idP
Scanner scSnew Scanner(S)stem.inP
/ist.f0tems lSnullP
tr)
Q
File0nDutStream finSnew File0nDutStream(T/ist .f 0tems.tEtTP
.b=ect0nDutStream inS new .b=ect0nDutStream(finP
lS(/ist.f0temsin.read.b=ect(P
in.close(P
fin.close(P
R
catch(0.EEceDtion :
Q
S)stem.out.Drintln(:P
R
catch(#lass-otFoundEEceDtion a
Q
S)stem.out.Drintln(aP
returnP
R
S)stem.out.Drintln(T7elcome dear #ustomer to ,FS 2rocer) StoreTP
S)stem.out.Drintln(T,re )ou a first time userXX Wn Findl) Press U6U for 6es and U-U for
-oTP
chSsc.neEt(P
switch(ch
Q
case T6T9
S)stem.out.Drintln(TEnter )our user idTP
idSsc.neEt(P
S)stem.out.Drintln(TThan: 6ou for registering with usTP
brea:P
case T-T9
S)stem.out.Drintln(T 6ou are alread) a registered user.TP
S)stem.out.Drintln(TPlGG enter )our id for log'inTP
idSsc.neEt(P
S)stem.out.Drintln(T/og 0n successfulTP
brea:P
default9
S)stem.out.Drintln(TDlG run the Drogram again...cuG the @alue )ou enterd is neither 6
nor -TP
R
S)stem.out.Drintln(TPrsenting to )ou the items we ha@e for sale in our grocer) storeTP
"isDla)/ist ob$Snew "isDla)/ist(P
ob$.disDla)(P
S)stem.out.Drintln(TFor selecting the items3 DlG enter their user id and quantit)TP
S)stem.out.Drint(TShoDDing #art items...TP
billS%P
while(flagYS%
Q
S)stem.out.Drintln(TEnter idTP
itemidSsc.neEt0nt(P
S)stem.out.Drintln(TEnter Zuantit)TP
quantSsc.neEt0nt(P
for(iS%PiV$%PiKK
Q
int mSl.0">i?P
if(itemidSSm
billSbillKquantO(l.Drice>i?P
R
S)stem.out.Drintln(T"o )ou want to add more itemsXX Enter & for 6es and % for noTP
flagSsc.neEt0nt(P
if (flagSS%
brea:P
R
S)stem.out.Drintln(P
S)stem.out.Drintln(TThan: )ou for shoDDing with usTP
S)stem.out.Drintln(T6our total bill isSTKbillP
S)stem.out.Drintln(TThe mode of Da)ment is #ash on "eli@er)TP
S)stem.out.Drintln(TPlG enter shiDDing addressSTP
addressSsc.neEt(P
S)stem.out.Drintln(TThan: )ou3 )our order will be shiDDed to )ou in <'* da)s3 :indl)
:eeD read) RsTKbillKT for Da)mentTP
R
R
*. #lass Storing/ist
imDort =a@a.util.ScannerP
imDort =a@a.io.OP
Dublic class Storing/ist
Q
Dublic static @oid main(String args>?
Q
Scanner scSnew Scanner(S)stem.inP
/ist.f0tems lSnew /ist.f0tems(P
int iP
S)stem.out.Drintln(TEnetr the list of items3 their 0" and Drice that )ou want to disDla)
in )our 2rocer) StoreTP
for(iS%PiV$%PiKK
Q
S)stem.out.Drintln(T0tem -ameTP
l.item>i?Ssc.neEt(P
S)stem.out.Drintln(T0"TP
l.0">i?Ssc.neEt0nt(P
S)stem.out.Drintln(TPriceTP
l.Drice>i?Ssc.neEt0nt(P
S)stem.out.Drintln(P
R
tr)
Q
File.utDutStream fwSnew File.utDutStream(T/ist of 0tems.tEtTP
.b=ect.utDutStream outSnew .b=ect.utDutStream(fwP
out.write.b=ect(lP
out.close(P
fw.close(P
R
catch(0.EEceDtion e
Q
S)stem.out.Drintln(eP
R
R
R
.1TP1T S#REE-S4.TS
#.-#/1S0.-
This was m) Dro=ect of S)stem "esign about HBilling S)stemI.
"e@eloDment of this S)stem ta:es a lot of efforts. 0 thin: this s)stem ga@e a lot of
satisfaction. Though e@er) tas: is ne@er said to be Derfect in this de@eloDment field
e@en more imDro@ement ma) be Dossible in this s)stem.
0 learnt so man) things and gained a lot of :nowledge about de@eloDment field.
0 hoDe this will Dro@e fruitful.
B0B/0.2R,P46

B..FS REFERRE"
The #omDlete Reference 5a@a $ b) 4erbert Schildt
Programming 7ith =a@a (E. Balaguruswam)
7EBS0TES REFERRE"
& www.google.com
$ http://java.sun.com/docs/books/tutorial/uiswing/
< www.stardeveloper.com
* www.youtube.com

You might also like