c Term Paper

Embed Size (px)

Citation preview

  • 8/22/2019 c Term Paper

    1/23

    TERM PAPERON

    HOSTELMANAGEMENT

    NAME : Rakesh kumar ranjanCOURSE: btech (hons.)Roll NO: r260-b39

    SUBMITTED TO: MRS. SUMIT KAUR

    MEHTA

    1

  • 8/22/2019 c Term Paper

    2/23

    ACKNOWLEDGEMENTThis project is a welcome and challenging experience for us as it took

    a great deal of hard work and dedication for its successful completion.

    Its our pleasure to take this opportunity to thank all those who help

    us directly or indirectly in preparation of this report.

    We would also like to very sincere thank to our project guide Lecturer

    Mr. Mohantesh who supported us technically as well as morally in

    every stage of the project. Without their guidance and support, thisproject would not have seen light of the day.

    It gives us immense in expressing a deep sense of gratitude and

    sincere thanks to Lovely Professional University.

    There times in such project when clock beats you again and again and

    you run out of energy and you want to finish it once and forever. Last

    but not the least we thank our family for their boost and support in

    every sphere. Their vital push infused a sense of insurgency in us.

    RAKESH KUMAR RANJAN

    2

  • 8/22/2019 c Term Paper

    3/23

    Table of contents:-

    #Introduction 3#SOURCE OF INFORMATION

    5#PROPOSED SYSTEM

    6#FEATURES OF THEPROPOSED SYSTEM:

    7

    #System design8

    #source code10#Out put of program17

    #Testing of program18

    #IMPLEMENTATION20

    #scope of improvement22

    #Future scope of project 23

    3

  • 8/22/2019 c Term Paper

    4/23

    INTRODUCTION

    In understand the Problem and its Context. Suchanalysis typically requires a thoroughunderstanding of the existing system, parts ofwhich have to be automated. A clearunderstanding is needed of the important dataentities in the system, major centers whereaction is taken, the purpose of the different

    actions that are performed, and the inputs andoutputs.The problem that my software systemhas to solve is automating an existing HOSTELMANAGEMENT SYSTEM manual process. Alongwith the automation, the automated systemshould provide to an organization with additionalreports, keeping records of all transactions, etc.

    4

  • 8/22/2019 c Term Paper

    5/23

    Source of InformationThe basic aim of problem analysis is to obtain a clear .Understanding of the

    needs of the client and the user, what is exactly Desired from the software, and

    what the constraints on the solution are Analysis leads to actual specification.

    Analysis involves interviewing the client and end users. These people and the

    existing document about the client mode of operation are the basic sources of

    information for the analysts search a problem by asking question of the clients

    and the users and by reading existing documents. Once the problem

    analyzed and these understood, the requirements must be specified

    in the requirement specification document. The Requirements document

    must specify all the Functional and performance requirements. A basic

    purpose of software requirement Specification is to bridge the

    communication gap between the clients and developers. SRS is the medium

    through which the client and user needs are accurately specified.

    SRS forms the basis software development.

    5

  • 8/22/2019 c Term Paper

    6/23

    PROPOSED

    SYSTEM

    The proposed system for HOSTEL

    MANAGEMENT SYSTEM is computerized. Today is

    the era of computers. This software project solves

    all the problems discussed above in the present

    system. The main objective of developing this

    project is to save time and money. The proposed

    system provides the following features on different

    tasks.

    6

  • 8/22/2019 c Term Paper

    7/23

    FEATURES OF THE

    PROPOSED SYSTEM:

    . User -friendly package.

    . Efficient retrieval time.

    . Efficient linkage of Information.

    . Validation checks to ensure accuracy.

    . Query facility for instant information.

    . Error messages or better user Interface.

    7

  • 8/22/2019 c Term Paper

    8/23

    SYSTEM DESIGNThe design activity begins when the requirements document

    for the software to be developed is available .While the

    requirements specification activity is entirely in the problem

    domain toward the solution domain. Design is essentially the

    bridge between requirements specifications and final solution

    for satisfying the Requirements. The design of a system

    essentially ablueprint or a plan for a solution for the system.

    The design process for software systems often has to Levels.

    At the first level the focus is on deciding which modules are

    needed for the system, the specifications of these modules,

    and how the modules should be interconnected. This is what

    is called the system design or top-level design. In the second

    level, the internal design of the modules, or how the

    specifications of the modules can be satisfied, is decided. This

    design level is often called detailed design or logic design.

    Detailed design essentially expands to contain a more

    8

  • 8/22/2019 c Term Paper

    9/23

    detailed description of the processing logic and data structures

    so that the design is sufficiently complete for coding.

    System design focuses on the detailed implementation

    of the system recommended in the feasibility study. It is not a

    step-by-step implementation of clear procedure and

    guidelines; much of the design work.

    9

  • 8/22/2019 c Term Paper

    10/23

    HARDWARE

    SPECIFICATIONS

    PROCESSOR PENTIUM AND

    ABOVE

    MOTHERBOARD 845 OR 915,945

    RAM 512 MB RAM

    HARD DISK 40 GB

    CD ROM DRIVE DVD/COMBO

    FLOPPY DRIVE 1.44 MB

    MONITOR 15 INCH

    MEMORY 80 GB

    DISPLAY COLORS 32 BIT

    KEYBOARD

    MOUSE

    10

  • 8/22/2019 c Term Paper

    11/23

    SOFTWARESPECIFICATIONS

    Software: C language

    11

  • 8/22/2019 c Term Paper

    12/23

    SOURCE CODE

    #include

    #include

    #include

    struct hos{ char name[20];

    int phno;

    char address[50];

    char fathername[50];

    char sex;

    char bloodgroup[5];

    int registrationno;

    }s[100];

    void view();

    void search();

    void delete();

    void add();

    void menu()

    { int ch;

    clrscr();

    printf("\n

    *************************************************");

    printf("\n *

    *");

    printf("\n * WELCOME TO HOSTEL

    MANAGEMENT SYSTEM *");

    printf("\n *

    *");

    12

  • 8/22/2019 c Term Paper

    13/23

    printf("\n

    ***********************************************

    **");

    printf("\n\n\tWELCOME TO LPU HOSTEL ");

    printf("\n\n\t1.ADD NEW STUDENT");printf("\n\n\t2.SEARCH STUDENT INFORMATION");

    printf("\n\n\t3.REMOVE STUDENT");

    printf("\n\n\t4.exit ");

    printf("\n\n\tEnter your choice(1,2,3or4)");

    scanf("%d",&ch);

    switch(ch)

    { case 1: add();

    getch();menu();

    break;

    case 2: search();

    getch();

    menu();

    break;

    case 3:delete();

    getch();menu();

    break;

    case 4:exit();

    break;

    }}

    void search()

    {int i,regno;char ch;

    clrscr();

    printf("\nEnter the regno no");

    scanf("%d",&regno);

    for(i=0;i

  • 8/22/2019 c Term Paper

    14/23

    fflush(stdin);

    //printf("\nPHONE NO:");

    //printf(s[i].phno);

    fflush(stdin);

    printf("\nBLOOD GROUP:");fflush(stdin);

    printf(s[i].bloodgroup);

    fflush(stdin);

    printf("\nFATHER NAME:");

    fflush(stdin);

    printf(s[i].fathername);printf("\nADDRESS:");

    printf(s[i].address);

    fflush(stdin);

    i=100;

    }

    else{printf("\nregistration no not matched");

    getch();

    menu();

    }}

    void add()

    {char ch;

    int i;

    clrscr();// printf("how much record you want to enter");

    for( i=0;i

  • 8/22/2019 c Term Paper

    15/23

    printf("\nEnter the sex:");

    scanf("%d",&s[i].sex);

    fflush(stdin);

    printf("\nEnter the phone number:");

    scanf("%d",&s[i].phno);fflush(stdin);

    printf("\nEnter the address:");

    scanf("%s",&s[i].address);

    fflush(stdin);

    printf("\n\Enter the blood group:");

    scanf("%d",&s[i].bloodgroup);

    fflush(stdin);

    printf("\nEnter the registration no:");scanf("%d",&s[i].registrationno);

    fflush(stdin);

    printf("\nDo you want to add more record");

    scanf("%c",&ch);

    if(ch!='y')

    goto xy;

    xy:break;

    }

    }

    void delete()

    {int i, regno;

    char ch;

    clrscr();

    Printf ("enter the regno no");Scanf ("%d",&regno);

    for (i=0;i

  • 8/22/2019 c Term Paper

    16/23

    menu();

    }

    else

    {printf("registration no not matched");

    getch();menu();

    }}

    void main()

    {

    clrscr();

    getch();

    menu();}

    16

  • 8/22/2019 c Term Paper

    17/23

    OUTPUT OF THE PROGRAM

    ****************************************

    WELCOME TO HOSTEL MANAGEMENT

    SYSTEM

    ******************************************

    WELCOME TO LPU HOSTEL

    1. ADD NEW STUDENT

    2. SEARCH STUDENT INFORMATION

    3. REMOVE STUDENT

    4..exit

    Enter your choice (1, 2, 3or4) 1

    Enter the name: DINKAR

    Enter the father's name: HARISH CHHABRA

    17

  • 8/22/2019 c Term Paper

    18/23

    Enter the sex: M

    Enter the phone number: 9910614521

    Enter the address: 6, GEETA COLONY,

    DELHI

    Enter the blood group: A+

    Enter the registration no: 10801770

    Do you want to add more record N

    Enter the Reg no. 10801770

    !!!!!!!!RECORD FOUND!!!!!!!!!

    NAME: DINKAR

    BLOOD GROUP: A+FATHER NAME: HARISH CHHABRA

    ADDRESS: 6, GEETA COLONY, DELHI

    Enter the Reg no: 10909090

    Registration no not matched

    18

  • 8/22/2019 c Term Paper

    19/23

    Enter the Reg no 10801770

    ARE YOU SURE YOU WANT TO DELETE THIS RECORD(Y

    OR N) Y

    YOUR RECORD IS DELETED

    Testing of programWe make this program by properly running.we remove all the

    errors with full effort. We test our program in c-language

    using ctrl+f9 key combination from the keybord. But before

    running we find that in general whether any errors are occur

    in our program or not. This can be done by using by itself.

    Mainly generally error are are occurred in the field of syntaxor logical eerror. These syntax are generally remove by the

    To see the program and analize every thing of the program.

    19

  • 8/22/2019 c Term Paper

    20/23

    IMPLEMENTATION

    Once the program has properly finished developing,

    Coding and testing the program, the development of the program

    is near the end. Now the project team will release the program to

    play its part in the overall system-the programmer just has sometidying up to do. How the team will release the program depends

    on the installation. In most cases, however, the process will

    involve some kind of acceptance test; this is to ensure that the

    user to try out the new system to see whether their needs are met.

    Of course, the programmer should have produced adequatedocumentation. This will include details of program testing, with

    full description on test data used on actual results. Many users

    will agree that those records are enough to show the program is

    acceptable, where as some way wish to provide a new set of test

    data to test the system again. In this case, the project team will

    20

  • 8/22/2019 c Term Paper

    21/23

    run the program with the new data, checking output and

    documentation the process as they had done previously. As well

    as user documentation, the released program needs an operationsmanual. This may be part of the user manual or separate from it.

    Often the programmer will have made some input to this

    document, perhaps giving details of the run-time message.

    SCOPE OF IMPROVEMENT

    21

  • 8/22/2019 c Term Paper

    22/23

    I have converted almost all of the functionality of the

    HOSTEL MANAGEMENT SYSTEM. But due to lack of

    time, I have not been able to cover some of the topics that

    come under hostel management system. Some poor students

    are given a particular concession for the entire year, but due to

    lack time I could not include this feature in my project. There

    may be so many things in the project that have been left by

    me. Despite of these drawbacks, the proposed system

    provides several new functionalities and is quite user friendly.

    It is easy to extend the system that we have proposed. A

    person could see any of the issued, unissued or all the rooms

    according to his/her will. Only few coding and design effort is

    needed to cover the above told deficiencies. As design is

    simple, improvements can be made easily. Coding done in the

    project is easy to understand. I have tried my best in covering

    the project.

    22

  • 8/22/2019 c Term Paper

    23/23

    FUTURE SCOPE

    OF THE PROJECT

    In departmental store project we can calculate any item or

    product values in which

    We can store different type of items that has been considered

    by the shops keeper in future. Every shop keeper dos not

    faced any type of problem regarding any type of product

    calculation and he guesses which product has occupationspace or which boxes consider whose product.

    In departmental store project future every

    manager those manage everything in the departmental store he

    uses this type of project to manage everything in the store.

    In the end we can say THE DEPARTEMENTAL STORE is

    very effective & efficient.