proect.doc

Upload: richi-singh

Post on 04-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 PROECT.doc

    1/104

    ON

    OF

    KRISHNA MUSIC CENTER

    FOR The Partial Fulfillment Of Requirement Of

    B.COM. III (COMPUTER. VOCATIONAL)e!!i"n# $%&$'&

    Guided By: Project Coordinator:

    a!riti Bir"a Ani" Ku#ar Lecturer, Head,

    Dept. Of comp. science. Dept.of comp. science,

    S.A.Jain (PG) College, S.A.Jain (PG) College,

    Amala cit!. Amala Cit!.

    Su$#itted By:

    AKANKSHA BHANDARI B%Co# III &'ocationa"(

    Ro"" No:)))))))))))

    ESTD 1938

    *e+art#ent o, co#+uter -c% . a++"ication-

    S%A% AIN &PG( Co""e!e/ A#$a"a City.

    (Affiliated to Kurukshetra University, Kurukshetra(

  • 8/14/2019 PROECT.doc

    2/104

    Ac0no1"ed!e#ent

    "#is pro$ect is designed to prepare t#e%A&AG'%'&" O %S*C S"O+' in C Language. * too t#e

    #elp from a numer of persons and e-press m! great regards to all

    of t#em.

    irst of all * ould lie to e-press m! sincere regards

    for our principal S2% Pradee+ S2ar#afor t#e inspiration of t#is

    pro$ect report. %! sincere gratitude is due toards Mr% Ani"

    Ku#ar, #ead of department of computer science. "#e credit fort#is report also goes to m! super/isor, Mr-% ariti Bir"a for

    de/eloping t#e pro$ect titled %S*C SHOP %A&AG'%'&".

    urt#er * ould lie to e-press m! regards for Mr%

    ITEN*ERoner of t#e organi0ation #o e-clusi/el! gi/es t#eir

    consent to go t#roug# t#eir organi0ation. And * ould lie to

    t#ans #im for pro/iding me suc# t#e facilit!.

    * ould lie also t#ans m! parents, m! famil! and m!

    friends, #o ga/e me encourage and different ind of /aluale

    ideas for de/eloping t#is pro$ect. "#oug# t#e pro$ect #as een

    de/eloped carefull!, ut if an! error1mistae is eing found ! an!

    od! later on t#e stage, * ould lie to appreciate #im1#er and tr!

    to remo/e it.

    AKANKSHA

  • 8/14/2019 PROECT.doc

    3/104

    PREFACE

    %anagement and *n/entor! is an important for an! usiness. '/en

    more important to emplo!ee. 2ecause e/er! emplo!ee ants t#egets less or load.

    %anuall! is difficult to compute t#e stoc in a store.

    or compute a stoc in a store and in a s#op it taes lot of time.

    '/er! usinessman ants to eep #is in/entor! data must e up to

    date. "#roug# t#is pro$ect e can also no t#at #o muc# Salar!

    paid to orers, 'lectricit! ill, "elep#one ill, miscellaneous

    e-penses made ! t#e organi0ation.

    Computer #andles t#e in/entor! data effecti/el! #ic#

    is difficult and time consuming to #andle it#out t#e #elp of

    computer. se of computer in t#e field of in/entor! continuousl!

    increasing. *n usiness circle t#e computer are most important in

    t#e field of in/entor!. '/er! good usiness person uses computer

    for in/entor! or. 2ecause t#is also reduce paper or.

    "#is pro$ect is de/eloped in C language. "#e data is

    regarding t#e in/entor! in t#e dataase file. "#e data can e

    modified, deleted and /ieed. "#e /arious report of mont#l! sale,

    purc#ase, e-pense, mont#l! profit report can e generated. 3it#

    t#e use of t#is pro$ect e can remo/e t#e folloing mistaes45

    All t#e reports are timel! presented and are accurate.

    "#ere ill e no arit#metical errors in it.

    "#e result ill e /ieed on screen and as ell as Printed

    on Printer

    According to t#e user re6uirement.

  • 8/14/2019 PROECT.doc

    4/104

    CERTIFICATE

    "#is is to certif! t#at A7A&7SHA 2HA&DA+* of 2.com5***

    (/ocational) +oll &o. 89:9 S%A% AIN &PG( CO33EGE #as

    completed #is pro$ect on t#e softare stud! of 4MUSIC STORE5

    of ;KRISHNA MUSIC STORE5 under m! guidance and

    super/ision. "#is report is satisfactor! as per re6uired.

    "#is or done in t#is report is t#e result of candidate

  • 8/14/2019 PROECT.doc

    5/104

    CONTENTS

    6% Introduction*ntroduction to Pro$ect

    7% Sy-te# Ana"y-i- *ntroduction

    Preliminar! in/estigation

    '-isting S!stem Limitation of e-isting S!stem

    +ecommended S!stem

    8. Fea-i$i"ity -tudy and +ro+o-ed o$jecti8e *ntroduction

    "!pe of feasiilit! Stud!

    O$ecti/e of t#e proposed s!stem

    Scope Prolem definition

    9% *e-i!n and *ata ,"o1 *ia!ra# S!stem Design

    *ntroduction

    Design O$ecti/es

    Hardare = Softare +e6uirement

    Outlines of input, Output and files design

    % Introduction to C and Te-tin!

    *ntroduction to C

  • 8/14/2019 PROECT.doc

    6/104

    Selection of Language

    ;% Te-tin!

  • 8/14/2019 PROECT.doc

    7/104

    INTRO*UCTION TO PROECT

    Pro$ect title ;%A&AG'%'&" O %S*C SHOP? (A

    Pro$ect for eeping all t#e in/entor!, sale, purc#ase and mont#l!

    e-penses).

    "#e name of t#e pro$ect is ;%A&AG'%'&" O

    %S*C SHOP?. "#e o$ecti/e of t#e pro$ect is to computeri0e t#e

    s!stem of music s#op. *n t#is pro$ect it ill eeps one file for

    recording of numer Cassettes, CD

  • 8/14/2019 PROECT.doc

    8/104

    S?STEM

    ANA3?SIS

  • 8/14/2019 PROECT.doc

    9/104

    S?STEM ANA3?SIS

    "#e Pro$ect ;%A&AG'%'&" O %S*C SHOP? ( A

    Pro$ect for eeping all t#e in/entor!, sale, purc#ase and mont#l!

    e-penses) is asicall! merger of to concepts first is eeping t#e

    stoc in t#e store and calculate t#e dail! sale and purc#ase of

    cassettes, CD and D@D. "#is also calculates #o muc# ot#ere-pense is earded ! t#e organi0ation.

    "#e present s!stem does t#is or in manual asis. So it

    ecomes impractical to adopt a s!stem t#at ma! do aa! it# all t#e

    difficulties of e-isting s!stem. "#e s!stem ill ecome more

    attracti/e and useful ! computeri0ing. @arious steps are to e

    folloed for t#e de/elopment of suc# as stud! of o$ecti/e,noledge of e-isting s!stem and its /arious constraints and to

    point out some of remedies of maing t#e s!stem a success.

  • 8/14/2019 PROECT.doc

    10/104

    PRE3IMINAR? IN'ESTIGATION

    After initial selection of t#e topic of %anagement ofmusic s#op for t#e pro$ect or, * made in/estigation regarding t#e

    e-isting manual s!stem.

    *n order to gat#er t#e information t#ere are /arious

    met#od lie45

    Sampling

    Searc#ing uestioning

    *nter/ieing

    * used t#e met#od of 6uestioning and inter/ieing. *

    met t#e staff of t#e organi0ation. * get t#e ledgers in #ic# t#e!

    maintain t#e records. * ased some 6uestion regarding t#eir or. *

    am also contact to t#e Selling staff #ic# maing ill. Of t#ecourse sampling as also done to c#ec t#e accurac! of final

    report ! taing organi0ation data for particular mont#.

  • 8/14/2019 PROECT.doc

    11/104

    E@ISTING S?STEM

    "#e present s!stem is not muc# efficient as t#e #ole

    $o of report preparation is carried out manuall!. Lots of registers

    are maintained containing all t#e past !ears records and

    information. *ts maintenance is 6uite difficult.

    Separate registers are prepared for maintaining t#e

    in/entor!, salar! and ot#er e-penses records. "#e data t#us

    maintained on different registers is not distriuted in a good a!.

    Searc#ing of a particular record re6uires searc#ing it in

    a register #ere a particular entr! ma! e found out and t#en t#at

    particular record is searc#ed t#us maing it more tedious. '/en

    #en t#e c#anges are to e made , it re6uires finding all t#e

    entries for a particular record and t#en maing in all t#e registers,

    t#ere ma! arises c#ances of inconsistencies. %oreo/er it ma! also

    lead to duplication of or.

    %anuall! it is difficult to compute in/entor! and salar!

    for a numer of emplo!ees. An emplo!ee ants to no aout #is

    salar! and deduction for t#e specified time. . %anuall!, one can

    compute in/entor! ut often contains errors. *n t#e nuts#ell, it is

    not possile to spend a lot of time in maintaining ul! register for

    record of in/entor! data ecause it is time consuming as ell as

    mone! consuming and also t#e manual s!stem is not /er! fast.

    "#e transactions are record in t#e register in t#e

    folloing manner4 5

  • 8/14/2019 PROECT.doc

    12/104

    Cassette &ame Cassette *d &umer of

    Copies

    uantit! Per nit

    Price

    Date of

    'ntr!

  • 8/14/2019 PROECT.doc

    13/104

    3IMITATIONS OF E@ISTING

    S?STEM

    Alt#oug# t#e present s!stem appears to e oring

    ade6uatel!, t#ere are possiilities of maing it more accurate,

    reliale, efficient, effecti/e and economical. @arious prolems

    #ic# e-isting s!stem faces are45

    'ntire procedure is too muc# lengt#! and complicated.

    Dependailit! of more t#an one person.

    "ime factor can not e denied as an! organi0ation can tae

    6uic decision it# reports getting prepared in less time.

    As #ole $o is carried out manuall! t#ere is large scope

    of errors.

    "#e s!stem is less reliale.

    *t is not eas! to modif! s!stem as per closing need.

    "#e cost of manuall! maintaining t#e records is #ig#er

    compared to cost in doing t#e same or ! a computer.

    +eport cannot e generated easil! #en re6uired. *t

    re6uires a lot of efforts.

  • 8/14/2019 PROECT.doc

    14/104

    RECOMMEN*E* S?STEM

    "#e computer ased s!stem s#ould e recommended to

    o/ercome t#e prolem ecause4

    2! increasing t#e staff, t#e organi0ation #as to spend a lot of

    e-tra mone! for gi/ing salar! and ot#er facilities to its

    emplo!ees, #ic# act as an e-tra urden on it.

    *f ser/ices of some softare consultanc! are #ired t#ere ille loss of secrec! and man! ot#er /ital information

  • 8/14/2019 PROECT.doc

    15/104

    FEASIBILITYSTUDY ANDPROPOSEDOBJECTIVE

    INTRO*UCTION

  • 8/14/2019 PROECT.doc

    16/104

    After maing an initial in/estigation, feasiilit! stud! is

    carried to c#ec t#e or ailit! of t#e s!stem. easiilit! stud! is

    testing of t#e proposed s!stem according to its ailit! impact on

    t#e on t#e organi0ations ailit! to meet user needs and effecti/e

    use of t#e resources.

    *t is t#e most fre6uentl! used met#od form e/aluating

    t#e effecti/eness of a candidate s!stem. *t is commonl! non as

    cost5enefit anal!sis. "#e procedure is to determine t#e enefits

    and sa/ings t#at are e-pected from a candidate s!stem and

    compare t#em it# costs. *f enefits outeig# costs, t#en t#e

    decision is made to design and implement t#e s!stem. Ot#erise,

    furt#er $ustifications of alterations in t#e proposed s!stem aremade.

    "o determine t#e economic feasiilit! of our pro$ect

    B%usic StoreB, e first consider t#e turn o/er of t#e compan!.

    "#en t#e cost re6uirement to de/elop t#e ne s!stem and profits to

    e otained from t#e s!stem are estimated. After performing cost5

    enefits anal!sis it is concluded t#at t#e proposed s!stem is

    economicall! feasile.

    T?PE OF FEASIBI3T? STU*?

  • 8/14/2019 PROECT.doc

    17/104

    Tec2nica" Fea-i$i"ity45

    *f a ne tec#nolog! is re6uired

    #at stands no #ere in front of numer of enefits lie

    ser/ices. &umer of astage of papers, ettermanagement of document in t#e consultanc! and

    attracting numer of more memer t#at compensate t#e

    mone! spent on softare.

    Ti#e Fea-i$i"ity45

    "ime is one of t#e easiilit! for

    t#e pro$ect report as it is to e sumitted in limited time.

    Socia" Fea-i$i"ity45

    *n t#e proposed s!stem people feel

    insecurit! of $o ! computer.

    Financia" Fea-i$i"ity45"#e financial easiilit! is in t#e

    limit on e-penditure. "#e organi0ation can #a/e financial

    limit t#at t#e! are going to spend for t#e s!stem.

    Be2a8iora" Fea-i$i"ity :

    People are in#erentl! resistant toc#ange and computers #a/e een non to facilitate t#is

    c#ange. An estimate s#ould e made of #o strong a

    reaction t#e user staff is liel! to #a/e toard t#e

    de/elopment of t#e computeri0ed s!stem. *t is commonl!

    noledge t#at computer installations #a/e somet#ing to

  • 8/14/2019 PROECT.doc

    18/104

  • 8/14/2019 PROECT.doc

    19/104

    OBECTI'E OF THE PROPOSE*

    S?STEM

    T2e co#+uter $a-ed -y-te# ai#- at:

    "o reduce t#e paper or in present s!stem.

    "o increase reliailit! and speed.

    "o design a s!stem #ic# is /er! close to actualprocessing and ensures #ig# degree of accurac!.

    "o sa/e t#e e-cess time i.e. spend on searc#ing a record

    from t#e ul! register.

    'as! to modif! t#e s!stem as per c#anging needs.

    +eport can e generated easil! #en re6uired.

    SCOPE45

    "#e scope of s!stem it# in t#e maintaining t#e stoc,

    and e-pense paid ! organi0ation. "#e s!stem s#ould e suc# t#at

    if in future it re6uire an! modification t#at s#ould e done it#

    minimum efforts.

  • 8/14/2019 PROECT.doc

    20/104

    PROB3EM *EFINITION

    *n t#is pro$ect our main aim is to computeri0ed /arious

    component of in/entor! and management of music s#op. 3#ic# are

    functioning manuall! at present "#is ill maintain t#e information

    in t#e form of file. *t ill #elp t#e user to generate records in lesser

    time and more effecti/el!. *t also #elps t#e oner in efficient

    oring of different area of t#eir ors. "#e o$ecti/e of t#e pro$ect

    is to computeri0e t#e s!stem of music s#op. *n t#is pro$ect it ill

    eeps one file for recording of numer Cassettes, CD

  • 8/14/2019 PROECT.doc

    21/104

    S?STEM *ESIGN

  • 8/14/2019 PROECT.doc

    22/104

    INTRO*UCTION

    S!stem design is a creati/e as ell as a tec#nical

    acti/it!. "#e design of an information s!stem t#e details t#at state

    #o a s!stem ill meet t#e re6uirements identified during s!stem

    anal!sis. S!stem specialist often refers to t#is stage as logical

    design in contrast to t#e process of de/eloping program softare,

    #ic# is referred as p#!sical design. "#is s!stem design alsodescries t#e data to e input, calculated or stored, indi/idual data

    items and calculation procedure tell #o to process t#e data and

    produce output.

    Designers are responsile for pro/iding programmers

    it# complete and clearl! outlined softare specifications. As

    programming starts, designers are a/ailale to anser 6uestions,

    clarif! fu00! areas and #andle prolem t#at confront t#e

    programmers #en using t#e design specification.

  • 8/14/2019 PROECT.doc

    23/104

    OBECTI'E OF *ESIGN

    "o reduce t#e e-tensi/e paper or in t#e present manual

    s!stem.

    "o pro/ide accurac! to maintaining t#e in/entor!.

    "o speed up t#e process of c#ecing t#e stoc and

    different categor! in stoc as compared to e-isting s!stem.

    "o pro/ide an economical met#od of reducing cost.

    *n manual s!stem in/ention of man is more t#an in

    computeri0ed s!stem.

    "o a/oid errors in#erent in t#e manual or and #ence

    mae t#e output consistent and correct.

    "o mae t#e s!stem completel! menu dri/en and #ence

    user friendl!.

    "o increase reliailit! and speed.

    "o sa/e t#e e-cess time i.e. spends on searc#ing a record

    from t#e ul! register. 'as! to modif! t#e s!stem as per c#anging needs.

    +eport can e generated easil! #en re6uired.

  • 8/14/2019 PROECT.doc

    24/104

    HAR*ARE . SOFTARE

    REUIRMENTS

    "#e C< program runs it# P.C or a compatile

    microcomputer #a/ing 9EF 72 or more +A% to run under

    indos > as an operating s!stem. "#e s!stem s#ould e

    e6uipped it# one or more DD, one #ard dis. A printer is

    necessar! as paper output is re6uired.

    HAR*ARE CONFIGURATION

    One P.C it# F:72 main memor!

    Hard dis :%2

    One lopp! dis dri/e (at least 8=I19)

    %onitor (colored, monoc#rome)

    One dot matri- printer of I89 column

    SOFTARE REUIREMENTS

    Dos operating s!stem

    C Language

  • 8/14/2019 PROECT.doc

    25/104

    OUT3INE *ESIGN OF INPUT/

    OUTPUT . FI3E *ESIGN

    a) INPUT *ESIGN OF PROPOSE* S?STEM

    Opening stoc at t#e eginning of mont# of t#ree different

    t!pes of Cassettes and CD

  • 8/14/2019 PROECT.doc

    26/104

    ) OUTPUT *ESIGN OF PROPOSE* S?STEM

    Profit during t#e mont# of all t#e t#ree different categories

    of Categories of Cassettes and CD

  • 8/14/2019 PROECT.doc

    27/104

  • 8/14/2019 PROECT.doc

    28/104

    8. PERSON% *AT

    (i) Cassette code 5I5film, 95nonfilm, 85religious

    (ii) Cassette Purc#ased Person &ame

    (iii) Person Address(i/) &umer of cassettes purc#ased

    (/) "o store t#e s!stem date1 purc#ase date

    . OTHER% *AT

    (i) Ot#er e-pense code

    I 5 Salar! to orers

    9 5 'lectricit! ill

    8 5 "elep#one ills

    5 %iscellaneous e-penses

    (ii) &ature of e-pense description

    (iii) '-pense date

    (i/) '-pense amount and so on.

  • 8/14/2019 PROECT.doc

    29/104

    SE3ECTION OF 3ANGUAGE

    After anal!sis and designing t#e s!stem no it is

    necessar! to select a language for t#e purpose of coding. "#ere are

    man! languages a/ailale for coding lie Ja/a, o-pro, Pascal etc

    ut * prefer C< language for m! pro$ect or, ecause it is simple

    language for coding and eas! to implement. "#e ot#er reason to

    c#oose C< language for m! pro$ect or is ecause * stud! t#is

    language in m! college as a part of s!llaus.

  • 8/14/2019 PROECT.doc

    30/104

    INTO*UCTION TO DC 3ANGUAGE

    C is a programming language de/eloped at A"= "K9. *t as ritten and de/eloped !

    Dennis +itc#ie and 7ernig#an. "#e! in#erited t#e features of 2