training Report c++

download training Report c++

of 31

Transcript of training Report c++

  • 7/31/2019 training Report c++

    1/31

    College of Technology & Engineering

    Duration: 1 June to 1 July, 2011

    Submitted to: Submitted By: Mr. Kotangle Ashok Kumar Jaiman(Head, IT Dept.) B.E. IIIrd Yr. (C.S.E.)

    HZL,Debari CTAE Udaipur

  • 7/31/2019 training Report c++

    2/31

    CONTENTS

    1. Acknowledgement2. Preface3. Certificate4. About HZL,Debari5. Project Profile6. How to use the Project7. Functions Description8. Program Coding

    9. Sample Outputs

    ACKNOWLEDGEMENT

    I wish to acknowledge the encouragement received from Mr. Naveen Choudhary(HOD, Computer Science and Engineering Department, C.T.A.E. Udaipur) & Mr.Dharm Singh (Training Incharge) for initiating my interest in training.

    I earnestly acknowledge my profound sense of gratitude to Mr. Kotangle (Head ITDeptt. HZL, Debari) under whose supervision I have been able to complete the

    project.

    Their mastery & work helped me in covering out this work smoothly. I am alsograteful to all the workers of various departments who have helped me to improve

    practical knowledge.

  • 7/31/2019 training Report c++

    3/31

    Finally, I wish to add that I am indebted to god & my parents for everything goodthat has happened to me.

    PREFACE

    Practical training is a way to implement theoretical knowledge to practical use. To become a successful engineer it is necessary to have a sound practical knowledge because it is the only way by which one can acquire proficiency & skill to work successfully in different industries. It is proven fact that bookish knowledge is notsufficient because things are not as ideal in practical field as they should be.

    Hindustan Zinc Ltd. is one of the best examples to understand the production process & productivity in particular of Zinc.

    It is a matter of great pleasure that our college authorities have recommended a practical training of 30 days to supplement our theoretical knowledge acquired inthe college.

    This report is an attempt made to study the overall production system & relatedaction of Zinc Smelter, Debari a unit a HZL. It is engaged in the production of highgrade Zinc metal & other byproducts viz. Cd, Sulphuric acid etc. since 1968adopting hydro metallurgical technology .

  • 7/31/2019 training Report c++

    4/31

    CERTIFICATE

    This is certified that Mr. Ashok Kumar Jaiman the student of Computer

    Science And Engineering (C.S.E) has worked on the Project of Business

    Software Solution .

    He took keen interest in all the meeting and our requirement and has put in

    all him efforts to develop a successful project. Him conduct has been good and he

    is sincere towards him works.

    We wish him all success and a very bright future.

    Mr.Naveen Choudhary ( Head of the Department)

    ABOUT HZL ,DEBARI

    Zinc smelter Debari, is a unit of HZL. It was started in 1968. It was the first Zincsmelter of HZL. In this plant,zinc along with its products viz. Silver, Cadmium,Sulphuric acid etc. are produced from Zawar Mines and other mines of thecompany. Initially this Smelter started with 18,000 tonnes per annum capacity, butat present the capacity of plant is 49,000 tonnes per annum, the recovery of Zinc inthis plant is 99.52%.

  • 7/31/2019 training Report c++

    5/31

    In HZL Various Departments (Plants) as under:- Roaster and Acid plant Leaching plant Zinc Electrolysis plant Zinc Dust plant Instrumentation plant Finance Department Project Department

    ROASTER AND ACID PLANT:-

    The raw materials used for production of zinc is named blend which is prepared bythe concentrate with comes from various mines. The main constitute present in the

    blend is ZnS. For the leaching of ZnS it is necessary to first convert it into oxidei.e. roasting of ZnS is done here at roaster .

    LEACHING AND PURIFICATION:-

    Leaching is a selective dissolution of ore minerals /oxide minerals in acid or solution of other reagents according to the condition adjusted in a manner to leavemaximum gangue in the insoluble residue.Calcine comes into the hopper fromroaster with the help of bucket elevators.The average rates of calcine consumptionis 11MT/hr, whereas the rate of solution supply is 90 m 3/hr;this corresponds to

    140-150MT of Zinc ingots per day.ZINC ELECTROLYSIS AND MELTING:-

    Electrolysis of zinc sulphate solution take place in electrolysis cell with aluminumsheet as cathode and silver lead alloy as anode:The reaction can be represented as:

    As cathode (reduction)Zn2+ +2e- Zn

    At anode (oxidation)So42 +H2O H 2So4 + 2e

    Over all reaction2ZnSO 4 + 2H 2O 2Zn + 2H 2SO4 + O 2

    The zinc gets deposited on the Al cathode and is stripped after

  • 7/31/2019 training Report c++

    6/31

    24 hours of deposition whereas oxygen is given OFF at the anode.As SO 42- ionshave strong affinity for hydrogen ions this results in formation of sulphuric acid.The oxygen which is liberated oxidizes the MnSO 4 in solution to MnO 2 whichdeposits as anode mud which is cleaned out periodically.

    Solution cooling and storage: Neutral electrolyte from purification shall be available at 60-70% as hot purification process has been adopted for expansion. The neutral solution is feddirectly to atmospheric coolers where solution is cooled to 35 oC, coolers have been

    provided for this circulating spent solution cooled in separate 5nos. coolers out of which normally three are in services and two are standby. Here temperature drop isfrom 42 oC to 35 o. Gypsum deposit take place in these coolers .

    ELECTRICAL DEPARTMENT:-

    Power situation in any industry is alarming. The gap between demand and supplykeeps widening day by day. The energy SBU thus determines howeach business unit or process consumes power. This helps to promoteaccountability, increase efficiency and productivity. Electrical energyacts as a raw material for industry. It implies energy saving throughvarious ways after all energy saved is energy generated .

    PERFORMANCE:-

    Zinc Smelter Debari, has achieved an impressive growth pattern and condition andendeavors are being made to improve the production, as productivity. Emphasis isgiven for energy conservation, improvement in recovery efficiency and reductionin process chemical consumption which is prime factor in controlling the cost of

    production.In order to sustain above achievement, TQM and workman participation throughsuggestion scheme are in Zinc smelter Debari, now is a 9002 certified unit for quality management system from 05-11-1998.

  • 7/31/2019 training Report c++

    7/31

    PROJECT PROFILE

    TITLE: - Medical Bill Settlement

    Aim of the Project:- To maintain medical bills and its related

    records of customer.Submitted to: - Hindustan Zinc Limited, Debari

    Application: - 1.To handle the working of bill amounttransactions.

    2. It can keep track records of each employeeof the industry.

    Memory used: - 64 KB. Designed by: - ASHOK JAIMAN (B.E. IIIrd Year C.S.E.)

  • 7/31/2019 training Report c++

    8/31

    HOW TO USE THIS APPLICATION

    Execute the C.P.P file and press enter to continue. Enter your choice as1,2,3 from keyboard .Menu is as follows : 1.DATA ENTRY

    2.CHECK LIST

    3.PAYMENT LIST

    4.SEARCH

    5.NOTICE BOARD

    6.EXIT

    The above options have following effects :

    1.It will add new employee details.

    2.It will display the check list .

    3. It will display the payment list of every employee.

    4.It will display all the details of the required employee.

    5.It will display the notice board.

    6.Exits the program.

  • 7/31/2019 training Report c++

    9/31

    FUNCTIONS DESCRIPTION

    CLASS EMP

    1. int getcd():It is used to return the employee code entered by the user.

    2. char *getname():It is used to return the employee name entered by the user.

    3. char *getdept ():It is used to return the employee department entered by theuser.

    4. void insert (int n):It asks the user to input the employees name, and department.

    The code is provided by itself.5. void display ():

    It displays the code, name, and department of every employeesequentially .

    CLASS BILL

    1. int getref():It is used to return the employees reference number entered bythe user.

    2. int inserts (int n):It first checks whether the entered employee code exists or not.If it does, it asks the user to enter the bill amount, N.R. amount,dependency code, and the bill type code.

    3.void display():It displays the entire details of the employee.

    4.void notice():It displays the employee code, bill amount and N.R. amountsequentially.

  • 7/31/2019 training Report c++

    10/31

    PROGRAM CODING

    #include#include#include#include#include#include#includevoid sort();class emp{int empcd;

    char name[20],dept[20]; public:

    int getcd(){

    return(empcd);}char* getname(){return name;}char* getdept(){return dept;}

    void insert1(){coutempcd;

    cout

  • 7/31/2019 training Report c++

    11/31

    void display1(){cout

  • 7/31/2019 training Report c++

    12/31

  • 7/31/2019 training Report c++

    13/31

    fin2.read( (char*)&e,sizeof(e));if(ecode==e.getcd()){

    strcpy(ename,e.getname() );strcpy(desig,e.getdept() );flag=1;fin2.close();

    break;}

    }if(flag==0)

    {cout

  • 7/31/2019 training Report c++

    14/31

    coutdcode;cout

  • 7/31/2019 training Report c++

    15/31

    cout

  • 7/31/2019 training Report c++

    16/31

    cout

  • 7/31/2019 training Report c++

    17/31

    cout

  • 7/31/2019 training Report c++

    18/31

    fin.close();break;

    case 3:int flag=0;fin.open("emp",ios::binary);if(!fin)

    { cout

  • 7/31/2019 training Report c++

    19/31

    if(!fin) bno=1200;

    else{

    while( !fin.eof())fin.read( (char*)&e,sizeof(e));

    bno=e.getref();}

    bno++;int r=e.insert(bno);fin.close();

    if(r!=0){

    ofstream fout("bill",ios::app | ios::binary);fout.write((char*)&e,sizeof(e));fout.close();}

    break;

    case 5:clrscr();int sr=1;fin.open("bill",ios::binary);if(!fin)

    cout

  • 7/31/2019 training Report c++

    20/31

    cout

  • 7/31/2019 training Report c++

    21/31

    cout

  • 7/31/2019 training Report c++

    22/31

    fin.open("bill",ios::binary);if(!fin)

    cout

  • 7/31/2019 training Report c++

    23/31

    exit(0);break;

    }getch();

    }}}

    void sort(){clrscr();ifstream fin("bill",ios::binary);

    bill d[1000],e,t;

    int k=0,i,j;while(!fin.eof()){

    fin.read( (char*)&e,sizeof(e));if(!fin.eof())

    d[k++]=e;}fin.close();for(i=0;i

  • 7/31/2019 training Report c++

    24/31

    cout

  • 7/31/2019 training Report c++

    25/31

    getch(); }

  • 7/31/2019 training Report c++

    26/31

    SAMPLE OUTPUTS

    Main Menu:

    1. Employee Data Entry:

  • 7/31/2019 training Report c++

    27/31

    2. Search Employee:

  • 7/31/2019 training Report c++

    28/31

    3. Data Entry:

  • 7/31/2019 training Report c++

    29/31

    4. Check List:

    5. Payment List:

    6. Search:

  • 7/31/2019 training Report c++

    30/31

    7.Notice Board:

  • 7/31/2019 training Report c++

    31/31

    Description:- To maintain medical bills and its related records of customer. It provides the facility to add new records, display records, search the employee inthe database, make some data entries about the medical bill and produces somelists i.e. check list, payment list etc. Finally it displays the required information onthe notice board.

    CONCLUSION:-Through training at HZL, I came to know various processes used

    in zinc smelting.The project which I submitted give a very good exposure to java

    programming and its database connectivity. Here MS-ACCESS is used whichuses a DSN.Through training I come across to various aspects of industries and itsworking and also make me feel confident in java .

    Bibliography: -1. Beginning Java Objects: From Concepts to code By JacquieBarker.2. Introduction To Java Programming(NIIT Publication).

    3. Complete Reference Java-2 By Herbert Schildt .