21
 TERM PAPER ON “HOSTEL MANAGEMENT” Submitted By : SUMIT CHOUHAN COURSE: B.TECH - CSE Roll NO: RF1001B52 Submitte d To: MISS SANDEEP RATTU  

SUMIT CHOUHAN RF1001B52

Embed Size (px)

Citation preview

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 1/21

 

TERM PAPER

ON 

“HOSTEL MANAGEMENT” 

Submitted By : SUMIT CHOUHAN

COURSE: B.TECH - CSE

Roll NO: RF1001B52

Submitted To: MISS SANDEEP RATTU

 

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 2/21

  ACKNOWLEDGEMENT

This project is a welcome and challenging experience for us as it took agreat deal of hard work and dedication for its successful completion. It’s

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 

Miss SANDEEP RATTU who supported us technically as well as morally

in every stage of the project. Without their guidance and support, this

 project 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.

  Sumit

Chouhan

Table of Contents

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 3/21

#Introduction 4

#Source of Information 5

#Proposed System 5#Features of the Proposed System 6

#System Design 7

#Source Code 9

#Output of Program 17

#Testing of Program 19

#Implementation 20

#Scope of Improvement 21

 

INTRODUCTION

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 4/21

  In understand the Problem and its Context. Such analysis

typically requires a thorough understanding of the existing   system, parts of which have to be automated. A clear 

understanding is needed of the important data entities in the system, major centers where action is taken, the purpose of the

different actions that are performed, and the inputs and outputs.The problem that my software system has to solve is

automating an existing HOSTEL MANAGEMENT SYSTEM manual process. Along with the automation, the automated system

  should provide to an organization with additional reports,

keeping records of all transactions, etc.

 

Source of Information

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 5/21

The 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.

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.

FEATURES OF THE PROPOSED

 SYSTEM:

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 6/21

. 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.

SYSTEM DESIGN

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 7/21

The 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 a blueprint 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 levelis often called detailed design or logic design. Detailed design essentially

expands to contain a more 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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 8/21

implementation of clear procedure and guidelines; much of the design

work.

 

SOFTWARE SPECIFICATIONS

Software: C language

SOURCE CODE

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 9/21

#include <stdio.h>

#include <conio.h>

#include<string.h>

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

*************************************************"

);

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 10/21

printf("\n *

*");

printf("\n * WELCOME TO HOSTEL MANAGEMENT

SYSTEM *");

printf("\n *

*");

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();

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 11/21

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<100;i++)

if(regno==s[i].registrationno)

{ printf("\n!!!!!!!!RECORD FOUND!!!!!!!!!");

printf("\n!NAME:");

printf(s[i].name);

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 12/21

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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 13/21

{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<2;i++)

{

printf("\nEnter the name:");

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

printf("\nEnter the father's name:");

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

fflush(stdin);

printf("\nEnter the sex:");

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

fflush(stdin);

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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 14/21

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()

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 15/21

{int i, regno;

char ch;

clrscr();

Printf ("enter the regno no");

Scanf ("%d",&regno);

for (i=0;i<100;i++)

if(regno==s[i].registrationno)

{ printf("\nAre you sure you want to delete this

record(y or n)");

scanf("%c",&ch);

if(ch=='y')

printf("\nyour record is deleted");

getch();

menu();

}

else

{printf("registration no not matched");

getch();

menu();

}}

void main()

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 16/21

{

clrscr();

getch();

menu();

}

OUTPUT OF THE PROGRAM 

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

WELCOME TO HOSTEL MANAGEMENT SYSTEM 

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 17/21

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

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: SUMIT

Enter the father's name: SUBHASH

Enter the sex: M

Enter the phone number: 9988501129

Enter the address: 1087,B.S.COLONY,

PANIPAT

Enter the blood group: O+

Enter the registration no: 11003353

Do you want to add more record N

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 18/21

Enter the Reg no. 11003353

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

 NAME: SUMIT

BLOOD GROUP: O+

FATHER NAME: SUBHASH

ADDRESS: 1087,B.S.COLONY,PANIPAT

Enter the Reg no: 10909090

Registration no not matched

Enter the Reg no 11003353

ARE YOU SURE YOU WANT TO DELETE THIS RECORD(Y OR 

 N) Y

YOUR RECORD IS DELETED

Testing of Program

We make this program by properly running.We remove all the

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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 19/21

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 syntax or 

logical eerror. These syntax are generally remove by the

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

 

 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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 20/21

overall system-the programmer just has some tidying 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

adequate documentation. 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 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 operations manual. 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

8/4/2019 SUMIT CHOUHAN RF1001B52

http://slidepdf.com/reader/full/sumit-chouhan-rf1001b52 21/21

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 hostelmanagement 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 isquite 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.