You are on page 1of 42

HOSTEL MANAGEMENT SYSTEM

A PROJECT REPORT

Submitted by

NAME REGISTER NUMBER

E.B.ARUN 96207205006
P.BALAMURUGAN 96207205007
P.BOOPATHY 96207205008
A. CHITRA 96207205009
M.DEEPIKA 96207205010
ABSTRACT

Hostel management by manual way is tedious process, since it involves
work load and time consumption. In this system, we can easily manage the
hostel details, room details, student records, mess expenditure, mess bill
calculation, easy way of room allocation and hostel attendance.
The main feature of this project is easy to allocate for the student and also
easy to calculate mess bill.
This project is carried out using Visual Basic as front end and oracle as back
end.
TABLE OF CONTENTS

CHAPTER CONTENTS PAGE
NO NO
ABSTRACT
LIST OF FIGURES
1. INTRODUCTION
1.1.TO THE PROBLEM
1.2.TO THE SOFTWARE TOOL
2. PROBLEM DEFINITION
3. METHODLOGY
4. SYSTEM ENVIRONMENTS
4.1.HORDWARE REQUIREMENTS
4.2.SOFTWARE REQUIREMENTS
5. FUNCTIIONAL REQUIREMENTS
6. REQUIREMENTS ANALYSIS
6.1.USECASE DIAGRAM
6.2.CLASS DIAGRAM
7. DESIGNS
7.1.SEQUENCE DIAGRAM
7.2.COLLABRATION DIAGRAM
7.3.STATE DIAGRAM
7.4.ACTIVITY DIAGRAM
LIST OF TABLES
CHAPTER 1

INTRODUCTION

1.1. TO THE PROBLEM

Hostel management gives on idea about how the students details, room allocation,
mess expenditure are maintained in the particular concern. The hostel management
system also includes some special features. The administration has the unique identity for
each members as well as students details. The stock management has also held by mess
expenditure, the mess expenditure that used to calculate the mess bills of each of the
students. The modules of this project are student details, attendance details, room details,
mess modules.

Visual Basic6.0 is used as the front end tool and Oracle is used as a backend tool.
Visual Basic is one of the driven programming languages. The application wizards, menu
editor and data reports etc is very much useful for creating very good professional
software.
1.2. TO THE SOFTWARE TOOL

The “visual” part refers to the method used to create the graphical user interface
(GUI). Rather than writing numerous lines of code to describe the appearance and
location of interface elements, you simply drag and drop pre-built objects into place on
screen. If you’ve ever used a drawing program such as paint, you already have most of
the skills necessary to create an effective user interface.
It revolves around ready-made objects and it is event-driven that is all the
activities in a program are triggered by one event or another. Each object has its own
properties, determining its position, size, color, appearance and nature of its text and
much more. Each object also has its own event-handling procedures.
Visual basic knows what a button is and how it works? It also works how to
handle images, menus, dialog boxes, drive and directory list and much else. The
programmer does not have to write code to trap these events the system does that
automatically because the program code runs in response to events. The flow of
execution is not as fixed in a traditional program.
Operations do not have to follow a set of sequence and can be easily interrupted,
suspended or abandoned. The process of program design reflects the nature of the system.
You begin by the screen layout events and then any necessary code to co-ordinate the
whole program.
Overall Diagram:

USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user
and system to capture the user’s goals.
collect& store the student details

store the availability of hostel&
room details

generate & update the attendance
details

calculate& generate report for
mess expenditure detail for ...
aadministrator
db manager

calculate & generate report for
mess expenditure detail for ...

request for mess bill report

check and verify mess bill report mess bill calculation

update the payment details

display the mess bill report to the
student

payment of mess bill
student
CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.

Student
Student name Administrator
data base manager
roll no
address enter the students details()
update the student details()
branch enter room details()
update mess item expenditure()
year enter attendance details()
update the attendance details()
room no enter mess item expenditure per month()
calculate mess expenditure()
give details()

calculate
report

total mess expenditure per month()
generate mess bill report()
calculate mess fees for each student()

Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.
student Administrator DB manager

give details

enter student details

update

enter mess item & eexpenditure details

update

calculate(total mess expenditure)

enter attedance details
update

request for mess bill expenditure

calculate(total mess item expenditure/total no of student)

publish mess fees details

pay the fees enter the payment details

update
Collaboration Diagram:

1 : g ive d e t a i ls
1 3 : p a y t h e fe e s
s tu d e n t A d m i n is t ra
to r
1 1 : p u b lis h

3: update
5 : u p d a1 t2e: m e s s fe e s d e t a ils
6 : c a lc u la t e (t o t a l m e s s e x p e n d it u re )
8: update
1 0 : c a lc u la t e (t o t a l m e s s it e m2 :e ex np teenr dsitt uu re
d e/ tnot t ad le nt aoilso f s t u d e n t )
1 5 : u p4 d: ae tnet e r m e s s i t e m & e e x p e n d it u re d e t a ils
7 : e n t e r a t t e d a n c e d e t a ils
9 : re q u e s t fo r m e s s b i ll e x p e n d it u re
1 4 : e n t e r t h e p a y m e n t d e t a ils

D B m anager
State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.

get details

CHeking all details correct processing
update details

some details missing
mess details
details verified update
details obtained

Waiting missing calculating calculate
details obtained mess expenditure

mess bill

Reporting
generated report

stop
Activity Diagram:
It describes the sequence of activity it support for the conditional and parallel
behaviour .
It is a variant of a state diagram in which most of the states are activity states.

start

Login

enter student enter room
details details enter mess
details

calculate mess
expenditure& mess bill

generate
report

Update details

stop
METHODOLOGY

It contains four modules in it. They are given below

• Student details
• Attendance details
• Room details
• Mess modules

Students details:

This module consists of the details of the student such as roll number, name,
date of birth, address, phone number, year, degree, room no, department name nad
etc. here the details are entered and are updated.

USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user and
system to capture the user’s goals.

enter student details

edit details

adminis db manager
delete details

view details

details updated
CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.

Administrator
db Manager
enter rollno details()
keep the attendance() update the attendance detail()
update details()

Student
name
rollno
address
branch
year
room no

Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.
Administrator db Manager

enter student details

edit details

details are updated

update details

details updated

delete details

details updated

view details by giving rollno
Collabration Diagram:

2 : u p d a te
4 : d e t a i ls a r e u p d a t e d
6 : d e t a i ls u p d a t e d
1 : e n t e r s t u d e n t d e t a8ils: d e t a i ls u p d a t e d
3 : e d it d e t a ils
5 : u p d a t e d e t a i ls
7 : d e le t e d e t a i ls
9 : vie w d e t a il s b y g ivi n g ro l ln o
A d m i n is t ra db M anager
tor
1 0 : d e t a il s vie w e d

State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.
start

checking all details connect processing
update details

mess details
some details missing updated

details obtained
details verified

waiting missing calculating
details obtained calculate mess

mess bill

reporting
generated report

stop

Activity Diagram:

It describes the sequence of activity it support for the conditional and parallel
behaviour .
It is a variant of a state diagram in which most of the states are activity states.
start

enter student enter student
details rollno

inv alid
update details

v alid

edit delete v iew

update

stop
Attendance details:
In this module,attendance details are maintained. Hence the upto date
attendance of the each students are maintained.

USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user and
system to capture the user’s goals.

enter the rollno

enter the attendence P/A
adminis DBmanager

update details

updated successfully

CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.
Administrator
db Manager
enter rollno details()
keep the attendance() update the attendance detail()
update details()

Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.

administrator db manager

enter rollno

enter attendence details

update details

updated
Collabration Diagram:
4: details updated

1: enter rollno
2: enter attendenc e details
3: update details
adm inis tra db m anager
tor
5: updated

State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.

start

entering enter details entered updating
attendence details update details

some details are missed all details are connected

get details

waiting
Activity diagram:

It describes the sequence of activity it support for the conditional and parallel
behaviour .
It is a variant of a state diagram in which most of the states are activity states.

start

enter rollno

valid

invalid
enter the
attendence
absent
present

UPDATE details

stop
Room details:

In this module, the room number for the hostel student is allocated and the
details of the each students are maintained and updated regularly.

USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user and
system to capture the user’s goals.
enter room details

update details

view details

enter the hostelno

adminis DBmanager

check free room

check for availability in other hostel
no

enter the other hostelno
allocate room

display free rooms
request room

student
room details displayed
CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.

administrator
dbmanager
enter room detail()
update details() maintain room details()
view details() display room details()
check room availability()

Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.
student administrator db manager

enter room details

update

request for room availability

checking

enter room no to view details

allot room no

display the room details
Collabration Diagram:

s tudent adm inis tra
tor
6: allot room no

2: update 7: display the room details
4: c heck ing

1: enter room details
3: reques t for room availability
5: enter room no to view details
db m anager

State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.

CHECKIN all details correct processing
G update details

room details

some details missing update
details verified
details obtained
waiting missing
view details
details obtained
Activity Diagram:
It describes the sequence of activity it support for the conditional and parallel
behaviour .
It is a variant of a state diagram in which most of the states are activity states.

start

room details

enter room
details request for room
availability
enter room no

UPDATE check room request room
Details availability details

display room
view room
availability details
details

exit

stop
Mess Modules:

In this module, the mess item expenditure for each student in the hostel is
calculated for each month and the mess bill for each student in calculated and
displayed.

USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user and
system to capture the user’s goals.

enter mess expenditure

calculate expenditure for veg

calculate expenditure for non-veg

DBmanager
ADMINISTRATOR
calculate mess expenditure details
per day

mess bill calculation
calculate mess expenditure details
acknowledgement for messbill per month

display mess bill report request for messbill report

student
CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.

ADministrator
STUDENT DBManager
enter mess item expenditure per day()
pay mess bill() enter mess item expenditure per month() calculate mess item expenditure()
calculate mess expenditure()

calculate
report
total mess expenditure per day()
total mess expenditure per month()
generate mess bill report()
calculate mess fees for each()
calculate mess expenditure for veg or nonveg()

Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.
student administrator db manager

enter mess item & expenditure detail(veg,nonveg)

calculate totalmess expenditure(veg,nonveg)

request for mess fees calculation

calculate

publish

mess fees details

acknowlegement enter the payment details

Collabration Diagram:
8: acknowlegement
student administra
tor
6: publish

2: update
7: mess fees details
3: calculate totalmess expenditure(veg,nonveg)
5: calculate
10: update
1: enter mess item & expenditure detail(veg,nonveg)
4: request for mess fees calculation
9: enter the payment details

db manager

State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.
get details

Checking all details correct Processing
Update details

mess details

some details missing update

details obtained details verified

Calculate calculate
Waiting missing
mess expenditure
details obtained

mess bill

Report Generator
report

Activity Diagram:
It describes the sequence of activity it support for the conditional and parallel behaviour .
It is a variant of a state diagram in which most of the states are activity states.
start

enter mess item
details(veg,nonveg) enter payment
details

Update
UPdate

calculate mess bill calculate mess bill
expenditure per day expenditure per month

display the mess Display the m ess
expenditure(veg,nonveg) expenditure (veg,non veg)

generate mess bill
& payment report

stop
SYSTEM ENVIRONMENT

Hardware specification:

Processor : Pentium IV

Process speed : 1.6 GHz

Memory : 512MB

Hard drive : 80

Keyboard :107keys

Mouse :Microsoft
Software specification:

Operating system :Microsoft windows 2000,windows XP

Development :Microsoft visual studio

Front End :Visual basic6.0

Back End :oracle
PROBLEM DESCROPTION

The project HOSTEL MANAGEMENT SYSTEM has been developed to
reduce manual effort and making things faster and efficient.
REQUIREMENT ANALYSIS

6.1.USE CASE DIAGRAM:

Use case diagram is a diagram that shows the interaction between user and
system to capture the user’s goals.
CLASS DIAGRAM:

Class diagram is a collection of static elements such as classes and their
relationships connected as a graph to each other.
DESIGN

7.1. Sequence Diagram:

Sequence diagram shows an interaction arranged in a time sequence . it is an
alternate way to understand the overall flow of the control of the system program.
7.2. State Diagram:

State diagram are a familiar technique to describe the behaviour of a system. They
describe all of the possible states that a particular object can get into and hoe the objects
state changes as a result of events that reach the object.
7.3. ACTIVITY DIAGRAMS: