Hostel Management System
Hostel Management System
Project Report On
Submitted by
Rohit Narayan Chavan(PRN
No - 2345102470)
Guided By
Pratima Gund
INTRODUCTION
·
.
We have got nine hostels in our university, which consist of four boy’s hostel
and five girl’s hostel. All these hostels at present are managed manually by the hostel
office. The Registration form verification to the different data processing are done
manually.
Thus there are a lot of repetitions which can be easily avoided. And hence there
is a lot of strain on the person who are running the hostel and software’s are not
usually used in this context. This particular project deals with the problems on
managing a hostel and avoids the problems which occur when carried manually.
PROCESSOR : PENTIUM IV
HARD DISK : 80 GB
MONITOR : VGA COLOR
MOUSE : OPTICAL
Visual Basic (VB) was developed from the BASIC programming language. In
the 1970s, Microsoft started developing ROM-based interpreted BASIC for the early
microprocessor-based computers. In 1982, Microsoft QuickBasic revolutionized Basic
and was legitimized as a serious development language for MS-DOS environment.
Later on, Microsoft Corporation created the enhanced version of BASIC called Visual
Basic for Windows.
The technical requirement for this project are Windows Operating System as
software and normal hardware configuration is enough ,so the system is more feasible
on this criteria.
Economic Feasibility
Economic feasibility is the most frequently used method for evaluating the
effectiveness of a candidate system. More commonly known as cost / benefit analysis,
the procedure is to determine the benefits and saving that are expected from a
candidate and compare them with the costs. If the benefits outweigh cost then the
decision is made to design and implement the system. Otherwise drop the system.
This system has been implemented such that it can be used to analysis the traffic. So
it does not require any extra equipment or hardware to implement. So it is
economically feasible to use.
2.2 Analysis Methodology (Types)
For the past few years the number of educational institutions are increasing rapidly. Thereby the
number of hostels are also increasing for the accommodation of the students studying in this
institution. And hence there is a lot of strain on the person who are running the hostel and
software’s are not usually used in this context.This particular project deals with the problems
on managing a hostel and avoids the problems which occur when carried manually
Identification of the drawbacks of the existing system leads to the designing of computerized
system that will be compatible to the existing system with the system which is more user
friendly and more GUI oriented. We can improve the efficiency of the system, thus overcome
the following drawbacks of the existing system.
PROCESSOR : PENTIUM IV
HARD DISK : 80 GB
Input Design
Input design is a process of converting user orientation into a computer based format. Input
data are collected and organized into groups similar data. The goal of designing input data is to make
data entry as easy, logical and free from error as possible.
Once the input data are identified appropriate input media are selected for processing. The
major approaches for entering data into computer are.
➢ Links
➢ Forms
➢ prompts
Among these links and forms are used in the proposed system. Links are used to provide a
selection list that simplifies computed data access or entry. A form is pre-designed templates that
request the user to enter data in the appropriate location. Input and designs are considered as the heart
of the system. Input design forms are developed using visual basic in user friendly manner
DATABASE MANAGEMENT
Database Management System (DBMS) is a set of computer programs that controls the creation,
maintenance, and the use of the database with computer as a platform or of an organization and its end
users. It allows organizations to place control of organization-wide database development in the hands
of database administrators (DBA) and other specialists. A DBMS is a system software package that
helps the use of integrated collection of data records and files known as databases. It allows different
user application programs to easily access the same database. DBMS may use any of a variety of
database models, such as the network model .
such as Access, FileMaker Pro, Oracle or SQL Server provides you with the software tools
you need to organize that data in a flexible manner. It includes facilities to add,
modifyor delete data from the database, ask questions (or queries) about the data
stored in the database and produce reports summarizing selected contents.
When we use work with data in a Microsoft Access database, user must first
create a connection to a Database file. The easiest way to create a connection to a
Microsoft Access file is to create a data environment using the Data Environment
designer.
CHARACTERISTICS OF DATABASE MANAGEMENT SYSTEM:
When we design a database, first decide what tables we need, what type of goes
in each table, who can access each table and so on. As you create and work with
tables, you continue to make more detailed decisions about them.
The most efficient way to create a table is to define every a table is to define
everything you need in the table at one time, including its data restrictions
andadditional components. However, you can also create a basic table, add some data
to it,and then work with it for a while. This approach gives you a chance to see what
types of transactions are most common and what types of data are frequently entered.
Before you commit to firm design by adding constrains, indexes, defaults, rules
and other objects.
Screen Design
3.2
3.3 Process design plays an important role in project development. In order to understand
the
working procedure, process design is necessary. Data Flow Diagram and System Flow chart are
the tools used for process design. System Flow Chart is a graphical representation of the system
showing the overall flow of control in processing at the job level; specifies what activities must
be done to convert from a physical to logical model. Data Flow Diagram is the logical
representation of the data flow of the project. The DFD is drawn using various symbols. It has a
source and a destination. The process is represented using circles
and source and destination are represented using squares. The data flow is represented using
arrows. One reader can easily get the idea about the project through Data Flow Diagram.
Report Design
3.4 In output design, the emphasis is on producing a hard copy of the information
request or displaying the output on the CRT screen in a pre-defined format.
Computer output is the most important and direct source of information to the
user. Efficient, intelligible output design improves the system relationship with the
user and helps in decision making.
The output design mainly contributes towards the reports generated for making
the decision .by checking the desired condition, the reports are generated.
TESTING AND IMPLEMENTATION
The goals of verification and validation activities are to access and improve
quality of the work products generated during development is “Are we building the
product right?” and validation is “Are we building the right product?”
Starting from the bottom, the first level of testing is component testing some
time it is called unit testing specified in the component correctly. In theory an
independent tester should do this. But in practice the developer does it as they people
to understand how a component works. The problem with a system, which may not
have been built it. To overcome component is that it performs only a small part of
functionality of a system and it relies on cooperating with other parts of this developer
either built or usesspecial software to make it accurately.
Black box testing is the most important testing to ensure that users of the
application have a flawless and satisfying experience. Because black box testing is to
identifying contradictions in function specification from the user’s perspective, having
a tool that brings efficiency to your testing process is essential.
Testing anywhere gives the power and organization to gain efficiency in the
block box testing, with tools that make test creation and management a breeze for
anyone. Automate the test with intuitive tools that make testing quickly and effective
allowing for quicker development. The purpose of any security testing method is to
ensure the robustness of the system in the face of malicious attacks or regular software
failure.
The white box testing is performed based on the knowledge of how the
system is implemented. White box testing includes analyzing data flow, control flow,
information flow, coding practices exception and error handling within the system.
➢ Top-down integration
➢ Bottom-Up integration
Software once validate must be combined with other system elements. System
testing verifies that all the elements miss properly and that overall system function
performance is achieved. It also tests to find discrepancies between system and its
original current specification and system documentation.
IMPLEMENTATION
The Hardware Sales and Service system developed may be totally new, replacing
an existing system. Proper implementation is essential to provide a reliable system to
meet organization requirements. Implementation is the stage of the project when the
theoretical design is turned into an actual working system.
Main Form :
Student registration:
Hostel management:
Source Code
Login coding
LoginSucceeded = False
Unload Me
End sub
sSQL = "select * from users where username = '" & txtUserName & "'"
txtUserName.SetFocus
SendKeys "{Home}+{End}"
Exit Sub
End if
txtPassword.SetFocus
SendKeys "{Home}+{End}"
Exit Sub
End if
'password correct
frmMain.Show
Unload Me
Exit Sub
Unload frmSplash
Exit Sub
frmStudReg.Show
End Sub
Private Sub Command2_Click()
frmStudRec.Show
End Sub
End Sub
frmHostelMgt.Show
End Sub
DataReport5.Show
End Sub
frmAbout.Show 1
End Sub
End Sub
Private Sub mnuCascade_Click()
Me.Arrange vbCascade
End Sub
frmAddHostel.Show
End Sub
frmBrowser.Show
End Sub
Unload Me
End Sub
frmRptHostel.Show
End Sub
frmHostelMgt.Show
End Sub
frmStudRec.Show
End Sub
DataReport9.Show
End Sub
frmStudReg.Show
E nd Sub
DataEnvironment1.Command4_Grouping
DataReport2.Show
End Sub
DataEnvironment1.Command5_Grouping
DataReport3.Show
End Sub
frmRptHostel.Show
End Sub
Private Sub mnuRptPartial_Click()
DataEnvironment1.Command3_Grouping
DataReport1.Show
End Sub
DataReport6.Show
End Sub
DataReport7.Show
E nd Sub
DataReport10.Show
End Sub
DataReport8.Show
End Sub
DataEnvironment1.Command7_Grouping
DataReport4.Show
End Sub
Private Sub Picture1_Click()
End Sub
CREATE HOSTEL :
cn.BeginTrans
cn.Execute sSQL
cn.CommitTrans
Exit Sub
ErrorHandler:
cn.RollbackTrans
MsgBox "Hostel " & txtHostelName & " not created.", vbInformation
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
With cboSex
.Clear
.AddItem "Female"
.AddItem "Male"
.AddItem "Mixed"
End With
End Sub
txtPrefix = Left$(txtHostelName, 1)
End Sub
Adding room :
sSQL = "select sex from hostelname where hostelname = '" & cboHostels & "'"
txtRoomSex.Clear
txtRoomSex.AddItem "Male"
txtRoomSex.Clear
txtRoomSex.AddItem "Female"
Else
txtRoomSex.Clear
txtRoomSex.AddItem "Male"
txtRoomSex.AddItem "Female"
End If
End Sub
'dim
Create_Room
Unload Me
End Sub
Create_Room
Clear_Fields
End Sub
Unload Me
End Sub
Private Sub Form_Load()
txtRoomSex.Clear
txtRoomSex.AddItem "Male"
txtRoomSex.AddItem "Female"
rsHostel.MoveFirst
cboHostels.Clear
cboHostels.AddItem rsHostel.Fields(1)
rsHostel.MoveNext
Loop
End Sub
Sub Create_Room()
strRoomNumber = Me.txtRoomNumber
intCapacity = CInt(txtRoomCapacity)
strSex = Me.txtRoomSex
Exit Sub
End If
If intCapacity = 0 Then
Exit Sub
End If
Exit Sub
End If
mess = MsgBox("create room entry - number:" & strRoomNumber & " capacity:" &
intCapacity & " members sex:" & strSex & " - in hostel:" & cboHostels.Text & "?", vbYesNo)
Exit Sub
End If
sSQL = "select capacity from hostelname where hostelname = '" & cboHostels.Text & "'"
cn.Execute sSQL
sSQL = "select * from HostelName where HostelName='" & cboHostels & "'"
Cap = CInt(rsHostel.Fields("capacity"))
sSQL = "update hostelname set capacity = " & Cap + CInt(intCapacity) & " where
HostelName = '" & cboHostels & "'"
cn.Execute sSQL
End Sub
Sub Clear_Fields()
Me.txtRoomCapacity = ""
Me.txtRoomNumber = ""
Me.txtRoomSex = ""
End Sub
Table Structure
BRANCH_INFO
FINE_DETAILS
Hostel_fee
Field Name Data Type Size Allow Nulls
Regno Number
name Text 50 False
bcode Number
bname Text 50 False
Hostel_name Text 50 False
Blocktype Text 50 False
roomno Text 50 False
Roomdesc Text 50 False
fees Currency
Hostel_info
ITEM_ALLOC
Page 32 of 40
Field Name Data Type Size Allow Nulls
REGNO Number 50 False
STUD_NAME Text 50 False
HOSTEL NAME Text 50 False
BLOCK NAME Text 50 False
BLOCK DESC Text 50 False
ROOM NO Number 50 False
ITEM NAME Text
ITEM CODE Text
ITEM_DESC
JOIN DETAILS
Page 33 of 40
Date_of _joining Date/time 50 False
Hostel name Text 50 False
Block type Text 50 False
Block desc Text 50 False
Room no Number 50 False
Fees paid Text
Fees_receip_no Number
ROOM _ALLOC
Page 34 of 40
ROOM_INFO
STUD_INFO
VACCATING_DETAIL
Page 35 of 40
Field Name Data Type Size Allow Nulls
REGNO Number 50 False
NAME Text 50 False
HOSTEL NAME Text 50 False
BLOCK TYPE Text 50 False
BLOCK DESC Text 50 False
ROOM NO Number 50 False
ITEM SERVICE Text 50 False
FINE PAID Text 50 False
DATE_OF_DELETING Date/time False
Page 36 of 40
CHAPTER 5 CONCLUSION AND REFERENCES
5.1 Conclusion
While the system addresses many challenges in hostel management, it has certain
limitations:
Limited scalability due to dependency on specific software (VB.NET and
MS Access).
The system is designed for small to medium-sized hostels, making it less
suitable for larger institutions with more complex requirements.
Lack of real-time updates for large data volumes may affect performance.
5.3 Future Scope for Modification
Page 37 of 40
Mouse: Optical
5.4.2 Software Requirements
Page 38 of 40
CHAPTER 6 ANNEXURES
The menu flow diagram outlines the different navigational elements within
the hostel management system. It includes options like Student Registration,
Hostel Management, Room Allocation, and Reports.
Page 39 of 40
A‐2 Data Dictionary
Hostel_Info Table: Contains details like hostel name, block type, room start
and end numbers, number of persons.
Room_Info Table: Stores room-specific data like room number, description,
capacity, etc.
Student_Info Table: Tracks student registration, name, room allocation, etc.
A‐3 Sample Input
Student registration form with fields for name, hostel name, room number,
etc.
A‐4 Sample Output
Generated reports, such as room allocation summaries, student lists, and fine
details.
OOAD (Use Case Diagrams)
Use Case Diagram for Room Allocation: Illustrates how a hostel manager
allocates rooms to students based on their details, available capacity, and
preferences.
Use Case Diagram for Report Generation: Shows how the system generates
reports based on queries from the user.
Page 40 of 40