Upload
amit-kushwaha
View
53
Download
0
Embed Size (px)
Citation preview
TERM PAPER ON
“hostel management”
NAME : DEVENDER KUMARCOURSE: btech +m.TECHRoll NO: Rm2104
SUBMITTED TO: Ms.Amandeep kaur
ACKNOWLEDGEMENT
1
This project is a welcome and challenging experience for us as it took a great 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 Ms. Amandeep Kaur 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.
Table of contents:-#Introduction 3
2
#SOURCE OF INFORMATION 5#PROPOSED SYSTEM 6#FEATURES OF THE PROPOSED SYSTEM: 7#System design 8#source code 10#Out put of program 17#Testing of program 18#IMPLEMENTATION 20#scope of improvement 22#Future scope of project 23
3
INTRODUCTION
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.
4
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
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
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
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
detailed description of the processing logic and data structures
so that the design is sufficiently complete for coding.
8
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
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
KEYBOARDMOUSE
10
SOFTWARE SPECIFICATIONS
Software: C language
SOURCE CODE#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];
11
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 * *");
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();
12
break; case 4:exit();
break;}}
void search(){int i,regno; char ch; clrscr();printf("\nEnter the regno no");scanf("%d",®no);for(i=0;i<100;i++) if(regno==s[i].registrationno) { printf("\n!!!!!!!!RECORD FOUND!!!!!!!!!"); printf("\n!NAME:"); printf(s[i].name); 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");
13
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:"); 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;
}
14
}void delete(){int i, regno; char ch; clrscr();Printf ("enter the regno no");Scanf ("%d",®no);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(){
clrscr();
getch();menu();
}
15
OUTPUT OF THE PROGRAM
****************************************
WELCOME TO HOSTEL MANAGEMENT SYSTEM
******************************************
WELCOME TO LPU HOSTEL
1. ADD NEW STUDENT
2. SEARCH STUDENT INFORMATION
3. REMOVE STUDENT
16
4. .exit
Enter your choice (1, 2, 3or4) 1
Enter the name: DINKAR
Enter the father's name: HARISH CHHABRA
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
17
!!!!!!!!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
Enter the Reg no 10801770
ARE YOU SURE YOU WANT TO DELETE THIS RECORD(Y OR N) Y
YOUR RECORD IS DELETED
18
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 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 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
19
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
20
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.
21
FUTURE SCOPE OF THE PROJECT
In departmental store project we can calculate any item or product values in whichWe 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 occupation space 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.
22