Pranav Mishra.

download Pranav Mishra.

of 30

Transcript of Pranav Mishra.

  • 8/8/2019 Pranav Mishra.

    1/30

    Indian Farmers Fertilizers Co-operative Ltd.

    May -June10

    Employee Management

    SystemsA C++ Project.Pranav Kumar.

    Rajasthan Institute OfEngineering &

    Technology; Jaipur, Rajasthan.

  • 8/8/2019 Pranav Mishra.

    2/30

    2 | P a g e

    Employee Management System.

    By

    Pranav Kumar.

    Submitted

    In partial fulfilment of the requirements of Degree of,

    Bachelor of Technology in Computer Science Engineering.

    Head of the Department;

    Department of Computer Science Engineering.

    Rajasthan Institute of Engineering & Technology.

    Jaipur-302026, Rajasthan.

  • 8/8/2019 Pranav Mishra.

    3/30

    3 | P a g e

    Acknowledgement

    In the partial fulfilment of the successful completion ofmy, Degree course of Bachelor of

    Technology in Computer Science & Engineering I needed to underg o Industrial Training for

    a period of 30 workingdays.

    I underwent my Industrial Training for theaforementioned period of timeat one theapex

    producers of Urea in Our Country, in fact the thirdlargest in Asia; IFFCO, At IFFCOS Aonla

    Unit.

    I wouldlike to take this opportunity to extendmy heartfelt sense ofgratitude to the

    following persons listed below, for providingme the opportunity to havemy trainingdone

    in a cordialand healthy competitiveenvironment.

    Mr. D. Kalia Chief Manager (Training).

    Mrs. Seema Gaur. DGM (Systems).

    Mr. Sandeep Goyal. Manager (Systems).

    And,last but not theleast I wouldalso like to extendmydeepest gratitude, to my Uncle Sri

    Giridhar Mishra (DGM, Mechanical)and his mentorship which led to the successful

    completion ofmy trainingandmy project as well.

    Pranav Kumar.

  • 8/8/2019 Pranav Mishra.

    4/30

    4 | P a g e

    Table of Contents

    Organizations Overview 05.

    1.Abstract of the project 07.2. Software Development Process 08.3. Screen Shot Sequence 11.4. Source Code 16.5.Conclusion 29.6. Bibliography. 30.

  • 8/8/2019 Pranav Mishra.

    5/30

    5 | P a g e

    Organisations Overview

    IFFCO-An Epitome of Organisation

    Indian Framers fertilizer Cooperative Limited,established in 1967;globallyacclaimed

    cooperative in fertilizer production & marketing has been striving for socio -economic

    upliftment of therural populace of Indian Union since inception.

    Remarks made by the formerPresident and on e of themost brilliant technical brains of India;

    Mr A.P.J Abdul Kalam in his Independence Dayaddress the nation:

    Our private sector has madea significant contribution and progress in food processing

    industries, whereas there is a need forrural farmer s cooperative in partnership with banking

    institutions, on the pattern of the Indian Farmers Fertilizer Cooperative Limited. Aptly sums upthe sage of its success.

    Duringmid- sixties theCo-operative sector in India was responsible fordistribution of70 per

    cent offertilisers consumed in the country. This Sector hadadequate infrastructure to

    distribute fertilisers but had no production facilities of its own and hencedependent on

    public/private Sectors for supplies. To overcome this lacunaand to bridge the demand

    supplygap in the country,a new cooperative society was conceived to specifically cater to

    therequirements of farmers.It was an unique venture in which the farmers of the country

    through their own Co-operative Societies created this new institution to safeguard their

    interests. The number of co-operative societies associated with IFFCO haverisen from57 in

    1967 to 39,824 at present.

    Indian Farmers Fertiliser Co-operative Limited (IFFCO) was registered on November 3,1967

    as a Multi-unit Co-operative Society. On theenactment of the Multistate Cooperative

    Societies act 1984 & 2002, the Society is deemed to beregisteredas a Multistate

    Cooperative Society. The Society is primarilyengaged in production anddistribution of

    fertilisers. Thebyelaws of the Society providea broad frame work for theactivities of IFFCO

    as a Cooperative Society.

    IFFCO commissionedan ammonia- urea complexat Kaloland the NPK/DAP plant at Kandla

    both in the state of Gujarat in 1975. Anotherammonia - urea complex was set up at Phulpur

    in the state of UttarPradesh in 1981. Theammonia - urea unit at Aonla was commissionedin 1988.

    In 1993, IFFCO haddrawn up amajorexpansion programme ofall the four plants under

    overallaegis of IFFCO VISION 2000. Theexpansion projects at Aonla, Kalol,Phulpurand

    Kandla have been completed on schedu le. Thus all the projects conceivedas part of Vision

    2000 have been realised without time or cost overruns. All the production units of IFFCO

    haveestablishedareputation forexcellenceandquality. A new growth path has been

    chalked out to realise newer dreams andgreater heights through Vision 2010 which is

    presently under implementation. As part of the new vis ion, IFFCO has acquired fertiliser unit

  • 8/8/2019 Pranav Mishra.

    6/30

    6 | P a g e

    at Paradeep in Orissa in September 2005. As aresult of theseexpansion projects and

    acuisition, IFFCO's annual capacity has been increased to 3.69 million tonnes of Ureaand

    NPK/DAPequivalent to 1.71million tonnes ofP2O5.

    IFFCO has made strategic investments in several joint ventures. Godavari Fertilisers and

    Chemicals Ltd (GFCL) & Indian Potash Ltd (IPL) in India, Industries Chimiques du Senegal

    (ICS) in Senegaland Oman India Fertiliser Company (OMIFCO) in Oman are important

    fertiliser joint ventures. As part of strategic diversification, IFFCO has entered into several

    key sectors. IFFCO-Tokio General Insurance Ltd (ITGI) is a foray into general insurance

    sector. Through ITGI, IFFCO has formulated new services of benefit to farmers. 'Sankat

    Haran Bima Yojana' provides free insurance cover to farmers along with each bag o f IFFCO

    fertiliser purchased. To take the benefits ofemerging concepts likeagricultural commodity

    trading, IFFCO has taken equity in National Commodityand Derivative Exchange (NCDEX)

    and National Collateral Management Services Ltd (NCMSL). IFFCO Chattis garh Power Ltd

    (ICPL) which is under implementation is yet another foray to move into corearea of power.

    IFFCO is also behind several other companies with the sole intention of benefitting farmers.

    Thedistribution of IFFCO's fertiliser is undertaken thr ough over 39824 co -operative

    societies. Theentireactivities of Distribution, Sales andPromotion are co-ordinated by

    Marketing Central Office (MKCO)at New Delhi assisted by the Marketing offices in the field.

    In addition,essentialagro-inputs for crop production aremadeavailable to the farm ers

    through a chain of158 Farmers Service Centre (FSC). IFFCO has promoted several

    institutions and organisations to work for the welfare of farmers, strengthening cooperative

    movement, improve Indian agriculture. Indian Farm Forestry Development Cooperative Ltd

    (IFFDC), Cooperative Rural Development Trust (CORDET), IFFCO Foundation, Kisan Sewa

    Trust belong to this category. An ambitious project 'ICT Initiatives for Farmers and

    Cooperatives' is launched to promotee-culture in rural India. IFFCO obsessively nurtures its

    relations with farmers and undertakes alarge number of agriculturalextensionactivities for

    their benefit everyyear.

    At IFFCO, the thirst forever improving the services to farmer s andmember co-operatives is

    insatiable, commitment to quality is insurmountableand harnessing ofmotherearths'

    bounty to drive hungeraway from India in an ecologically sustainablemanner is the prime

    mission. All that IFFCO cherishes in exchange is an everlasting smile on the face of Indian

    Farmer who form themoving spirit behind this mision.

    IFFCO, to day, is aleading player in India's fertiliser industryand is making substantial

    contribution to theefforts of Indian Government to increase foodgrain production in the

    country.

  • 8/8/2019 Pranav Mishra.

    7/30

    7 | P a g e

    Abstract.

    A well planned, systematicallyexecuted industrial training helps agreat deal in inculcatinga

    good work culture. It provides alinkage between students and the industry in order to

    develop awareness of the industrialapproach to problem solving based on broad

    understanding of operations of the industria l organizations.

    This project on Employee Management Systemallows a user to add,list, update,delete

    various basic attributes ofemployees like name,employee code, salary,designation etc.

    Its amenu driven programme, which takes input from the user and processes the various

    needs as and when required by him/her.

    The tools and technologies used for developing the software are C++ compiler for analysis and

    design phases fordeveloping the code for theapplication on Microsoft windows platform, C++ IDE.

  • 8/8/2019 Pranav Mishra.

    8/30

    8 | P a g e

    Software Development Process.

    A software develop

    entpro ess is a structure imposed on thedevelopment ofa software

    product.

    The international standard fordescribing themethod of selecting, implementingand

    monitoring thelife cycle for software is

    O 12207.

    A decades-longgoal has been to findrepeatable, predictable processes that improve

    productivityandquality. Some try to systematize or formalize the seemingly unruly task of

    writing software. Others apply project management techniques to writing software.

    Without project management, software projects can easily bedeliveredlate or over budget.

    With large numbers of software projects not meeting theirexpectations in terms of

    functionality, cost, ordelivery schedule,effective project management appears to be

    lacking.

    Organizations may createaSoftware ngineering Pro ess Group (SEPG), which is the focal

    point for process improvement. Composed ofline practitioners who have varied skills, the

    group is at the center of the collaborativeeffort ofeveryone in the organization who is

    involved with softwareengineering process impro vement.

    Fig.01 Waterfall Model of Software Development Process.

  • 8/8/2019 Pranav Mishra.

    9/30

    9 | P a g e

    Planning

    The important task in creatinga software product is extracting the

    requirements/Requirement analysis. Customers typically havean abstract idea of what they

    want as an endresult, but not what software shoulddo. Incomplete,ambiguous, oreven

    contradictoryrequirements arerecognized by skilledandexperienced softwareengineers at

    this point. Frequentlydemonstratinglive codemay help reduce therisk that the

    requirements are incorrect.

    Once thegeneralrequirements aregathered from the client,an analysis of the scope of the

    development should bedeterminedand clearly stated. This is often calleda scope

    document.

    Certain functionalitymay be out of scope of the project as a function of cost oras aresult of

    unclearrequirements at the start ofdevelopment. If thedevelopment is doneexternally,

    this document can be consideredalegaldocument so that if thereareeverdisputes,any

    ambiguity of what was promised to the client can be clarified.

    RequirementAnal sis& Definition

    All possiblerequirements of the software to bedevelopedaregathered in this phase.

    Requirements are set of functionalities and constraints that theend -userexpects from it.

    Therequirements aregathered from theend-user by consultations, theserequirements are

    analyzed for their validityand the possibility of incorporating therequirements in the

    software to bedeveloped is also studied. Finallya Requirement Specification Document iscreated which serves the purpose ofguideline to the next phase thedevelopment process.

    In our caseall therequirements have been gatheredand figured out,like C++ Compilerand

    other userrequirements. After the choice of programminglanguage is made then the

    developermust haveall the pre-requirements of that particularlanguage. Like in this

    project of Employee Management System in C++,must bedone through the C++ feature of

    file handling.

    System &Software Design

    Before starting foractual coding, it is highly important to understand what wearegoing to

    createand what it shouldlike that? Therequirement specifications from the first placeare

    studied in this phaseand the softwaredesign is prepared. Software Design helps in

    specifying hardwareand systemrequirements andalso helps in defining the overall

    softwarearchitecture.

  • 8/8/2019 Pranav Mishra.

    10/30

    10 | P a g e

    In our case the program (s/w) is to bedeveloped in C++ programminglanguageand the

    softwaredesign is thought of that how it can be implemented in IDE environment. This

    project works just likea twice folded piece of paper. On the first face there is alogin screen,

    aftera successfullogin;main menu is available, through which oneexercises his/her choice

    and can get access to the files to which one can writedata,and can re trieveandmanipulate

    through a series of functions, as and when required.

    Implementation& Unit Testing

    On receiving the s/w design documents, the work is divided into modules/units andactual

    coding is started. The s/w is first developed in small pro grams called units, which are

    integrated in the next phase. Each unit is developedand tested for its functionality; this is

    referred to as unit testing. Unit testingmainly verifies if themodules/units meet their

    specifications or not.

    Integration&Software Testing

    As specifiedabove, the system is first divided in units which aredevelopedand tested for

    their functionalities. These units are integrated into a complete systemduring integration

    phaseand tested to check ifallmodules/units coord inate between oneanotherand the s/w

    as a whole behaves as per the specifications. After successfully testing the software, itsdelivered to the customer.

    Operations& Maintenan

    e

    This is virtually neverending phase. Generally, problems with thedevel oped software come

    up after its practical use starts, so the issues related to the system,are solvedafter

    deployment of the software. Not all the problems come in picturedirectly but theyarisetime to timeand needs to be solved; hence this process is referredas maintenance.

  • 8/8/2019 Pranav Mishra.

    11/30

    11 | P a g e

    Screen Shot#1: Ctrl+f9= Shows us themain menu or the program,likeabove.

    Screen Shot#2: On choosing the build table option theabove screen is shown in

    which weadd the no. ofrecords that we want to addand provide with thedetails.

  • 8/8/2019 Pranav Mishra.

    12/30

    12 | P a g e

    Screen Shot#3: Therecords of an employee is added to the tableand the table is

    ready to take next set of inputs.

    Screen Shot#4: It lists the various records that areavailable, when thelist table

    option is selected from themain menu.

  • 8/8/2019 Pranav Mishra.

    13/30

    13 | P a g e

    Screen Shot#5: When Insert Record option is selected from themain menu,details

    areadded to thedatabase.

    Screen Shot#6: When Deleteentry option is chosen from themain menu, it takes

    input from useranddeletes thedetails from thedatabase of that employee.

  • 8/8/2019 Pranav Mishra.

    14/30

    14 | P a g e

    Screen Shot#7: When edit arecord option is chosen from themain menu.

    Screen Shot#8: When edit option is chosen, theaboveedit menu is displayed.

  • 8/8/2019 Pranav Mishra.

    15/30

    15 | P a g e

    Screen Shot#9: When Search option is chosen from themain menu,and the search is

    carried on through employee/code.

    Screen Shot#10: When the sort record option is chosen from themain menu, takes

    the input(choice) from userand then sorts theavailablerecords as per the choice.

  • 8/8/2019 Pranav Mishra.

    16/30

    16 | P a g e

    Source Code C++

    //Employee management System//

    #include

    #include

    #include

    #include

    #include

    #define max 20

    struct employee

    {

    char name[20];

    long int code;

    char designation[20];

    int age;

    char deptt[10];

    float sal;

    };

    int num;

    employeeemp[max],tempemp[max],sortemp[max],sortemp1[max];

    void main()

    { char option;

    clrscr();

    void build();

    void list();

    void insert();

    void deletes();void edit();

    void search();

    void sort();

    void menu();

    menu();

    while((option=cin.get())!='0')

    {

  • 8/8/2019 Pranav Mishra.

    17/30

    17 | P a g e

    switch(option)

    {

    case'1':

    build();

    break;

    case'2':

    list();

    break;

    case'3':

    insert();

    break;

    case'4':

    deletes();break;

    case'5':

    edit();

    break;

    case'6':

    search();

    break;

    case'7':

    sort();

    break;

    }

    menu();

    }

    }

    void menu()

    {clrscr();

    cout

  • 8/8/2019 Pranav Mishra.

    18/30

    18 | P a g e

    cout

  • 8/8/2019 Pranav Mishra.

    19/30

    19 | P a g e

    cout

  • 8/8/2019 Pranav Mishra.

    20/30

    20 | P a g e

    coutemp[i].code;

    coutemp[i].designation;

    coutemp[i].age;coutemp[i].deptt;

    coutemp[i].sal;

    cout

  • 8/8/2019 Pranav Mishra.

    21/30

    21 | P a g e

    {

    if(i>check)

    {

    tempemp[i-

    1]=emp[i];

    }else

    {

    tempemp[i]=emp[i];

    }

    }

    }

    num--;

    for(i=0;i

  • 8/8/2019 Pranav Mishra.

    22/30

    22 | P a g e

    for(i=0;i

  • 8/8/2019 Pranav Mishra.

    23/30

    23 | P a g e

    }

    editmenu();

    }

    }

    }

    }

    void editmenu()

    {

    clrscr();

    cout

  • 8/8/2019 Pranav Mishra.

    24/30

    24 | P a g e

    void editdept(int i)

    {

    coutemp[i].deptt;

    }

    void editsal(int i){

    coutemp[i].sal;

    }

    void search()

    {

    clrscr();

    cout

  • 8/8/2019 Pranav Mishra.

    25/30

    25 | P a g e

    getch();

    }

    void sort()

    {clrscr();

    cout

  • 8/8/2019 Pranav Mishra.

    26/30

    26 | P a g e

    cout

  • 8/8/2019 Pranav Mishra.

    27/30

    27 | P a g e

    cout

  • 8/8/2019 Pranav Mishra.

    28/30

    28 | P a g e

    cout

  • 8/8/2019 Pranav Mishra.

    29/30

    29 | P a g e

    Conclusion

    This project on Employee Management Systemallows a user to add,list, update,delete

    various basic attributes ofemployees like name,employee code, salary,designation etc.

    Its amenu driven programme, which takes input from the userand processes the variousneeds as and when required by him/her.

  • 8/8/2019 Pranav Mishra.

    30/30

    Bibliography

    1.OOP with C++ by E. Balagurusamy ,Tata-McGraw Hill publications.

    2.Teach yourself C++ by Al Stevens , BPM Publications.